Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid/row question
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00599178
Message ID:
00599194
Views:
13
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform