Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SP and opening tables
Message
 
 
To
07/02/2006 13:20:14
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01094326
Message ID:
01094379
Views:
9
>I'd say that the database is not selected, maybe none is or another database is selected
>
>try this
>
>
>acti screen
>?'database =', set('database')
>assert set('database') == 'THEONEYOUWOULDEXPECT'
>
>&& debug with =adatab(pp), then look in the debugger to see whether it is opened
>
>if not used('System_Parameters')
>  use System_Parameters
>endif
>
>
Gregory,

We're going to try that, but the code is executing from the Stored Procedure! So, why executing code from SP doesn't open that database? Does it mean that we can not rely on SP knowing to take tables from the database SP belongs too? But if that's the case, when we may need to change all code in SP to be more explicit about our tables.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform