Damo
Posts: 22
|
Posted: 07/21/2008, 9:10 AM |
|
Hi
I am trying to build one search grid that will display the results in many grids on many pages.
E.g. I want to search one primary key field called Property ID, this property ID has a relationship with many other tables like Table1ID, Table2ID, etc.
I dont want the user to have to do individual searches for each type of data. Just one search for all.
Or is it possible to do one search on PropertyID and store the result and then get the other pages with grids to read this information and display the data?
I hope this makes sense and I would like to thank you in advance for any input received.
|
|
|
tsgroman
Posts: 64
|
Posted: 07/21/2008, 12:25 PM |
|
You can accomplishing this by placing the propertyID into a session variable and then using the session variable to filter the other grids/pages.
|
|
|
Damo
Posts: 22
|
Posted: 07/22/2008, 1:58 AM |
|
Hi Im a newbie at CodeCharge 4.
How do I use session varaibles? and how do I use the session variable on multiple grids on multiple pages.
Ive had a look and they all seem to refer to storing user login. But not showing you how.
Could you please explain in the most basic terms?
Thanks.
|
|
|
wkempees
Posts: 1679
|
Posted: 07/22/2008, 2:51 AM |
|
CCSetSession()\
CCGetSession()
to be found described in Help files and docs.
And in Grids, press DatSource[...], takes you to VQB (Visual Query Builder)
Your parameter equals preopertyID type Session.
Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
|
|
Damo
Posts: 22
|
Posted: 07/22/2008, 3:19 AM |
|
Hi
I appreciate your help but the CCSetSession() and CCGetSession() is for PHP, my project is in ASP.
Is there an ASP version?
Thanks.
|
|
|
DJJWP
Posts: 77
|
Posted: 05/13/2009, 8:24 PM |
|
Session("UserLogin")
This would return the value of the UserLogin Value. I tend to use it for default value on drop downs so the user does not have to select their names from the drop down list; it is already there for them when making new records.
_________________
Network Operations Rule |
|
|