Mark,
I am sooo sorry.... I modi'd the structure and went down to the field name and hit the "end" key and found that there was an "er" on the end of "currentnumb", that didn't show. This table came with the framework otherwise I would have known what I named the field. I know, I know...I am just trying to make an excuse for my stupidity.
Thanks again,
Paul
>Well, that's a puzzler.
>What happens if you issue the REPLACE command without the SCAN..ENDSCAN ?
>
>>Hi Mark,
>>
>>I checked and there aren't....
>>
>>Paul
>>>Paul,
>>>Since you've got a long field name, you must be in a DBC. Check if there are any validation routines specified for the field.
>>>
>>>Mark
>>>
>>>>I have the following code:
>>>>
>>>>
>>>>use generatepk exclusive
>>>> SCAN
>>>> REPLACE gpk_currentnumb with 0
>>>> endscan
>>>>
>>>>
>>>>I get the error "Variable "GPK_CURRENTNUMB" is not found.
>>>>
>>>>This field does exist in the generatepk table. I even put a list stru right before the scan command and it shows that gpk_currentn... does exist.
>>>>
>>>>any ideas?
>>>>
>>>>Thanks,
>>>>Paul