Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why does this generate an invalid dbc?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00192535
Message ID:
00192694
Views:
18
>Ok, I boiled it down to a textbook example of a parent child relation:
>
>
>create database FooBar
>
>create table Foo ( cFooKey c (6) not null primary key )
>create table Bar ( cBarKey c (6) not null primary key,  cBarFoo c (6) )
>alter table Bar add foreign key tag cBarFoo references Foo
>validate database
>
>
>and it still fails! What is the best way for me to officially report this?
>
Try:

create table Foo ( cFooKey c (6) not null primary key )
create table Bar ( cBarKey c (6) not null primary key, cBarFoo c (6) )
alter table Bar add foreign key cBarFoo tag cBarFoo references Foo tag cFooKey
validate database
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform