J
Jason
Senario: I have a form that I am adding two combo boxes to. The use of these forms is to select a begin period_name and an end period name each of which the values will be placed the record, below is how the table is set up. The combos work fine until I set the default value to "Format(Date(),"mmmm yyyy")", the default is set up to ease the selection of the date for the user.
tbl_Period PERIOD_NAME PERIOD_BEGIN_DATE PERIOD_END_DATE
August 2004 8/1/2004 8/31/2004
September 2004 9/1/2004 9/30/2004
Problem: When I set the default values on both combo's only the begin period combo populates with the default value, the end period remains blank. In addition if I select a different date from the begin period, the form refreshes both boxes and insert values into the record. For example the begin period shows September 2004 and the end period is blank. If I choose a different begin period it will update both the begin date and the end date. Typically the end date will default to the current month.
The currious thought is that if I change the bound column on the end period from 3 to 2, the default value populates.
Below is the sql for the row source:
SELECT tbl_Period.PERIOD_NAME, tbl_Period.PERIOD_BEGIN_DATE, tbl_Period.PERIOD_END_DATE
FROM tbl_Period;
Desired Result: for both the begin period and end periond combo boxes to display the current month and year
Thanks in advance
Jason
tbl_Period PERIOD_NAME PERIOD_BEGIN_DATE PERIOD_END_DATE
August 2004 8/1/2004 8/31/2004
September 2004 9/1/2004 9/30/2004
Problem: When I set the default values on both combo's only the begin period combo populates with the default value, the end period remains blank. In addition if I select a different date from the begin period, the form refreshes both boxes and insert values into the record. For example the begin period shows September 2004 and the end period is blank. If I choose a different begin period it will update both the begin date and the end date. Typically the end date will default to the current month.
The currious thought is that if I change the bound column on the end period from 3 to 2, the default value populates.
Below is the sql for the row source:
SELECT tbl_Period.PERIOD_NAME, tbl_Period.PERIOD_BEGIN_DATE, tbl_Period.PERIOD_END_DATE
FROM tbl_Period;
Desired Result: for both the begin period and end periond combo boxes to display the current month and year
Thanks in advance
Jason