Page 1 of 1
Are "global" container existing ?
Posted: Mon Jul 12, 2010 2:03 pm
by Pascal
Hello,
In FMPro, you can have fields containing the same value in the whole database.
Is there such a thing in Revolution ?
Thanks.
Re: Are "global" container existing ?
Posted: Mon Jul 12, 2010 2:41 pm
by dunbarx
Fields can store any amount of data, if that is what you are asking. How that data is parsed is a question, since the field will simply contain all the data as a whole.
If you had "XXX" & tab & "YYY" & return in your field, you can use the itemDelimiter property to separate the individual terms. In this example the data would format correctly in, say, an excel spreadsheet.
Craig Newman
Re: Are "global" container existing ?
Posted: Mon Jul 12, 2010 8:53 pm
by Pascal
Sorry,
I think I did not formulate my question the right way.
I try another way : How do I manage to create a container (field) whose value is the same on all the cards of the stack ? And if you change its value, the value changes on all cards.
Thanks
Re: Are "global" container existing ?
Posted: Mon Jul 12, 2010 10:23 pm
by mwieder
one way:
create a field
set its sharedText to true
group the field
set the group's backgroundBehavior bit to true
now when you create a new card that field is there.
another way:
global gMyGlobalData
put SomeStuff into gMyGlobalData
put gMyGlobalDatainto field "xyz"
Re: Are "global" container existing ?
Posted: Tue Jul 13, 2010 7:34 am
by Pascal
Great,
I did not knew the shared text property.
Everything works fine.
Thanks