J
jib
This is probably a rookie question to many of you;
I have a simple form using a repeating table that has three columns;
products, users and models.
The data source structure looks like:
Items/Item/
Products
Users
Models
When any one of these three values change, I would like to run a function
that does some error checking with all three columns in that active row.
Using OnAfterChange() associated with the Item, I have no problem
intercepting the value that changed, however, I have absolutely no idea how
to get to the other values in the same row. I have attached the affected
function for your review.
Thanks for your time!
Jib
function msoxd_my_Item::OnAfterChange(eventObj)
{
if (eventObj.IsUndoRedo)
return;
Do_Something( eventObj );
}
function Do_Something( Item )
{
if ( Item.Parent.nodeName == "my
roduct" )
{
var Tbx_Product = Item.Parent;
// how do I get the appropriate reference to "my:Users" and
"my:Models" from here?
}
}
I have a simple form using a repeating table that has three columns;
products, users and models.
The data source structure looks like:
Items/Item/
Products
Users
Models
When any one of these three values change, I would like to run a function
that does some error checking with all three columns in that active row.
Using OnAfterChange() associated with the Item, I have no problem
intercepting the value that changed, however, I have absolutely no idea how
to get to the other values in the same row. I have attached the affected
function for your review.
Thanks for your time!
Jib
function msoxd_my_Item::OnAfterChange(eventObj)
{
if (eventObj.IsUndoRedo)
return;
Do_Something( eventObj );
}
function Do_Something( Item )
{
if ( Item.Parent.nodeName == "my
{
var Tbx_Product = Item.Parent;
// how do I get the appropriate reference to "my:Users" and
"my:Models" from here?
}
}