Using Access 2002. I am trying to use a value in a table (not used by a form) to generate a value in another table that is used by the form.
DoCmd.GoToRecord , , acNewRec
NextComplaintNum = Me!CompNum!Next_Complaint_Number
RightYear = "1" + Right(Year(Now()), 2) + "-"
The number starts with a 1 and the last two numbers of the current year (eg. 110) followed by a hyphen. That is the RightYear variable. The next part of the number comes from a table called CompNum and uses the Next_Complaint_Number value. How do I use
the value in that field?