Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SP and opening tables
Message
 
 
À
07/02/2006 13:20:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01094326
Message ID:
01094379
Vues:
8
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform