Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want to remove all field captins from my database...
Message
From
22/06/1999 17:35:12
 
 
To
22/06/1999 14:23:10
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00232619
Message ID:
00232742
Views:
20
Hi Mike.

>which proves to be a bit more tedious than it sounds but I'm sure it could be done with some replace statements. Would anybody know how to begin?

It's pretty straightforward code, something like:

lnTables = adbobjects(laTables, 'Table')
for lnI = 1 to lnTables
lcTable = laTables[lnI]
use (lcTable) again shared
lnFields = afields(laFields)
for lnJ = 1 to lnFields
dbsetprop(lcTable + '.' + laFields[lnJ, 1], 'Field', 'Caption', '')
next lnJ
next lnI

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform