Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GOTO a record and set focus?
Message
 
À
26/02/1998 14:10:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00081466
Message ID:
00081499
Vues:
28
>>>I am using a GRID. I want to GOTO a particular record and set the focus so the cursor blanks on the first field on this record.
>>>My code is:
>>>goto cur_rec
>>>what do I do here?
>>
>>GOTO cur_rec
>>THISFORM.myGrid.Column1.SetFocus
>---
>Hi Colin and Ed
>THISFORM.myGrid.Column1.SetFocus sets the focus to the first record
>and not the current record.

I agree with Ed. Check the value of cur_rec against RECNO() of grids RecordSource. They should match.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform