I'm using this code:
to return the record according to the matched Contract_No & Cont_Month (Date)..
it does return the record, but only that record.. what i want is to return all records that match the Contract_No, but go to the record that match the Cont_Month, so that the user can go to next or previous records that have different Cont_Month.
note: each Contract_No has different Cont_Months.. no similarities << i don't know if saying this is important!
anyways, your help is appreciated.. thanks in advance ^^
Code:
DoCmd.OpenForm stDocName, , , "Contract_No = '" & Me.Contract_No & "' and Cont_Month=#" & Me.contMonth_view & "#"
to return the record according to the matched Contract_No & Cont_Month (Date)..
it does return the record, but only that record.. what i want is to return all records that match the Contract_No, but go to the record that match the Cont_Month, so that the user can go to next or previous records that have different Cont_Month.
note: each Contract_No has different Cont_Months.. no similarities << i don't know if saying this is important!
anyways, your help is appreciated.. thanks in advance ^^