L
Lynne
Hi All
I have a problem which I'm hopeing someone can help me with.
We have a database which has been working for years. The main form when
opened, gives an autonumber for a new record - also been working for years.
I have been tasked to add 3 separate addtional fields to the table and
subsequently to the form.
I set up just one to check - field called xyz. but when I add xyz which is
just a memo field to the form, then click on form view, I have an error to
say that the variable is not defined for the on open expression.
On investigation for the on open expressions, I have the following in the
code section.....
Private Sub Form_Open(Cancel As Integer)
DoCmd.GoToRecord acDataForm, "NonConformance details", acNewRec, 1
'When the database is opened this runs automatically and opens the data
entry form at a new record (snazzy eh!)
End Sub
I have not touched this section, it was written several years ago and been
working fine.
Could someone please point me in the right direction.
Thanks ever so much
Lynne
I have a problem which I'm hopeing someone can help me with.
We have a database which has been working for years. The main form when
opened, gives an autonumber for a new record - also been working for years.
I have been tasked to add 3 separate addtional fields to the table and
subsequently to the form.
I set up just one to check - field called xyz. but when I add xyz which is
just a memo field to the form, then click on form view, I have an error to
say that the variable is not defined for the on open expression.
On investigation for the on open expressions, I have the following in the
code section.....
Private Sub Form_Open(Cancel As Integer)
DoCmd.GoToRecord acDataForm, "NonConformance details", acNewRec, 1
'When the database is opened this runs automatically and opens the data
entry form at a new record (snazzy eh!)
End Sub
I have not touched this section, it was written several years ago and been
working fine.
Could someone please point me in the right direction.
Thanks ever so much
Lynne