Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datos de Clipper a Visual Foxpro
Message
From
24/08/1999 17:16:23
 
 
To
24/08/1999 17:10:28
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00251304
Message ID:
00257331
Views:
24
>>>Try to use the command "copy to " with the clause SDF on clipper.
>>>Then, create a table in VFP with the same struct that you have
>>>on clipper open it, and issue the command "append from " on VFP.
>>
>>Why not just do an APPEND FROM the Clipper table - with the exception of Clipper indexes, VFP should not have a problem with data files created and maintained by a Clipper application. Clipper may have problems reading DBFs created by VFP (there are differences in the DBF header) but those problems can be handled by COPY TO...TYPE FOX2X
>
>PMFJI: One BIG caveat: Clipper allows character fields of up to, I think, 1024 bytes, which exceeds FP/VFP limits. (That was one way to prevent other xBase users from opening the tables outside of the app...) Beware of that. Otherwise, I think your suggestion, Ed is the easiest way.
>
I'd forgotten about the oversized character field type in Clipper.

If your Clipper file contains character fields >254 characters, you can't export to SDF and create an equivalent import, either - you need to pull the huge character fields in as memo fields, not do-able with TYPE SDF imports IAC, or with simple CSV (comma-delimited) files, either. In that situation, you're probably going to need to write some sort of code, either an ODBC driver that handles the larger character fields, or some sort of line-by-line low-level I/O on an export.

>Rob
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform