What is the format for passing database and username parameters to Dataease on startup?
What is the format for passing database and username parameters to Dataease on startup?
I can't seem to get my shortcut icon properties to automatically run the preferred Dataease application and insert my username on startup. I thought that I just had to add these parameters after the final quote marks in the target box - e.g. "C:\Program Files (x86)\DataEase\DataEase 8.5\DataEase.exe" ApplicationName UserName Is this not correct?
Re:What is the format for passing database and username parameters to Dataease on startup?
Usage: DataEase [Options} <Path> <Applicatition_name> [<User> <Password> [<Startup_Document>[/Query]]]]]
/?, /h - Show this help.
/d<Name> - Startup document <Name>
/f<Path> - <Path> to application.
/n<Name> - Application <Name>
/u<User> - User <User>
/p<Password> - Password <Password>/w<x,y,w,h> - Intitial mainwindows position and size. Mind no space between numbers and comma.
FROM 8.5 Onwards
/1 - Open first application in path, useful for automatically starting any application in path. From 8.5 you are not allowed to have more than one Application in any given catalogue.
/m0 - Migrate Application to 8.5 (or current version) and DO NOT recompile any scripts
/m, /m1 - Migrate Application to 8.5 (or current version) and recompile all scripts
/m2- Migrate Application to 8.5 (or current version) and DO NOT recompile any scripts but build forms for DFD tables and tables without forms.
/m3 - Migrate Application to 8.5 (or current version), recompile all scripts and build forms for DFD tables or tables without forms.
/c - Create New Application <path><Application_Name> [<User> <Password> <Template>]
FROM 8.6 Onwards
You can now open an application with form and query:
/d - <Name/Query> - Startup Document/Query format as for DG3 and DeServer URL.
Ex. de86developer /1 /u High /p High /d Customers/?CustomerName=\"A*\"
When setting query filter for text fields remember to escape " or it will not be valid. for other fiels you can type the value directly.
You can also write the full command line like this:"C:\Program Files (x86)\DataEase\DataEase 8.6\de86developer.exe " "D:\Documents\My DataEase\86Test\Data" "GT Service 2013" high high Customers/?CustomerName="A*"
Remember the "horrible" Windows rules for "" around paths.
You MUST have "" when it is space in the path, but you CAN'T have it if it isn't.... Yes. Stupid!
If there is space in application names etc, you will also have spaces around them .