Thank you for taking a look.
I originally started with Access2003 frontend and backend. Things worked fine. When my form openned, "(Autonumber)" would be in the ID field. I would type a letter/name in the name field and the ID field would populate with an autonumber. I could click my "NEW" button to carry my ID number and open the next form. The row would insert into the table.
I upsized my data backend to SQL.
Now when my form opens, there is "(Autonumber)" in my ID field, but when i type a letter/name in the name field the ID field goes blank. When I click my "NEW" button, to open the next form and carry the ID number, I get the error "Invalid Use of Null". It appears that SQL is holding an autonumber for me but won't put it in my form until i update the table with the information from the form. For example, if i switch from form view to design view the number appears. Then i can move forward.
The problem is that i need the ID number to continue forward. Can i get this autonumber when the form opens?
has anyone run into this before?
Thanks.
I originally started with Access2003 frontend and backend. Things worked fine. When my form openned, "(Autonumber)" would be in the ID field. I would type a letter/name in the name field and the ID field would populate with an autonumber. I could click my "NEW" button to carry my ID number and open the next form. The row would insert into the table.
I upsized my data backend to SQL.
Now when my form opens, there is "(Autonumber)" in my ID field, but when i type a letter/name in the name field the ID field goes blank. When I click my "NEW" button, to open the next form and carry the ID number, I get the error "Invalid Use of Null". It appears that SQL is holding an autonumber for me but won't put it in my form until i update the table with the information from the form. For example, if i switch from form view to design view the number appears. Then i can move forward.
The problem is that i need the ID number to continue forward. Can i get this autonumber when the form opens?
has anyone run into this before?
Thanks.