Link to home
Start Free TrialLog in
Avatar of nightworker
nightworker

asked on

URGENT!!!end of line character in Notes

Hey expert,

I have a text file needs to load into Notes DB. but I need to add an end of line character in the file. Do you know what specific control character that Notes recogonize?  "return" or "tab" or anything else?

Thanks.
NW
SOLUTION
Avatar of SysExpert
SysExpert
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of marilyng
marilyng

Hi nightworker,
 If you're importing from a text file, then try the line input:

'Display the contents of c:\config.sys a line at a time.
Dim text As String, fileNum As Integer
fileNum% = FreeFile()
Open "c:\config.sys" For Input As fileNum%
Do While Not EOF(fileNum%)
   Line Input #fileNum%, text$
   Print text$          ' Prints one line of config.sys
Loop
Close fileNum%

Then you loop through the full line: text$ to find your variables.  The line Input will recognize, or should recognize the eol character for any platform.. however it might not if the text file was created on one platform and then input into another platform.

Regards!