Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with click event of grid
Message
From
26/02/2003 19:09:07
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00757876
Message ID:
00758516
Views:
22
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, 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. Could 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
Next
Reply
Map
View

Click here to load this message in the networking platform