Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid - data transfer
Message
 
À
12/07/2000 14:59:34
Tina Levensky
Siegfried, Crandall, Vos & Lewis, P.C.
Kalamazoo, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00388924
Message ID:
00391477
Vues:
11
>I am just about losing my patience here. I understand the second method you gave me, but with the first one (using a modal form), I'm missing or not understanding the variables.
>
>This is what I did:
>When I call the search form - DO FORM Searchgrid TO InfoundRecno
>In Searchgrid - Init Event - form.nRecno=0
>In the InGrid class when record found - thisform.nRecno=myfoundrecord
>Searchgrid - Unload Event - RETURN thisform.nRecno
>
>I'm messing up the variables somehow I'm sure. But this is the method I would like to use.

I am syre you added the custom property nRecno to SearchGrid form.

May be here? :
thisform.nRecno=myfoundrecord

I mean that thisform.nRecno = RECNO() && the record number of the found record.
Anyway you can easily trace the code execution in all those places and see what is wrong with the variables.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform