T
Trevor
Hey,
I have a working front end to a northwind database but
when i add a row, i add the productID field as null so
when i try and update it, i get an error, but if i click
add then then close the program and then start it again
it will give it a unique number (next in the sequence).
How can i get it to automatically add a unique number
(next in sequence) when i click on add.
i have this code for the productID text.
oDR("ProductID") = txtID.Text = "0"
Can i just add a refresh command somewhere?
If so what format do i use.
Thanks
I have a working front end to a northwind database but
when i add a row, i add the productID field as null so
when i try and update it, i get an error, but if i click
add then then close the program and then start it again
it will give it a unique number (next in the sequence).
How can i get it to automatically add a unique number
(next in sequence) when i click on add.
i have this code for the productID text.
oDR("ProductID") = txtID.Text = "0"
Can i just add a refresh command somewhere?
If so what format do i use.
Thanks