M
MikeM
I am trying to create form using this coding and it works but I am only able
to show 1 record. How can I show this record(has a fldCurrentPeriod flag on
it.) on Load and then click through the rest of the records?
Private Sub Form_Load()
Dim rst As Recordset
' Dim varCurrPeriod As Variant
' trying to figure out how to open the form on the current period record.
' varCurrPeriod = DMax("YearPeriod", "tblInputTable", "[fldCurrentPeriod] =
True")
chkCurrentPeriod = False
chkCheckIEBV = False
txtYearPeriod = DMax("YearPeriod", "tblInputTable", "fldCurrentPeriod =
true")
txtIUSxrate = DMax("USDxrate", "tblInputTable", "fldCurrentPeriod = true")
txtIEUxrate = DMax("EUROxrate", "tblInputTable", "fldCurrentPeriod = true")
End Sub
Thanks,
MikeM
to show 1 record. How can I show this record(has a fldCurrentPeriod flag on
it.) on Load and then click through the rest of the records?
Private Sub Form_Load()
Dim rst As Recordset
' Dim varCurrPeriod As Variant
' trying to figure out how to open the form on the current period record.
' varCurrPeriod = DMax("YearPeriod", "tblInputTable", "[fldCurrentPeriod] =
True")
chkCurrentPeriod = False
chkCheckIEBV = False
txtYearPeriod = DMax("YearPeriod", "tblInputTable", "fldCurrentPeriod =
true")
txtIUSxrate = DMax("USDxrate", "tblInputTable", "fldCurrentPeriod = true")
txtIEUxrate = DMax("EUROxrate", "tblInputTable", "fldCurrentPeriod = true")
End Sub
Thanks,
MikeM