Control Source on a form

verdes

Registered User.
Local time
Today, 05:25
Joined
Sep 10, 2012
Messages
49
I'm using access 2007

I have 2 unbound form controls that I've assigned values: one is a price field that I assign a value to the control source property using:
= DLookup.....
The dlookup works correctly.

The other field's (cost) control source is calculated:
= price * quantity

The calculation works fine.

Problem is the form is a datasheet and the user can add new records.
how do I keep from getting the #Error on the new row of these 2 fields?
 

Users who are viewing this thread

Back
Top Bottom