Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PK
Message
From
13/03/2002 06:39:18
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/03/2002 03:45:58
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: PK
Miscellaneous
Thread ID:
00631936
Message ID:
00631960
Views:
25
>I use default value of the table to call a program eg.nextkey.prg to generate the primary key for the table.
>
>I put my program and data into 2 directory eg.sales program and production program.
>
>My problem is when I append a record into another directory table, it will pick up the currect directory nextkey.prg to generate the key. So, how can I force the table to pick it's own nextkey.prg?
>
>TIA.

Put nextkey as a function to its database (stored proc).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform