Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to click on Grid to pick record?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to click on Grid to pick record?
Divers
Thread ID:
00031037
Message ID:
00031037
Vues:
83
Hi,
My form has a textbox and a grid. It's a lookup screen for racehorses. When the form displays, the textbox is blank and the grid is at the top of the table showing the first few records.
Let's say I'm looking for "Secretariat". I enter "Secre" into the textbox. When the textbox loses focus, it's codepage does a SEEK for "Secre" and displays the first hit and a few of the next records:
Secreta
Secretarial Queen
Secretariat
etc.
The record pointer in the table is currently sitting on "Secreta".

Now, I want to click on "Secretariat", release the lookup screen, and refresh the parent form.

I assumed that clicking on "Secretariat" would move the record pointer but it doesn't! The parent form refreshes with the record pointed to from the SEEK, "Secreta"

How do I get the click event on Text1 of Column1 in the grid to also move the record pointer?

Thanks!
John Morga
John Morga
Sr. Manager Information Systems
Applications Development Group
Systems Engineer
Telephonics Corporation
http://www.telephonics.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform