Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know if a field exists within a table ?
Message
From
10/05/2000 21:39:52
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00367896
Message ID:
00368390
Views:
21
Hi!

Try FSize("fieldname", "Alias")
if the return value from FSize() is greater than 0 then that field exist's

e.g.

if FSize("customer_id", "customer") > 0 then
? "Field Exist's"
else
? "Field does not Exist"
endif

Sarosh

>Type() doesn't seem to work for a table field.
>
>Is there any other way?
>
>Thanks
>Eric
Previous
Reply
Map
View

Click here to load this message in the networking platform