Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with click event of grid
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00757876
Message ID:
00758518
Views:
20
Thanks for you reply,

I'm sorry if I was unclear, basically the problem i'm having is populating the text boxes when I click on a cell in the grid. It seems to work fine the first time. I can view the information from the grid in the text boxes, where I can edit, delete or add new records, but when I click on a different date on the OLEcontrol(calendar) and the grid is updated with new information, the click on the grid doesn't populate the text boxes. However, the correct record is being pointed to by the record pointer, as I can view it at the bottom of the page. Could or should I use recno() somehow to populate the text boxes?

Within the calendar, I use an SQL query, which is stored using the code
"INTO CURSOR tempTable NOFILTER", I then set the recordsourcetype for the grid = 2, and the recordsourcetype = tempTable. This populates the grid with the correct information.

If this is still unclear i'll give more information and some of my code. I am only familiarising myself with Foxpro so i'm sorry if my problem seems easy!

Is there another way to populate the text boxes from clicking on a piece of information withing the grid? If the methods I am using are wrong, any suggestions would be welcomed. Thanks in advance.

Cheers,
Mick.
Previous
Reply
Map
View

Click here to load this message in the networking platform