Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto create code for the primary key in a multi-table vi
Message
From
04/10/2006 03:17:29
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
 
 
To
04/10/2006 00:40:21
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01159218
Message ID:
01159236
Views:
15
This message has been marked as the solution to the initial question of the thread.
Hi,
Why not set the PK field to Integer (Autoinc)

>Hi friends,
>
>Could someone tell me the code for auto-creating an unique incremental code in
>a primary key on the main table within the view's coding framework itself?
>
>This is so that when a new record is appended, it comes with a unique id automatically.
>
>I seem to be having some problems doing so from with the view's code.
>
>Thanks a lot.
>
>With best regards,
>
>Steve.
Regards N Mc Donald
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform