Update Query in Access 2003

bluenose83

New Member
Joined
Aug 6, 2008
Messages
41
Hi Guys

Not sure if this is possible but ill have a go throwing it out there.

I have a very simple database with one table. A team goes into the database each day, keys in a date from, date to and the query checks we have no information in a certain column. This query then shows all the records that match that date with an empty column.

They then send this data to another team and in the empty column, they key the date and their initial. As they can have hundreds of these a day, I thought i could get a update query to work and it would update all the information for them.

So in the results I have a database reference number so they can see what records to update. They key into a DB Ref From box and then a DB Ref to Box. I then have another text box underneath this with their comment (eg 30/01/2020 ms)

So in my Update query so far I have in first column

Field - DB_REF
Table - Tbl_data
Criteria - >=[Forms]![Search Results]![DBREF_From] And <=[Forms]![Search Results]![DBREF_To]

I also have in second column

Field - Expr1: [Forms]![Search Results]![Comments]
Update To - [ColumnNameInTheTable]

This gives me Cannot update 'Form........Field not updateable.

Have I gone totally wrong?

No code in this database as I dont really have a clue but does it need to be coded in?

Cheers guys
Matt
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Not much useful info there. Showing something like the criteria of a query and asking why it doesn't work is like showing a big toe and asking what's the shoe size for it ;)
Maybe this will provide a clue for you...
 
Upvote 0

Forum statistics

Threads
1,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top