Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Perplexed
Message
From
09/09/1998 21:27:53
 
 
To
09/09/1998 21:25:15
Rick Clarke
Fotobae Pty. Ltd.
Adelaide, Australia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00134874
Message ID:
00134877
Views:
13
Hi Rick ---

Try putting a Grid.Refresh() in the Init event of the form



>
>I have completed a program and am almost ready to make setup disks BUT there is one little bug I cannot get by brain around even though I belive the answer is simple.
>
>When I run the menu.mpr file in Fox Enviro. and select the form I want, my Grid displays the results I expect.
>
>When I compile an .exe, place it in the distribution directory ready to (WIZ setup) I select the menu item for the first time after entering the program then hit search to fill grid. Problem is nothing displays in the grid first time round.
>
>A record count is displays correct No.
>
>If I set a filter to .F. I can force this error. I do not have any code like this though. I cannot understand why I can exit and re-enter the form a second time and get the results in the grid as expected.
>
>P.S I am not using a select to fill the grid, just set key and set filter!
>
>Can anyone point me in the right direction.
>
>Thanks heaps.
>
>Rick
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform