R
Rico
Hello,
I have a dataset that has an Orders table and an Order details table. There
is a datarelation between the two, but the information inside the dataset
isn't actual order history, it's orders that I'm about to receive, and the
relationship built between the two tables isn't the actual Orders autonum
field from the database but a data column I added myself with the autoincr
attributes set (seed=-1 step=-1)
What I'm trying to do is take that infomation, have the user select which
products are being received with that order, and when they "commit" the
information, I'd like the dataadapter to update the row (even if it's one
row at a time) into the database and get the value of the autonum field that
replaced the -1 or -2 that was in the dataset. Is this possible? If I can
do that then it won't be a problem adding the details into the child table.
Any assistance would be greatly appreicated.
Thanks!
I have a dataset that has an Orders table and an Order details table. There
is a datarelation between the two, but the information inside the dataset
isn't actual order history, it's orders that I'm about to receive, and the
relationship built between the two tables isn't the actual Orders autonum
field from the database but a data column I added myself with the autoincr
attributes set (seed=-1 step=-1)
What I'm trying to do is take that infomation, have the user select which
products are being received with that order, and when they "commit" the
information, I'd like the dataadapter to update the row (even if it's one
row at a time) into the database and get the value of the autonum field that
replaced the -1 or -2 that was in the dataset. Is this possible? If I can
do that then it won't be a problem adding the details into the child table.
Any assistance would be greatly appreicated.
Thanks!