It should, before you run any update query you can try it with a simle Select
Query
Select [dbo_tblProductversion].[Attachments] ,
IIf([dbo_tblProductversion].[Attachments]="Y",True,False) As NewAttachments
From dbo_tblProductversion
Check the new field values if it answer you question, if it does the change
it to update query
In any case back up your data first
--
Good Luck
BS"D
troy said:
Does this expression look like it would work? I have about 5 fields the same
way. Driving me nuts
IIf([dbo_tblProductversion].[Attachments]="Y",True,False)
Thank you so much for your help!
:
Yes it will replace the Y and N text values to True and False, so you can
update the Yes/No field
--
Good Luck
BS"D
:
I need to find the expression that will show me the results of every record
that has a Y or N in the "Attachment" field that holds the data (the Y or N).
What you gave me will do the trick?
:
Try
IIf([FieldName] = "Y", True , False)
In that case every field that doesnt have "Y" in it will be False
--
Good Luck
BS"D
:
How do you pull data (in a query) from a datatype "text" that is manually
typed in as either a Y or N so I can append or update to another field that
is set up as a Datatype Y/N field? I want to do an update query but dont know
the expression to do this. Can it be done? Can someone help? Thanks in advance