PDA

View Full Version : Campaign Data Lists Name Change Code - Where?



dulux-oz
June 11th, 2014, 11:31
Hi Guys,

Quick question: when you are working with Campaign Data Lists and you edit the value of the Name of an Entry in the List or on the relevant Campaign Data Sheet the value of the Name changes on the other record - where is the code that handles this?

Thanks

Trenloe
June 11th, 2014, 13:38
It does it automatically as they use the same database record.

dulux-oz
June 12th, 2014, 03:51
It does it automatically as they use the same database record.

Damn! Well, there goes that idea!

Thanks Tren.

Trenloe
June 12th, 2014, 04:35
Damn! Well, there goes that idea!

Thanks Tren.
What idea was that?

Trenloe
June 12th, 2014, 05:06
You might be able to use the onUpdate() event to do some code when a field changes?

https://www.fantasygrounds.com/refdoc/databasenode.xcp#onUpdate

dulux-oz
June 13th, 2014, 04:45
What idea was that?

Oh, just an idea to change the Name of linked Records in Linked Lists.


You might be able to use the onUpdate() event to do some code when a field changes?

Yeah, that's Plan B :)

Cheers