Is there a way to have the contents of a field on a card change when a global variable (in this case an array variable) is changed?

I have a multiple card application that I'm converting from Tcl. One of the things I like about Tcl is that a field has a parameter called -textvariable) that points to a location that holds the contents to be displayed in that field. If you change the contents of the field, what you are really changing is the global variable and vis-versa. This allows me to put a field on several cards (in different locations on each card) and when I read a new record, I just put the results into a global array. I'd like to try and do the same thing in Rev if it's possible.

I'd like to avoid writing a script in the "readrecord" function that has to know the names of every field on every card that needs to show that information, and then looping through and setting the text of each of those fields to the contents of the global variable. This seems like it would be very hard to maintain system.

Thanks,

Len Morgan
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to