R
Regi
I have a table called A028 CMF2. In that table I have a fields called Job#,
Sub Task and Fee Pct.
An amount for the Fee Pct comes over from another system but it is only on a
Job#'s main task. I need that Fee Pct to be copied on to the Job#'s Sub Task.
See below.
Current read out
Job# Sub Task Fee Pct
1188 200 13.00 (main task)
1188 210 0.00 (sub task)
1188 220 0.00 (sub task)
Desired read out
Job# Sub Task Fee Pct
1188 200 13.00
1188 210 13.00
1188 220 13.00
I asked this question previously and was told to run an Update Query using
Dmax. I tried it but got a conversion error, key violation, lock violation
and validation rule violation. Can someone see what I'm doing wrong?
UPDATE [A028 CMF2]
SET [A028 CMF2].[Fee Pct] = DMax("[A028 CMF2]![Fee Pct]","[A028 CMF2]![Job#]
=" & [A028 CMF2]![Job#]);
I'm new to update queries and DMax.
Thanks, Regi
Sub Task and Fee Pct.
An amount for the Fee Pct comes over from another system but it is only on a
Job#'s main task. I need that Fee Pct to be copied on to the Job#'s Sub Task.
See below.
Current read out
Job# Sub Task Fee Pct
1188 200 13.00 (main task)
1188 210 0.00 (sub task)
1188 220 0.00 (sub task)
Desired read out
Job# Sub Task Fee Pct
1188 200 13.00
1188 210 13.00
1188 220 13.00
I asked this question previously and was told to run an Update Query using
Dmax. I tried it but got a conversion error, key violation, lock violation
and validation rule violation. Can someone see what I'm doing wrong?
UPDATE [A028 CMF2]
SET [A028 CMF2].[Fee Pct] = DMax("[A028 CMF2]![Fee Pct]","[A028 CMF2]![Job#]
=" & [A028 CMF2]![Job#]);
I'm new to update queries and DMax.
Thanks, Regi