Re: Running a Form
Date: Fri, 18 Dec 1998 07:54:12 +0100
Message-ID: <75cu3k$eiv$1_at_vkhdsu24.hda.hydro.com>
Because you are speaking about a batch file, I suppose you are using Windows
95 (or 98).
There is another way to do this (few people seem to know this, probably
because it looks a bit complicated):
Open the Windows Explorer
Select View, Options
Select tab File Types
Look for Forms Builder Executable and select it
Click on button Edit
Click on button New
Type in the name of the action (e.g. 'Logon to SCOTT')
As the application to perform the action, enter: f50run32 module="%1"
userid=scott/tiger_at_yourdatabase
Click on OK
Eventually you can click on Set Default (in that case, the action will be
executed if you double click on an fmx file)
If you now right click on an fmx file in the Explorer, you will see your
new action
In that way, you can create different actions to logon to different users/databases (e.g. a development database and a production database).
Marc
Jan Hansen wrote in message ...
>
>>Can anyone tell me how to run a form from the command line without having
>to
>>type in the username and password each time?
>>
>>Is it possible to include the username and password in a pre-form trigger
>or
>>in a batch file when running the fmx?
>
>
>try this in your batch file:
>f50run32 module=FmxFileName userid=username/password
>
>don't put spaces around "=" or '/'
>if you use forms45, then use f45run32 instead.
>
>---- Jan
>
>
>
>
>
Received on Fri Dec 18 1998 - 07:54:12 CET