Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid behavior only works once ???
Message
 
To
03/01/2005 08:25:26
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
MySQL
Miscellaneous
Thread ID:
00973249
Message ID:
00973934
Views:
32
Albert,

I suspect that you are not actually releasing the form when you're finished with it, but rather just hiding it. Therefore the second time, things aren't being initialized the way you think they are. You should check _screen.formcount or the _screen.forms collection after you're done with the second modal form to see if it's really gone.

>Hello Marcia
>
>Yes !! This is the standard in all my forms since 3-4 years.
>at init: thisform.l_cursor = "orderrecords"
>
>all search buttons do:
>Thisform.grid1.recordsource = " "
>l_sql = "select ........ "
>sqlexec(connection,l_sql,(thisform.l_cursor))
>Thisform.grid1.recordsource = (thisform.l_cursor)
>
>Until now there were no problems!!!
>This is my first try with VFP 8.0
>I'll try your suggestion, but changing all my forms would be endless work.
>
>Thank you
>Albert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform