Normal Topic Global value, Macro or ??? (Read 391 times)
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Global value, Macro or ???
Dec 6th, 2007 at 12:45am
Print Post Print Post  


What I would like to do is make a command button in the customer database that when selected will grab the CUSID from the record the user is in, then goto the order/invoice database open a new record and fill the CUSID element so an @XLookupSourceList() can be ran to populate the available data into elements.

I know there are a number of ways to achieve this, but I am looking for thoughts / input on the best way to grab the CUSID from the one database and use it in the other in a multi user environment. Global value, Macro or ???

Thanks
« Last Edit: Dec 6th, 2007 at 5:57am by BOBSCOTT »  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Global value, Macro or ???
Reply #1 - Dec 6th, 2007 at 12:49am
Print Post Print Post  
If you've got 2.0, I'd use ClientLocalValue. It is multi-user safe for this kind of use, as opposed to GlobalValue which is not.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Re: Global value, Macro or ???
Reply #2 - Dec 6th, 2007 at 1:06am
Print Post Print Post  
Thanks Erika.
  

Team – Together Everyone Achieves More
Back to top
 
IP Logged