Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid - data transfer
Message
 
To
12/07/2000 14:59:34
Tina Levensky
Siegfried, Crandall, Vos & Lewis, P.C.
Kalamazoo, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00388924
Message ID:
00391477
Views:
10
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform