Re: UPDATE QUERY PLEASE HELP!
- From: "Van T. Dinh" <VanThien.Dinh@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 29 Apr 2006 10:06:35 +1000
I explained the problem with the Update SQL in the orginal thread: you are
doing a Boolean-value comparison on the Field [Attachments] and then
assigning a Text value to the SAME Field. The Field [Attachments] canNOT be
of Boolean type and Text type. Thus, the database engine will give you an
error every time.
In the Select SQL, the IIf expression is a Calculated Value only (not being
forced back to the Table Field) so its type is not important.
--
HTH
Van T. Dinh
MVP (Access)
"troy" <troy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5535D4DE-DED6-42FE-80B2-63E3F4EED779@xxxxxxxxxxxxxxxx
Thank you very much for your time and effort. For some reason it still
will
not work. I took your SQL and just tried to add on filed with the
expression
and I received the same error. It is a simple expression that works time
and
time again.
Attachments: IIf(dbo_tblProductversion.Attachments=-1,"Y","N"), but for
some
reason it will not allow me to continue adding the table where this
expression came from. Only in the update query. Do you believe this?
Thanks
agai for all your time. I will mess with it somemore. It is something I
hae
to get done. Take care
.
- References:
- Re: UPDATE QUERY PLEASE HELP!
- From: Tom Ellison
- Re: UPDATE QUERY PLEASE HELP!
- From: Tom Ellison
- Re: UPDATE QUERY PLEASE HELP!
- From: troy
- Re: UPDATE QUERY PLEASE HELP!
- From: Tom Ellison
- Re: UPDATE QUERY PLEASE HELP!
- From: troy
- Re: UPDATE QUERY PLEASE HELP!
- Prev by Date: Re: Access should have design view for nested queries
- Next by Date: Re: How do I copy a query for each record in a table
- Previous by thread: Re: UPDATE QUERY PLEASE HELP!
- Next by thread: New to queries: parameter query with dropdown box?
- Index(es):
Relevant Pages
|