Hello fellow PICKIES,
I am trying to use FTD from Accuterm to run a file download. I need to select and sort the items it is going to list into an excel spreadsheet. I can get this to work through the wizard, but not by passing in the data statements in a program. Help?
This works:
05 ED VOC K66
Top of "K66" in "VOC", 63 lines, 983 characters.
*--: p
001: [Job]
002: FileName=mvdb://MultiValue Host*$52370\\*\\K66
003: TransferProtocol=Kermit
004: TransferMode=Text
005: PreserveExtension=Yes
006: HeaderRow=1
007: Delimiter=Tab
008: Direction=Download
009:
010: [UL]
011: TransferType=File
012: HostFile=
013: SelectOption=SelectAll
014: SelectString=
015: Database=Excel
016: HostItemIds=
017: DosPath=
018: DosFiles=
019: WorkbookName=
020: Worksheet=
021: Range=
022: AccessMDBName=
023: AccessTableName=
*--: p
024: AccessConnectString=
025: TextFileName=
026: IncludeAllAttributes=False
027: Attributes=
028: AutoID=False
029: SuppressItemID=False
030: FirstRowHasColNames=False
031: SelectByName=False
032: AutoIDPrefix=
033: AutoIDStart=0
034: Overwrite=No
035: ExplodeMV=No
036:
037: [DL]
038: TransferType=Data
039: HostFile=SIL
040: SelectOption=SelectStatement
041: SelectString=SSELECT SIL BY F120 BY F1
042: Database=Excel
043: HostItemIds=
044: DosPath=
045: DosFiles=
046: WorkbookName=C:\\TEMP\\JJ
This does not:
DATA 'S' ;*RECEIVE
DATA 'K' ;*KERMIT
DATA 'SIL' ;* PICK FILE
DATA 'SSELECT SIL BY F120 BY F1' ;* ITEM LIST
DATA '\\\\kvfileserver\\bproddistcharges$\\':RPT.NAME:'.xlsx!':CUST:' PP!A1'
DATA 'F1 F2 F3 F120 F126 F124 F125 F13 F121 F129'; * ATTBS TO LIST
DATA 'Y' ; *CREATE HEADERS
DATA '' ; * EXPLODE
EXECUTE 'FTD'
------------------------------
Kathleen Hambrick
Programmer at Colwell
------------------------------
