Hello everyone. I'm doing this in access '97.
I am using the following code to open a form to a specific record.
DoCmd.OpenForm "sbfrmActionItems", acNormal, , "[RFQNumber] = '" & Me![RfqNumber] & "'"
This works fine but if a record doesn't exist I want it to create a new record with the specific RFQNumber(Me![RFQNumber]). How can I accomplish this?
Thanks in Advance,
Jason McElhaney
I am using the following code to open a form to a specific record.
DoCmd.OpenForm "sbfrmActionItems", acNormal, , "[RFQNumber] = '" & Me![RfqNumber] & "'"
This works fine but if a record doesn't exist I want it to create a new record with the specific RFQNumber(Me![RFQNumber]). How can I accomplish this?
Thanks in Advance,
Jason McElhaney