C
cox
Howdy all,
I have a form with the following objects and sql:
3 unbound listboxes
lst1 has the following sql in the row source
SELECT Count([Tag ID]) AS recordcount FROM [pre ships] WHERE ((([pre
ships].[Inv Date]) Between (select date1 from date_ranges where
date_ranges.name = "hd") And (select date2 from date_ranges where
date_ranges2.name = "hd")));
lst2 has the following sql in the row source
SELECT Count([Tag ID]) AS recordcount FROM [hd hits] WHERE ((([hd hits].[Inv
Date]) Between (select date1 from date_ranges where date_ranges.name = "hd")
And (select date2 from date_ranges where date_ranges.name = "hd")));
lst3 has the following sql in the row source
=[lst2]/[lst1]
My issue is that lst3 does not populate with data unless I click on the lst1
and lst2 control on the form. How can I get this to work without always
clicking on the list boxes to get the 3rd lstbox, the calculation, to work?
Thanks in Advance,
Bob W.
I have a form with the following objects and sql:
3 unbound listboxes
lst1 has the following sql in the row source
SELECT Count([Tag ID]) AS recordcount FROM [pre ships] WHERE ((([pre
ships].[Inv Date]) Between (select date1 from date_ranges where
date_ranges.name = "hd") And (select date2 from date_ranges where
date_ranges2.name = "hd")));
lst2 has the following sql in the row source
SELECT Count([Tag ID]) AS recordcount FROM [hd hits] WHERE ((([hd hits].[Inv
Date]) Between (select date1 from date_ranges where date_ranges.name = "hd")
And (select date2 from date_ranges where date_ranges.name = "hd")));
lst3 has the following sql in the row source
=[lst2]/[lst1]
My issue is that lst3 does not populate with data unless I click on the lst1
and lst2 control on the form. How can I get this to work without always
clicking on the list boxes to get the 3rd lstbox, the calculation, to work?
Thanks in Advance,
Bob W.