Data Access Worldwide Knowledge Base
Article ID 1749 Article Title HOWTO: Start Database Explorer from the Command Line Article URL http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=1749 KBase Category VDF (GENERAL) Date Created 12/16/2002 Last Edit Date 09/26/2006
Article Text
QUESTION:
What command should I use to start DBExplorer at the command window?
ANSWER:
Database Explorer can be started by typing
DBEXPLOR <workspace name> [<filenumber>]
where
<workspace name> is the full name of the workspace (e.g. to open the Order Sample workspace you will need to type "DAW.Sample Applications.Order" - including the quotes) containing the filelist you want to open
[<filenumber>] is the number of the data file you would like DBExplorer to open when it starts. Note that this parameter is optional and, when not specified, DBExplorer will start with the cursor on "Files", at the top of the tree.
You can use that in any command window, just make sure the EXE can be found along the path or change the current directory to the <VDF>\Bin directory before executing the command. You can also specify the path when executing the command as in
C:\VDF8\Bin\DBEXPLOR "daw.sample applications.order" 22
and that will open the Inventory file in DBExplorer.
CHANGES FOR VDF12.0
-------------------
For Visual DataFlex 12.0 the commandline options have changed. You need to pass -X<workspace SWS file> -t<tablename or number>
For example:
C:\Program Files\Visual DataFlex 12.0\Bin\DbExplor.Exe "-xC:\Program Files\Visual DataFlex 12.0\Examples\Order Entry\Order Entry.Sws" -t22
Email this Article
Email this Article to a Colleague
Send Feedback on this Article to Data Access Worldwide
Copyright ©2010 Data Access Corporation. All rights reserved.
The information provided in the Data Access Technical Knowledge Base is provided "as is" without warranty of any kind. Data Access Corporation disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Data Access Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Data Access Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.