Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grid blanks out when exe is moved

Status
Not open for further replies.

Takusaan

Programmer
Sep 20, 2000
29
US
I have created an application which its main form has a grid. Everyting works fine when the executable is ran from the development directory. but when copied to another directory an ran from there, the grid just blanks out.
can anyone help?
 
Hello.

Verify, please, where is the table used as recordsource for the grid. The 'blanking' of a grid is always result of lost recordsource table, using a 'PACK' command or removing it from the directory. It is possible (if you have code in the Error method) to VFP to ignore the error.

Hope this helps.
Grigore Dolghin
 
You might be a victim of the "data environment".

In your form's INIT event set the grid record source property programatically. Good Luck!

-Pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top