DragonRAD Forum
June 19, 2013, 06:41:06 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
DragonRAD Forum
>
General Category
>
General Discussion
>
Filter Records after logon
Pages: [
1
]
« previous
next »
Print
Author
Topic: Filter Records after logon (Read 550 times)
skater007
Member
Posts: 80
Filter Records after logon
«
on:
April 26, 2012, 07:37:09 AM »
I'm soooo close. How can I save my logon data so it can be used in a get new query when the main app is launched?
Thanks
Andy
P.S. Yes I'm back
Logged
Rob Nicol
Seregon
Posts: 82
Re: Filter Records after logon
«
Reply #1 on:
April 26, 2012, 11:25:59 AM »
There are a few options. If you have many login parameters that are fetched from the database during login, then it's best to use the "logged On Data Row" concept. An example is in the LoginScreen example.
If you simply want to save the username and password. You can use the client.username and client.password variables.
To use either of the above in your "Get New" query, you can reference them as:
1) Logged On Data Row values are always accessible using the tablename and field name in the query string:
:tableName.fieldName:
2) Username and password variables stored in client.username and client.password are available with :USER: and :PASS:
Logged
skater007
Member
Posts: 80
Re: Filter Records after logon
«
Reply #2 on:
April 26, 2012, 12:26:40 PM »
That was far to simple.
Thank you
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
Loading...