I'm guessing that you clicked the lower specify button and used the calculation option to specify "WorkDetail::_fkJobId" as the expression producing the value you want to use in the Replace operation.
Instead, click the upper specify button for this step and select WorkDetail::_fkJobId. Use the lower button to specify GLOBALS::gDefaultjobID and now this will work. You can remove the Set Field step as it will not be needed here.
(Set field does not place the cursor in the field it specifies as the target field, thus Replace Field Contents most likely is tripping this error because no field on the layout has the needed focus. Using the options I am recommending avoids this issue by pointing Replace Field Contents directly at the needed target field.)
I had my specify button correct and was using the method of "current contents"; thus the Set field stuff. I thought about getting to the first record but "assumed" that Set field placed the cursor. Guess I better do some more reading!
The beauty in all of this is that your Replace method works perfectly and with less steps.
THANKS AGAIN, Phil! (I wish you a prize for every time you've helped someone out!)
Now if I can only keep from replaceing every field in my database with the date "07/17/2011"
That certainly shouldn't be needed. Exactly what are you trying to do and why?
Just a silly joke, but Replace reminds me of the time long ago when I first had to use Microsoft Access.
I did something very close to replacing every field in every record with some undetermined value as I was trying to figure out how that program worked!
At least everything here is working fine. Thanks!