ZAA_ should not cause any conflict, I guess, or ZAAZ_ ? I really envy your initials. :-)
>>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
>>>>>
>>>>>
>>>>>
>>>>>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