Marcel,

There is a version of the LOAD syntax just for this purpose:

LOAD tablename FROM filename AS FORMATTED USING +
columnname1 startposition stopposition, +
columnname2 startposition stopposition,  +
columnname3 startposition stopposition, +
etc.

e.g.:

===========================
OUTPUT DirRB.$$$
DIR &vFileSpec
OUTPUT SCREEN

WRITE 'Loading R:Base Table with DIR results ...'
LOAD DiskDir FROM DirRB.$$$ +
  AS FORMATTED USING +
  FileName   1  8, +
  FileExt   10 12, +
  FileBytes 14 23, +
  FileDate  26 33, +
  FileTime  36 40, +
  FileAMPM  41 41
===========================

Bill


On Thu, 26 Sep 2002 14:22:42 -0400, Marcel Pinchevsky wrote:

>In Rbase DOS, it is possible to import text data as fixed position. 
This does not appear possible in Windows. Because on imbedded 
special charachters, I do need to control the import. Any suggestions.





================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to