Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Select query how to add fake column with id field with id's
Please is it possible to get a fake id column in the cursor
I have the table abc
it does'nt have the id field in it(means does'nt have a field with id's(1,2,3,4,5 ...etc)
i want to fill the cursor with id and then the table abc's data
this id field i need to generate it via the select query. if i get 10 records with this query then in the id field it should show(1,2,3,4,5,6,7,8,9,10)
and the the whole result of the query i will fill it to the cursor and show on the form.
Please if anybody knows how to do this, can you please help.
Thank you very much.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement