Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SP and opening tables
Message
De
08/02/2006 02:27:12
 
 
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:
01094554
Vues:
6
>>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.

Nadya,

Your first message said that the problem occurred after some changes of yours. So I guess there's a problem with the changes you've made. I would look there first since it used to work, didn't it ?
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform