For Programmers: Free Programming Magazines  


Home > Archive > Clarion > January 2006 > Send driver string at runtime.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Send driver string at runtime.
edwfitzpatrick@verizon.net

2006-01-25, 6:55 pm

Hello,

I've coded a routine to export a .tps file to an ascii .csv file using
the comma delimited BASIC file driver. I'd like to provide the option
of creating a tab-delimited file using the same file structure by
sending the "/comma=9" string like this:

if filetype = 'T'
send(Customers,'/comma=9')
end

create(contacts)
access:contacts.open
CUSTXT:Fname = CUS:Fname
CUSTXT:Lname = CUS:Lname
access:customers.insert()
access:contacts.close

The data fields are surrounded by quotes and is delimited by a comma
even though I sent the string to delimit by the tab character. The
driver string works ok in the dictionary file properties, but I would
like to do this at runtime.

Any help would be appreciated.

Ed
CW5b, ABC

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com