Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Autoincrementing according to sample
Message
From
02/10/2001 08:54:12
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
02/10/2001 08:34:12
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Netherlands
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00562909
Message ID:
00562930
Views:
23
>Hello Cetin, thanks for your reply.
>Indeed I was talking about newid(). I copied the code from VFP (incl ids.dbf table1/2.dbf en the storedprocedure) wich worked fine, until I tried to add a third table to it. I now still can append blank on table1 and table2 (the copied tables) but not on table3 wich has the exact same fields, type, widths and index as one of the copied tables (for example table1.dbf).
>I hope you can help me some more with this.

OK now IC Victor. In VFP sample code if tablename is not in ids table it doesn't add it automatically. Go and add your tablename there first with a nextid of 1.
If that doesn't help I could post you my version of NewId.
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
Next
Reply
Map
View

Click here to load this message in the networking platform