I have vb6 and i am connected to a sql server 7 database through the data environment. What i want to do is when I add a new record in VB I want to have a function which goes out to the sql server and checks a certain field (say an ID field) and gets the max record of that field and adds an increment of 1 to the text box. I.e so if there is 7 in the id field i want the text box to populate with 8. Thanks
JPBinary
MCSE, MCSA
JPBinary
MCSE, MCSA