I have a question.
Do the bonds have a fixed rate of return or is it variable and is the rate compounded from month to month or year to year?
If it's fixed you don't need a secondary table at all you can figure the return at any point in the bond's life.
If the rate can vary from month to month and that's what you're recording (if the 4% represents the return from 12/2/2012 through 1/1/2013 and 8% represents the return from 1/2/2013 through 2/1/2013 as opposed to a flat rate that is compounded yearly where you'd expect a flat percent increase per month which would double from jan to feb)
At any rate there are a few ways you can attack this problem
To me, the easiest is to change the ROWSOURCE for the subform.
So for instance, let's say your 'default' subform has a rowsource of "SELECT * FROM CUSIPS"
when you click your 'search' button you'd have something like:
Code:
if not isnull([Startdate]) and not isnull([EndDate])
me.subform.rowsource = "SELECT * FROM CUSIPS WHERE [DateField] between #" & [StartDate] & "# AND #" & [EndDate] & "#"
else
me.subform.rowsource = "SELECT * FROM CUSIPS
endif
so that if a start and end date are entered it will be filtered by that date otherwise it shows the 'default' list.
I'm not 100% sure I have the syntax for changing a subform rowsource correct but if it's not it should be easy to find.