Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid/row question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00599178
Message ID:
00599194
Vues:
14
This message has been marked as the solution to the initial question of the thread.
>Sergey,
>
>When I try your command I get a "syntax error". Does the column1 need to be named as customer_id? Also note that the grid record source is a select statement into a cursor. Here is the exact line that is erroring.
>m_recordid = EVALUATE(thisform.grid1.RecordSource + ".customer_id")
>
>Thanks,
>
Hi Nancy,

The code I proved was for the case where RecorSourceType is an alias. In your case you have to use cursor name from Select
m_recordid = mycursor.customer_id
The customer_id is a field name in the cursor and has nothing to do with any column name. Remember that you are working with grid's underlying cursor directly.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform