Query Question

  • Thread starter Thread starter carl
  • Start date Start date
C

carl

I have this query...

UPDATE [OCC_Data] SET [OCC_Data].[date] 20110419
WHERE ((([OCC_Data].date)=0));

The query is used to populate the "date" field for each record that
has date=0 (the data source only has the data info in the header and I
discard this line when importing into Access.

Is there a way for the query to prompt me to enter the date ?

Or is there a way to use the header to populate the date field ?

Thank you in advance ?
 
UPDATE [OCC_Data]
SET [OCC_Data].[date] = [Enter Date]
WHERE [OCC_Data].date)=0

Assumption is that your Date field is a number of some type.


John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Another Query Modification Question 6
Query Question 3
Query Question 1
Query Question / 4
#error - Blank 3
Combine Duplicates in Query 0
Using Between Dates in a Query 4
Deleting Rows In a Database 1

Back
Top