Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird - long file name?
Message
 
 
To
11/11/2002 12:52:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00721117
Message ID:
00721141
Views:
10
>>>>Hi everybody,
>>>>
>>>>I have a free table BtCritss in Redp\Dbc\Jobs\MetaFiles directory. I created a clone of this table in Redp\DBC\Jobs directory called BtCritssArch and I added it to JobControl database, which is in the same Jobs directory.
>>>>
>>>>Now I'm trying use BtCritss in command window. It gives me an error about backlink (first problem). I free the table and then I see no records. DBF() returns G:\REDP\DBC\JOBS\BTCRITSS.DBF
>>>>However, there is no BtCritss table in this directory, only BtCritssArch. Do you think, that name is too long and VFP is getting confused?
>>>
>>>Why did you get a backlink problem if it was free already???
>>>What does JobControl have to do with this...is it expected to USE the table so that in the Command Window you only have to refer to it by alias? IF so, maybe JobControl is hard-coded to use the specific directory OR maybe JobControl doesn't do an EXACT search and so uses the first table that 'fits' the name given???
>>>
>>
>>I don't know, how does this happen. It would be nice, if somebody can replicate this problem... For now I just renamed BtCritssArch to BtCrArch and the problem went away (I re-added this table to JobControl). May be JobControl database saved incorrect reference, I don't know...
>
>Well it would be hard to duplicate without your JobControl app/tables, wouldn't it?
>Given that a name change 'fixed' the problem, I would suspect the second I suggested above ("...OR maybe JobControl doesn't do an EXACT search and so uses the first table that 'fits' the name given").

I would try to replicate this problem myself, then. I think, you don't need to have same tables and paths. All we have to confirm (or deny) is that if I have a table in the path with one name and I create a table with longer name in another path and add it to some database, it gives a problem.

Ok, I just tried an experiment with XFormDBF and it doesn't give me the same problem.

Also originally I create BtCritssArch table using
use BtCritss
copy to BtCritssArch with CDX database JobControl
May be that was causing this problem...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform