Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with click event of grid
Message
De
26/02/2003 19:09:07
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00757876
Message ID:
00758516
Vues:
25
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform