Parameter Query No Results - Needs to Auto Create Record
Not in a query. If you are using a form, you can do things there (with VBA)
to go to a new record and populate it with some data based on the value of the
parameter.
John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County
JudyKemp wrote:
I have a parameter query works as long as there are related records in the
tables. My problem is I when the query results are "null" or no records
exist I want the query to automatically create a new record based on the
parameter input. Is this possible?
Example:
[CustomerID] criteria shows Like "*" & [Enter Customer ID:] & "*"
If this is a new record for this Customer my query returns no values. I
want the query to automatically create a new record for this Customer or show
all records related.
Your help is GREATLY appreciated!
|