adult swim singles soundcloud stream royalties for actors tips for picking up girls at bars in bras how do i meet girls if i'm shy t-shirt screening locations men seeks men in pondy tourism authority of korea where to meet a nice girlfriend memes images of awards online live chat girls live love laugh club mishawaka picking up girls thug vs nerds rope ingredients in gatorade approaching women askmen reddit hearthstone arena
Home Forum Download/Upload Links Search

NetTalk User Group

NetTalk User Group Meeting!
Live Webinar!
Saturday Nov. 16 
7am PST
Click Here To Register!
Home arrow Forum arrow NetTalk Web Serverarrow Web Server - Ask For Helparrow Copy Entire Record to Session Variables?
NetTalk Central
September 25, 2016, 09:15:53 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the NetTalk Central Forums!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Copy Entire Record to Session Variables?  (Read 715 times)
charl99
Full Member
***
Posts: 185


View Profile Email
« on: May 04, 2012, 05:38:00 AM »

Hi,

I tried to figure this out (by looking at the PreCopy Routines and stuff), I simply don't understand it Smiley.

I am updating a record, with lots and lots of tabs and fields on it.  Almost every tab or field is dependent on the values of fields in related files (Hide/Unhide, Read Only).

Now I know I can open these files and then p_web.SSV() all the fields one by one in the Pre-Routine, and then in the Post-Routine go and set all of them to be blank again just to make sure they have no impact somewhere else.  But I know someday I will forget to keep this list updated.

So my question (or wish if you like), is there a simple way of setting a _whole_ record to Session Values and then to Clear it again at a later stage.

Thanks

Charl
Logged
Bruce
Global Moderator
Hero Member
*****
Posts: 8244



View Profile
« Reply #1 on: May 04, 2012, 06:06:31 AM »

to copy the file record to the session queue;

p_web.FileToSessionQueue(customers)

to copy the session queue back to the file record

p_web.SessionQueuetoFile(customers)

to clear all the session fields for a table;

clear(cus:record)
p_web.FileToSessionQueue(customers)

Cheers
Bruce
Logged
charl99
Full Member
***
Posts: 185


View Profile Email
« Reply #2 on: May 04, 2012, 06:17:45 AM »

Thanks.  I'm now thinking of working tomorrow!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Login Form

Welcome Guest.






Lost Password?
No account yet? Register
home contact search contact search