J
JohnE
I have a situation in which in the header of the continous form has 2 fields
that list the warranty length (standard and max). In the continous form
there are 2 fields of the same nature that feed off warranty fields (standard
by line and max by line). But, the products in the continuous form will and
will not have the same warranty. As new product is added (and can be more
then one at a time) the line item should self populate from the warranty
fields in the header. Now, a new contract (same product) is done has new
warranty lengths. The product lead comes into the form and changes the
warranty lengths to the new contract. For any new product that shows on the
form should then be populated with the new warranty lengths. The already
existing line items should not be affected by the new warranty lengths.
My first attempt was use an isnull type but that only worked on one line
item. My next was to do a loop for the new line items (have no warranty
length listed) and populate with the new warranty length. It is the looping
that I am having difficulty with and ask for help on it. I suspect this
would be in the form open (or load) event so it is done when the user views
the information. Can someone help with the loop?
Thanks...John
that list the warranty length (standard and max). In the continous form
there are 2 fields of the same nature that feed off warranty fields (standard
by line and max by line). But, the products in the continuous form will and
will not have the same warranty. As new product is added (and can be more
then one at a time) the line item should self populate from the warranty
fields in the header. Now, a new contract (same product) is done has new
warranty lengths. The product lead comes into the form and changes the
warranty lengths to the new contract. For any new product that shows on the
form should then be populated with the new warranty lengths. The already
existing line items should not be affected by the new warranty lengths.
My first attempt was use an isnull type but that only worked on one line
item. My next was to do a loop for the new line items (have no warranty
length listed) and populate with the new warranty length. It is the looping
that I am having difficulty with and ask for help on it. I suspect this
would be in the form open (or load) event so it is done when the user views
the information. Can someone help with the loop?
Thanks...John