R>PLUGINS LoadFileNamePlus.rbl VarName |fullpath on |FILTER text files
(n*.pdf)#n*.pdf
This will find all files that start with n and have .pdf
VarName will contain the name of the file that you click on.
----- Original Message -----
From: Michael J. Sinclair
To: RBASE-L Mailing List
Sent: Sunday, February 21, 2010 8:26 PM
Subject: [RBASE-L] - Re: Why won't this work during trace, but does work
during RUN?
Hi Bernie,
Both of those come with RBase 7.6. I could not figure out how to use them to
get a list of file names into a table in a single step. Is there a way to use
these plugins to retrieve a filename (even one at a time, then I could use them
within a loop to get each filename) without the user having to click on each
filename?
Any thoughts on why my method fails during a trace but does just fine during
a run?
Mike
-------------- Original message from "Bernard Lis" <[email protected]>:
--------------
Hi Michael,
Do you have LoadFileName.rbl or LoadFileNamePlus.rbl ?
Bernie Lis
----- Original Message -----
From: Michael J. Sinclair
To: RBASE-L Mailing List
Sent: Sunday, February 21, 2010 6:01 PM
Subject: [RBASE-L] - Why won't this work during trace, but does work
during RUN?
Hi All,
I am using Rbase 7.6, latest build.
I am trying to load a list of file names into a table. The method I am
using seems to work just fine when I run the command, but fails (nothing loads
into the table) while I am doing a trace. The program is run from within an
EEP. Here is my code....
ERASE dir.txt
OUTPUT dir.txt
DIR .vfromspec
OUTPUT SCREEN
DELETE FROM asciitxt2
LOAD asciitxt2 FROM dir.txt AS FORMATTED USING textdata 1 80
EDIT ALL FROM asciitxt2
The contents of dir.txt is as follows....
Volume in drive g is 320GB
Volume Serial Number is 8464-4871
Directory of g:\docs\1913\labs\
02/20/2010 10:43 PM <DIR> .
02/20/2010 10:43 PM <DIR> ..
11/28/2009 03:02 PM 9,618 labs_1913_0001.pdf
1 File(s) 9,618 bytes
2 Dir(s) 28,672,167,936 bytes free
Why won't this work for me during a trace? Is there a better way to load
a list of filename from a folder into a table?
Mike