Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verify if a field already exists in a table
Message
From
06/07/2007 12:34:23
 
 
To
06/07/2007 12:27:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01238247
Message ID:
01238252
Views:
18
AFIELDS (laFields, "MyTable")

IF ASCAN (laFields, "MyFieldName", , , 1) = 0
   *-- Create the field here
ENDIF
HTH

>How can I verify if a field already exists in a table?...
>Need to create it if doens´t....
Previous
Reply
Map
View

Click here to load this message in the networking platform