Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to avoid VFP messages with DBC
Message
From
17/10/2002 15:37:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
How to avoid VFP messages with DBC
Miscellaneous
Thread ID:
00712547
Message ID:
00712547
Views:
66
Hi,

I have this little code, when I run it, VFP7.0 prompts a message
which I don't want, since its straith forward what I am intending to do.

The table could be and "old" table too, but copatible with VFP as a free table. When it comes to be 'added' to the DBC, another prompt comes up.

Should I use a sort or trigger to supress the messages, what could it be?,
and how could it be avoided in the trigger?, or should I use another method
of adding tables to a DBC?, I couldn't find any documentation or resolution
to avoid the messages.

Has anyone got the same situation? and how it was resolved?


Thanks in advance!

CREATE DATABASE mydbc1
CREATE DATABASE mydbc2
SET DATABASE TO mydbc1
CREATE TABLE table1 (cField1 C(10), n N(10)) && Adds table to mydbc1
CLOSE TABLES && A table must be closed to remove it from a database
REMOVE TABLE table1
SET DATABASE TO mydbc2
ADD TABLE table1
RENAME TABLE table1 TO table2
Next
Reply
Map
View

Click here to load this message in the networking platform