I am importing a file that has a text column and the value is either null or 'Y'. I am inserting them into a table that has the column defined as a 'Yes/No' datatype. So in my logic I need to convert all values of "Y" to be 'True'.
I am trying to accomplish this by using the following conditional statements as part of my insert statement:
IIf(UCase(rsTem p!new_asset_fla g), "Y", 0) and I also tried, IIf(UCase(rsTem p!new_asset_fla g), "Y", True)
Neither one of these will work, I get an error stating "datatype mismatch". Any suggestions would be appreciated!!
Thanks
I am trying to accomplish this by using the following conditional statements as part of my insert statement:
IIf(UCase(rsTem p!new_asset_fla g), "Y", 0) and I also tried, IIf(UCase(rsTem p!new_asset_fla g), "Y", True)
Neither one of these will work, I get an error stating "datatype mismatch". Any suggestions would be appreciated!!
Thanks
Comment