kyletreyfield
Technical User
I have a script that injests data from a webhook. I don't have any control over the field names that come in. The field name contains a dash, which I think VFP is interpreting as a subtraction symbol in the object name so it complains. I'm wondering if there is a workaround. Here is the code:
The problem is on the second line. Anyone have ideas on what I can do?
IF TYPE("loObj2.fields.comments_upload-1_file")=="U"==.f.
STORE loObj2.fields.comments_upload-1_file to upload_file_var
ELSE
STORE "" TO upload_file_var
ENDIF
The problem is on the second line. Anyone have ideas on what I can do?