R
Rita
Is it possible to open a form based on 2 criteria? Access 2003 automatically
walks you through design mode for opening a form, but it just allows you to
select one criteria. This is my event procedure.
stDocName = "f Timesheet (Individual Client)"
stLinkCriteria = "[ClientID]=" & Me![ClientID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
I would like it to also match up pay periods. I just copied and pasted this,
but it didn't work. I'm not a programmer--I just cut and paste code
stDocName = "f Timesheet (Individual Client)"
stLinkCriteria = "[ClientID]=" & Me![ClientID]
stLinkCriteria = "[PayPeriodDate]=" & Me![PayPeriodDate]
DoCmd.OpenForm stDocName, , , stLinkCriteria
THANKS!!!!
walks you through design mode for opening a form, but it just allows you to
select one criteria. This is my event procedure.
stDocName = "f Timesheet (Individual Client)"
stLinkCriteria = "[ClientID]=" & Me![ClientID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
I would like it to also match up pay periods. I just copied and pasted this,
but it didn't work. I'm not a programmer--I just cut and paste code
stDocName = "f Timesheet (Individual Client)"
stLinkCriteria = "[ClientID]=" & Me![ClientID]
stLinkCriteria = "[PayPeriodDate]=" & Me![PayPeriodDate]
DoCmd.OpenForm stDocName, , , stLinkCriteria
THANKS!!!!