Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GOTO a record and set focus?
Message
De
01/03/1998 20:47:10
 
 
À
28/02/1998 16:05:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00081466
Message ID:
00082007
Vues:
30
>>>>>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.
>
>Is cur_rec some kind of independent variable on VFP pointing always to the
>first record on the alias() table??
>
>;->> a novice VFP developer in the making...
>
>Mark Oliva
---
Hi Mark
I use cur_rec like this
cur_rec = recno()
HTH :)))))
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform