Michel -
1. Split the one variable into two:
--Get the location of the SemiColon
SET VAR vLocate = (SLOC(.VIDENT,';'))
--Get the user name as the characters located before the semi-colon
SET V vUser = (SGET(.ViDENT,(.vLocate - 1),1))
--Get the password
SET V vPassword = (SGET(.vIdent,99,(.vLocate + 1)))
2. Issue the command
SET USER .vUser .vPassword
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sami Aaron
Software Management Specialists
913-915-1971
[EMAIL PROTECTED]
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Carole et
Michel
Sent: Monday, April 04, 2005 3:53 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - RE: LOGIN DIALOG with user/password, multilingual,not
based on database.
Hello,
I have tried,
application, start action:
set var vIdent text
plugin Rblogin.rbl vindent | title Bienvenue |Lang 1 |
I enter a valid user name Michel
I enter a valid password Pogo
I get a return value for vIndent of Michel;Pogo
How do I set the user and the password for the database?
Thank you
Michel S�guin
Motel du Parc, Gatineau, Quebec
Adrian Huessy wrote:
>Do you need a login dialog for R:Base 7.x applications?
>
>Feel free to download RBLOGIN.rbl.
>Within one dialog user and password is asked, the password is masked by
>character "*".
>Caption and language of the login-box are parameters.
>Supported languages: English, Spanish, Italian, French and German.
>The dll is not based on a database.
>
>Download of RBLogin.RBL including documentation from
>http://www.rbasecommunity.com/
>
>Best Regards
>Adrian H�ssy
>
>H�ssy Engineering GmbH
>Stadtturmstr. 13, CH-5401 Baden, Switzerland
>Tel. 056 210 91 71, Fax 056 210 91 75
>[EMAIL PROTECTED]
>
>
>
>