Importing tabular text file in lotus with lotuscript

Hi

Is there a way to import tabular text file in lotus with lotuscript, I only found a way by the input# statement but it does seem to work only with comma separated data and not with tabular separation.

Does anyone heard about that ?

Thx

Pierrick

Subject: importing tabular text file in lotus with lotuscript

Use Line Input instead and then use Split to get the separate values:

Dim TEST_LINE As String

Dim sSplittedArr As Variant

…

Line Input #iFileNo, TEST_LINE

sSplittedArr = Split(TEST_LINE,Chr$(9))

Msgbox sSplittedArr(0),sSplittedArr(1)

…

hth

Subject: RE: importing tabular text file in lotus with lotuscript

it seems to works fine thank you !

Subject: RE: importing tabular text file in lotus with lotuscript

thx Kenneth it’s a good idea I would try this