balachandar
New Member
Hi,
please help me validate if a field / column exists in the table. Thank u in advance
please help me validate if a field / column exists in the table. Thank u in advance
find _file no-lock where _file._file-name = "customer" no-error.
if available( _file ) then
do:
find _field no-lock where _field._file-recid = recid( _file ) and _field._field-name = "name" no-error.
if available( _field ) then message _file._file-name + "." + _field._field-name "exists".
end.