J
|
Jane 1/23/2009 |
Joe, |
D
|
debiso author 1/23/2009 |
Joe, I'm not sure that I understand your question. What is sessionid? PLease give me more detailed description of what you want to achieve.
|
T
|
thesofa 1/26/2009 |
OK, I am a scout leader too, so I may understand a bit |
D
|
debiso author 1/26/2009 |
OK, I am a scout leader too, so I may understand a bit are you trying to keep a record of which scouts attended which "session", ie meeting? also record what badgework was done at each meeting? hence you can then see if a scout has done a badge, or part thereof? I do quite a bit of database work so I may be able to come up with a working model for you.
|
J
|
Jane 1/27/2009 |
Joe,
|
D
|
debiso author 1/30/2009 |
How do I set the session variable? |
J
|
Jane 2/2/2009 |
Joe, select sessionid value from Scouts table on the List page: Before process event for badgeselection table on the Events tab and save sessionid value in the session variable.
global $conn, $strTableName; if ($_SESSION[$strTableName."_masterkey1"]) { $str = "select Field1from MasterTable where Key=".$_SESSION[$strTableName."_masterkey1"]; $rs = db_query($str,$conn); $data = db_fetch_array($rs); $_SESSION["Field1"] = $data["Field1"]; } |
D
|
debiso author 2/2/2009 |
Joe, Here is a sample:
|
D
|
debiso author 2/2/2009 |
OK this is kinda making me crazy!! I will gladly pay for someone to interactively assist me with this so I can get it done. If anyone can do this, please contact me ASAP. |
D
|
debiso author 2/2/2009 |
What does _masterkey1 represent?
|
J
|
Jane 2/3/2009 |
Hi, |