Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to stay in a Row in Grid?
Message
From
25/01/1999 14:04:31
 
 
To
25/01/1999 13:57:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00179756
Message ID:
00179936
Views:
26
>Sorry, I must be wrong in my expressions, it is actually the selection of a row in a grid and not a pointer.
>Because the source of the grid is a cursor, I have to make a new SELECT whenever I want to make a change of a record. It is not normal to try to change a cursor via grid, but it is the way the people work here, and I am new on this project, so I cannot use a view, which would be the more logic (and easier?) way.

It's pretty normal to use cursor as grid.recordsource. If you want to move pointer to particular grid row, it's the same as moving record pointer within the cursor, i.e.
Select Mycursor
Go 5 && if e.g. you want to start with the fifth row
Thisform.Grid.Setfocus
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform