It seems there is nothing wrong in your SQL statement itself, but the
inter
tables relations may not allow your fields to get the assigned values. As
example, if a field is obliged to get one of the values "Jan", "Feb",
"Mar"
(from a relationship), then, you won't be able to assign it the value
"Apr"
and if you try, the record won't be updated.
Another possibility is that the record is updated multiple time (which is
possible if the join find multiple matches) and so, will keep only the
last
modification. A little bit like:
Public Sub Foo()
Dim A as Integer
A=1
' and later
A=2
' and later
A=1
End Sub
And it happens that the last update done in your field is the initial
value!
So, the update seems to NOT work, but it does... not the way you want
though.
That is why using a SELECT rather than an UPDATE could help you to
diagnose
the problem: Is the record to be updated appears only once? are the
values
updating the field, from the other table, are the right values you
intended?
Vanderghast, Access MVP
TotallyConfused said:
Yes, the only field that is getting updated in the main table is update
field
with the current date. Why are my other fields not updating? Contact
field
is a text field and Sent is a date field. What is wrong witht the SQL?
:
Furthermore, from the user interface (query designer), if you change
the
UPDATE query to a SELECT query (from the user interface), are the
fields
from [Main Trckg] with the right (and acceptable, ie, not null) values
?