Hi
It's about 2 years since I last had to write a database and I'm having difficulty with something I feel should be very simple..
I have a table called tblNew_Equipmen t
with an AutoNumber field called Equipment_Numbe r
There is a form called frmAdd_Equipmen t
When the Form is opened I want the next number from the table to be displayed in a TextBox on the form.
The form is unbound as there are other things I want there that have nothing to do with the equipment table.
I have tried using the Expression builder to put the table field into the TextBox when the Form is Open or Loaded with no joy. Have tried even opening a Recordset and loading the TextBox with a recordset and that will not seem to work either.
I need the next equipment number to load onto the form ,as the person entering the data needs to produce a sticker that will be attached to the new equipment item for future reference..Cant use serial numbers as there is the possibility of them not being unique.
Many thanks for any assistance.
It's about 2 years since I last had to write a database and I'm having difficulty with something I feel should be very simple..
I have a table called tblNew_Equipmen t
with an AutoNumber field called Equipment_Numbe r
There is a form called frmAdd_Equipmen t
When the Form is opened I want the next number from the table to be displayed in a TextBox on the form.
The form is unbound as there are other things I want there that have nothing to do with the equipment table.
I have tried using the Expression builder to put the table field into the TextBox when the Form is Open or Loaded with no joy. Have tried even opening a Recordset and loading the TextBox with a recordset and that will not seem to work either.
I need the next equipment number to load onto the form ,as the person entering the data needs to produce a sticker that will be attached to the new equipment item for future reference..Cant use serial numbers as there is the possibility of them not being unique.
Many thanks for any assistance.
Comment