Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need help with table tags and database
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00049274
Message ID:
00049282
Views:
50
>Hi all,
>I have problem I can't solve. I have a local version of program, wich works ok. The problem appears when I'm recreating database of clients. I have to zap the table, and append all new records. Then I delete all tags and recreate them from scratch. Then it all works ok. I copied all the files on network drive, and did the same. When I quit and rerun program, it stop b/c of invalid database, and some of tags are not in database. I have to manually validate database and add all tags in it. What's the problem? I don't get it. VFP 3.0b Prof

Hi Dezider,

Assuming
1. that your network drive has a different letter than your local drives (hmm, not really stretching my neck here ...),
2. that both you local drives have the same drive letter,
3. that your program does not reside on the network, and that you do not specify drives but set the directory,
4. that you implicitly open the database (.DBC) in one of your forms,
5. and that some of your tag keys are based on fields that have more than 10 characters,

I'd say that if possible, I'd recompile in the final configuration and hope that everything settles.

The problem is (I think) that one of your forms keeps the full path of your .DBC, thus bases itself on the .DBC in your development directory, and the system somehow gets mixed up and decides that there is no .DBC, and thus does not recognize fields with more than 10 characters.

My policiy (inherited from 2.6) is to keep the directory in which I will install the data in a kind of .INI file, and open the dbc and the tablel explicitely.

HTH,

Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Reply
Map
View

Click here to load this message in the networking platform