Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blah' is not an object
Message
From
30/10/1997 16:22:06
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00056545
Message ID:
00057483
Views:
34
>>I had a table, provided to me, called 3CHAR, which was a table to de-code >3-char station names to their full names. >>As is my custom, I coded the file name as the alias on the USE statement. >>The program would work for a while after issuing this USE, accessing >records and all, but later would fail trying to access the file. All USEes >to "close" files were in the clean-up, so it was not being closed >prematurely. >> >>Turned out that FPW did *NOT* like the first character of an alias being a >numeric. Never complained, but did seem to ignore it. > >Wow, sounds like you were on your own in figuring that one out. That's logical, in a way. Alias name must conform to rules for variables' names, so it can't begin with a digit, and can contain nothing but 0-9, a-z (a-¾ in my case) and underscores, while rules for filenames are more liberal. A table name may contain a hyphen, but its alias must not, else it would be treated as a minus sign; it may contain an exclamation sign but that would be part of database!table syntax which may well confuse the parser, etc etc. Whenever you try to make an illegal alias, you get some default alias - it's either a single letter (A-L, N-Z for the first 25) or Wxxx (xxx being the workarea number, for the others).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform