Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Transfering information into a Paradox Table

Status
Not open for further replies.

woodyinoz

IS-IT--Management
Jan 8, 2002
215
GB
Hi all,

I am currently having a bit of trouble transferring data from an SQLBase table (Similar to MySQL) into a Paradox Table.

When I try and append using 'dataTransfer', Paradox tells me that I my 'Alias is a Server'.

This error occurs when using the following code
[tt]
dthandle.SetSource (":SQLBase:REQUIREMENT")
if dthandle.getSourceType ( ) = DTASCIIFixed Then
dthandle.loadDestSpec ( "SpecTable" )
endIf
dthandle.setDest ( "Requirement.db" )
if not dthandle.getAppend () then
dthandle.setAppend ( True )
endif
dthandle.transferData ( )
[/tt]
The reason I am not simply running a query to get my results is because some of the original tables fields allow 80 characters, and, although none of the information in these fields are actually 80 characters (most are 6-7) Paradox brings out all of the spaces and therefore my resulting answer table is to large.

Thanks in advanvce,

Woody.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top