sharing fields on multiple cards

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
chipsm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 244
Joined: Wed May 11, 2011 7:50 pm
Location: Southern California

sharing fields on multiple cards

Post by chipsm » Wed Mar 22, 2017 2:50 pm

I know that I can have groups on multiple cards. But, how do I share a table or a field on 2 cards that reflect the same data?
for example: if I have a table on one card and I want to see and edit that same table on another card.
I have made groups with fields that are shared on 2 cards but they don't reflect the same data if I update one of the fields on the other card.
This should be simple but?....
Clarence Martin
chipsm@themartinz.com

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: sharing fields on multiple cards

Post by Klaus » Wed Mar 22, 2017 3:17 pm

Hi Clarence,

check "sharedtext" in the inspector for the field(s).
Or:

Code: Select all

...
set the sharedtext of fld "whatever" to TRUE
...

Best

Klaus

chipsm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 244
Joined: Wed May 11, 2011 7:50 pm
Location: Southern California

Re: sharing fields on multiple cards

Post by chipsm » Wed Mar 22, 2017 3:20 pm

Thanks Klaus I will try that.
Clarence Martin
chipsm@themartinz.com

chipsm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 244
Joined: Wed May 11, 2011 7:50 pm
Location: Southern California

Re: sharing fields on multiple cards

Post by chipsm » Wed Mar 22, 2017 3:24 pm

Klaus,
That works. I don't know why I didn't see that before.
Again, Thanks
Clarence Martin
chipsm@themartinz.com

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: sharing fields on multiple cards

Post by Klaus » Wed Mar 22, 2017 3:43 pm

Hi Clarence,
chipsm wrote:That works.
I am really not surprised! :D


Best

Klaus

Post Reply

Return to “Talking LiveCode”