Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select command doesn't select table
Message
 
To
25/01/2005 16:00:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
00979969
Message ID:
00980533
Views:
50
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform