Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Free table
Message
From
26/12/2000 08:43:37
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
26/12/2000 08:41:31
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00456663
Message ID:
00456800
Views:
24
>
open data myData.dbc
>use original
>add table ReceivedAndTruncated && Add received table to DBC
>use ReceivedAndTruncated in 0
>for ix=1 to fcount()
>  lcFrom = alltrim(upper(field(ix,'ReceivedAndTruncated')))
>  lcTo = alltrim(upper(field(ix,'Original')))
>  IF !lcFrom == lcTo
>     ALTER table ReceivedAndTruncated ;
>	rename column &lcFrom to &lcTo
>  ENDIF
>endfor
>select Original
>append from ReceivedAndTruncated
When done delete ReceivedAndTruncated using 'remove table'.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform