How to get access to all items in a row

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:product" )
{
var Tbx_Product = Item.Parent;

// how do I get the appropriate reference to "my:Users" and
"my:Models" from here?
}


}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top