G
Guest
On my weights form, users may enter the shipment weight into one of a choice
of 3 different fields. We cannot get away from that, it is inevitable due to
the type of business. They would only ever use one of them on any given
shipment, the other two fields would be left on default 0.
I then need to grab this weight from whichever field they have populated,
and store it in another field and use that as a mergefield and for other
purposes.
Lets say I have in my table and on my form:
Weight 1
Weight 2
Weight 3
Weight to use
How do I code the "Weight to use" field to look at each of the 3 possible
sources, and whichever one is populated, use that one and ignore the others?
I have fiddled around with some If not else and null types of code, trying
to work it out, but I have run out of time. So, your help, please!
Many thanks
CW
of 3 different fields. We cannot get away from that, it is inevitable due to
the type of business. They would only ever use one of them on any given
shipment, the other two fields would be left on default 0.
I then need to grab this weight from whichever field they have populated,
and store it in another field and use that as a mergefield and for other
purposes.
Lets say I have in my table and on my form:
Weight 1
Weight 2
Weight 3
Weight to use
How do I code the "Weight to use" field to look at each of the 3 possible
sources, and whichever one is populated, use that one and ignore the others?
I have fiddled around with some If not else and null types of code, trying
to work it out, but I have run out of time. So, your help, please!
Many thanks
CW