Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incremental Values and CursorAdapters
Message
From
23/03/2004 07:58:24
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00888583
Message ID:
00888805
Views:
9
>This is in relation to my post under Client/Server. I'm still new to SQL Server so the suggestion I was given isn't yet in my ability to do in a reasonable timeframe. Does anyone know if you can set a field to be incremental in a CursorAdapter's Cursor Schema property if on the backend (in this case SQLServer) the field isn't Incremental but still an int?
>
>Such as:
>
>Field1 C(10), Field2 C(3), Field3 I AutoInc Nextvalue 1 step 1, Field 4 C(5)....
>
>
>TIA
>Richard

I don't think so. However you could cheat creating a cursor with autoinc value and inserting into it first. Then get the inc'ed value from it.
PS: i don't have an idea what would you do with such a value.
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