R
Regi
I'm trying to run the following Update Query for Table CMF3. When I run it it
looks OK and tells me it is about to update the correct amount of rows. Then
I get an error for type conversion failure. (My goal is to get the Fee Pct
amount into the spaces where it is 0.)
I realized from looking at the error that problem are rows where there is a
letter in the field for either sub task or Job# (1188-01A) Both the Sub Task
field and Job# are Text fields. What do I need to do to get this to work?
UPDATE [A028 CMF3] SET [A028 CMF3].[Fee Pct] = DMax("[Fee Pct]","A028
CMF3","[Job#] =" & [A028 CMF3]![Job#])
WHERE ([A028 CMF3].[Fee Pct]=0 Or [A028 CMF3].[Fee Pct] Is Null) and "[A028
CMF3.SUB TASK] <>'000'";
CMF3 Table
Task Sub Task Job# Fee Pct
1188 000 1188-000 13
1188 001 1188-001 0
1188 01A 1188-01A 0
Thanks, Regi
looks OK and tells me it is about to update the correct amount of rows. Then
I get an error for type conversion failure. (My goal is to get the Fee Pct
amount into the spaces where it is 0.)
I realized from looking at the error that problem are rows where there is a
letter in the field for either sub task or Job# (1188-01A) Both the Sub Task
field and Job# are Text fields. What do I need to do to get this to work?
UPDATE [A028 CMF3] SET [A028 CMF3].[Fee Pct] = DMax("[Fee Pct]","A028
CMF3","[Job#] =" & [A028 CMF3]![Job#])
WHERE ([A028 CMF3].[Fee Pct]=0 Or [A028 CMF3].[Fee Pct] Is Null) and "[A028
CMF3.SUB TASK] <>'000'";
CMF3 Table
Task Sub Task Job# Fee Pct
1188 000 1188-000 13
1188 001 1188-001 0
1188 01A 1188-01A 0
Thanks, Regi