G
Guest
I have a tabular form that populates itself via a query. The fields I am
using is Customer, Legal, Date, Margin, and Set Change. The problem I am
having is I need the Margin of RecrodSet 2 to be subtracted from the Margin
of Recordset 1 and in the Set Change of RecordSet 2 to display the difference
as a + or -. Then for 3 to compare to 2, and to display the difference there.
I need this for every RecordSet on the form. How would I do this, and mainly
where would I place the code. I was thinking in the Form_Load with something
like this:
RecordSet(2).Set_Change.value = RecordSet(2).Margin.value -
RecordSet(1).Margin.Value
I have a feeling this is not correct, and there fore have not tried it as my
vba programming skills are not that advanced (yet). Any help would be greatly
appreciated.
C_Ascheman
using is Customer, Legal, Date, Margin, and Set Change. The problem I am
having is I need the Margin of RecrodSet 2 to be subtracted from the Margin
of Recordset 1 and in the Set Change of RecordSet 2 to display the difference
as a + or -. Then for 3 to compare to 2, and to display the difference there.
I need this for every RecordSet on the form. How would I do this, and mainly
where would I place the code. I was thinking in the Form_Load with something
like this:
RecordSet(2).Set_Change.value = RecordSet(2).Margin.value -
RecordSet(1).Margin.Value
I have a feeling this is not correct, and there fore have not tried it as my
vba programming skills are not that advanced (yet). Any help would be greatly
appreciated.
C_Ascheman