I need a help. am having problem coding in vb.net. I have created a field which automatically in sql server.
I want a code in vb.net so that user the text on the get focus, the automber would display the current no on the form.
This autonumber is primary key in table1(tran_head) and as foreign key in table2(trans_Detail).
I want another so that when the data is saved, it would automatially update the second table with current automber displayed.