how to use a row fields in another for calculate

S

Salva

Hi ha ve a little row table
(field:A)
id1:user id2:name id3:kmts
1 11 111
2 22 222

and i like multiply kmts in another field

(field:B)
way
(field:C)
= total

from field:A/id:3 * field:B = field:C
222 x 2 = 444

How to identify the field:A/id:3??

Thanks
 
F

Franck Dauché

Hi,

If your 3rd column is a field, to point to the field3 of row n you can use:
IXMLDOMNode oNode =
thisXDocument.DOM.selectSingleNode("/my:myFields/my:group1/my:group2[n]/my:field1");

If you are using attributes (which I think that you are), then you use:
IXMLDOMNode oN = oNode.selectSingleNode("@kmts");

Hope that it helps.

Regards,

Franck Dauché
 

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