I have 1 table and 2 forms. 1 form for entering main data, i.e. Primary Key, Name, Address, etc. Another form for entering extra information if required.
The first form has a button to open the second form. This works perfectly for any current records but doesn't work for new records. Instead the second form opens as a new record itself.
The where statment only seems to work if the record is not new ????? I've been searching for hours and can't find this problem any where else.
The code i'm using to open the second form is
Expand|Select|Wrap|Line Numbers
- DoCmd.OpenForm "AdditionalInformation",acNormal,,"[FormNumber] = '" & Me.FormNumber & "'"
Any ideas on what could be happening here????
Thanks.