Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select command doesn't select table
Message
 
À
25/01/2005 16:00:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
00979969
Message ID:
00980533
Vues:
49
>Hi Zakaria,
>
>my rule of thumb is to always prefix my own defined constants with my a prefix I never use elsewhere, personally I use TB_ .
>

Hi Tore,

I was already thinking how I could prefent this. Thanks for the tip, I'll implement that.




>>>Is table still open with alias policy but not selected or it's closed?
>>>
>>>>>What's the real name of the table? If the table name includes illegal characters than alias it's open under will not be the same as table name.
>>>>
>>>>AFAIK the real name of the table doesn't include any illegal character (BTW what are those illegal characters). I have included a .h file in the program with the fullpath to a table :
>>>>
>>>>#define unitlinked "h:\general\2004\blryear.dbf"
>>>>
>>>>In the program I do then :
>>>>
>>>>
>>>>use unitlinked in 0 alias "policy"
>>>>use reinsurance in 0
>>>>select policy && doesn't select table
>>>>
>>>>
>>>>
>>>>So my previous post wasn't complete....sorry for that.
>>>>
>>
>>I found that "policy" was also defined as a constatant in my included file. So that is the reason why it doesn't select the table I wanted.
>>
>>Thanks both of you for your time
Zakaria al Azhar
My blog on Actuaris.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform