Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View returns zero results in compiled EXE
Message
From
27/01/2009 17:18:17
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01377358
Message ID:
01377545
Views:
22
>>I have a fairly complicated view that works properly when running the program within the VFP environment.
>>When compiled to an EXE and all files copied to another drive, the view returns zero results.
>>Other views in the EXE work properly, and manually executing views from on the new drive returns proper results.
>>I've validated, packed and recompiled the database and project. Any suggestions of what/where to look to find the cause?
>
>Are you sure that the SET ANSI and SET DELETED settings are the same in EXE and IDE ?

Yes, I copied my config.fpw and foxuser along with everything else.

I started tracing through the code, getting to the passed view parameters that returned zero records. When I took out debugging code in the requery, it started working again. That's odd because if Requery() is to blame, the other view shouldn't have worked either...

Pencilling this one as 'mysteriously resolved' and hoping it doesn't mysteriously break again.
Previous
Reply
Map
View

Click here to load this message in the networking platform