Conditional Formatting - Problems

A

Adam Harding

I have some conditional formatting on one part of my form that checks a value
in a repeating table to see whether it appears.

I also have another section looking for a different two figures in the
repeating table to appear.

My problem is that this only works on the first line of the form, i need it
to work on all.

Is this because my fields are not part of the repeating table? It seems
this relationship is the problem. Anyone got any ideas?

Cheers Adam
 
F

Franck Dauché

Hi Adam.

To illustrate what you have to do:

If you have a repeating section on a blank form (with 1 textboxes), you will
have the following schema:
myFields
group1
group2
field1

In that case, you need to use:
IXMLDOMNode oNode =
thisXDocument.DOM.selectSingleNode("/my:myFields/my:group1/my:group2[n]/my:field1")
where n is your nth entry......

If you don't use the "n", you will always point to the same line in your
repeating table.

Hope that it helps.

Regards,

Franck Dauché
 
A

Adam Harding

CAn i specify any row?

Franck Dauché said:
Hi Adam.

To illustrate what you have to do:

If you have a repeating section on a blank form (with 1 textboxes), you will
have the following schema:
myFields
group1
group2
field1

In that case, you need to use:
IXMLDOMNode oNode =
thisXDocument.DOM.selectSingleNode("/my:myFields/my:group1/my:group2[n]/my:field1")
where n is your nth entry......

If you don't use the "n", you will always point to the same line in your
repeating table.

Hope that it helps.

Regards,

Franck Dauché


Adam Harding said:
I have some conditional formatting on one part of my form that checks a value
in a repeating table to see whether it appears.

I also have another section looking for a different two figures in the
repeating table to appear.

My problem is that this only works on the first line of the form, i need it
to work on all.

Is this because my fields are not part of the repeating table? It seems
this relationship is the problem. Anyone got any ideas?

Cheers Adam
 
F

Franck Dauché

yes "n" is your row number. field1 is the name of your field within that row.

Franck Dauché

Adam Harding said:
CAn i specify any row?

Franck Dauché said:
Hi Adam.

To illustrate what you have to do:

If you have a repeating section on a blank form (with 1 textboxes), you will
have the following schema:
myFields
group1
group2
field1

In that case, you need to use:
IXMLDOMNode oNode =
thisXDocument.DOM.selectSingleNode("/my:myFields/my:group1/my:group2[n]/my:field1")
where n is your nth entry......

If you don't use the "n", you will always point to the same line in your
repeating table.

Hope that it helps.

Regards,

Franck Dauché


Adam Harding said:
I have some conditional formatting on one part of my form that checks a value
in a repeating table to see whether it appears.

I also have another section looking for a different two figures in the
repeating table to appear.

My problem is that this only works on the first line of the form, i need it
to work on all.

Is this because my fields are not part of the repeating table? It seems
this relationship is the problem. Anyone got any ideas?

Cheers Adam
 

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