Awesome! You gave me an idea to explore for something similar I need to do....
Karen
On Monday, November 6, 2023 at 03:45:28 AM CST, randyp ctags.com
<[email protected]> wrote:
Dear Karen,
I found CHOOSE in help but didn't recognize the usage for its #Lfiles option.
My RMD files are located in this subdirectory: C:\RBTI\RBGX5E\Samples\
CHOOSE vaRbase FROM #LFILES IN c:\rbti\rbgx5e\samples\*.rmd
RUN .vaRbase
This CHOOSE generates a lovely, alphabetical listing of available database
opening commands.The RUN command, connects and opens the applicable database
[represented by the .varbase variable—RMD program name-- selected.].
----------------more complete
program-----------------------------------------------------
CHOOSE varbase FROM #LFILES IN c:\rbti\rbgx5e\samples\*.rmd +
TITLE 'databases available' +CAPTION 'select a database' +LINES 8
IF varbase IS NULL OR varbase = '[Esc]' THEN
GOTO doneELSE RUN .varbase
ENDIF
LABEL done CLEAR VAR varbase
RETURN
------------------
In c:\rbti\rbgx5e\samples, I created an RBase.DAT file to open when the
program begins.
My CHOOSE box opens in the center of my windows desktop. Clean. Simple.
RUN c:\rbti\rbgx5e\samples\varbase.cmd
The combination of the STARTUP RBase.DAT file which shows a choose box is
perfect—so easy.
In order to work, all these related files must be in the same
c:\rbti\rbgx5e\samples subdirectory.
Thank you for all your valuable suggestions.
RandyFrom: 'Karen Tellef' via RBASE-L <[email protected]>
Sent: Sunday, November 5, 2023 8:05 AM
To: [email protected] <[email protected]>
Subject: Re: [RBASE-L] - I want to use a CHOOSE command to list options from a
subdirectory rather than from inside a connected database. Are you looking for
the syntax for a choose command? If so: choose vchoice from #Lfiles in
*.rmd
For clients that have multiple databases, there's typically separate desktop
icons that open that database's startup file
Karen
On Sunday, November 5, 2023 at 01:36:32 AM CST, randyp ctags.com
<[email protected]> wrote:
I have multiple RMD files in the same subdirectory that basically say:
Change directory to the directory where my desired database is located.
OPEN this database.
I would like a choose command that lists all my files ending in .RMD.
That way I can select the RMD file, and use: RUN name.RMD which will take me
into the correct subdirectory, and open the database.
Do users with multiple databases have a desktop icon for each database, or how
do you navigate from among them?
All the best,
Randy
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rbase-l/PH0PR11MB51125E2C95370DCD569610F7C7ABA%40PH0PR11MB5112.namprd11.prod.outlook.com.
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rbase-l/881986198.341027.1699193144565%40mail.yahoo.com.
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rbase-l/PH0PR11MB5112655778B6688FB7EA7E8CC7AAA%40PH0PR11MB5112.namprd11.prod.outlook.com.
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rbase-l/1279929094.612444.1699278661227%40mail.yahoo.com.