Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What would take precedence?
Message
From
23/04/2009 12:58:11
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01396091
Message ID:
01396101
Views:
122
This message has been marked as the solution to the initial question of the thread.
>Hi Craig,
>
>I checked the line of code in Call Stack and it says do co_item with ....
>
>So, it it supposed to call prg but it calls SPR instead.
>
>Any ideas of how to fix it (of course, we can add do Co_item.prg, I guess)?
>
>>It's been a while since I worked with 2.6, but if I remember correctly, you had to specify .spr or .mpr to run them, so DO MyProg will will the .prg. To run the .spr, you use DO MyProg.spr or for the menu DO MyProg.mpr.
>>

My impression is that it's a matter of whatever's in the cache getting executed when you don't indicate otherwise. Add the extension.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform