471,330 Members | 1,251 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

Disabling Autoinc

Not sure if this is the right newsgroup but ..

I have a DataSet and write the tables to xml files.

Now some of these tables have an Autoinc field as PK, but due to
deletions etc, they do not start at 1 and there are gaps.

When I read these files into an empty dataset, the rows are marked as
'Added' and when I update the ds, the id's start again at 1+.

This craps out links to other tables.

Is there a way of telling the dataset not to use the autoinc ?
Apr 10 '08 #1
0 868

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Vaishali | last post: by
3 posts views Thread by PB | last post: by
1 post views Thread by Matt Van Mater | last post: by
2 posts views Thread by graeme g | last post: by
7 posts views Thread by Varangian | last post: by
5 posts views Thread by jehugaleahsa | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.