G
Guest
Good day, I really really need help on this. Please see below code:
' Picked one from the list, so open DentalEdits filtered ...
' (Also activated if they double-click anywhere on the row)
gstrWhereCallProfileQuerybyDental = "[RecordNumber] = """ &
Me!RecordNumber & """"
DoCmd.OpenForm FormName:="frmDentalEdits",
WhereCondition:=gstrCallProfileQuerybyDental
Forms!frmDentalEdits.SetFocus
I created a continous form that shows chosen records for date range that I
input. When I click on the View details button where the above code is
written it just opens a report, but the report don't match the record I
selected what am I missing. example I select John Doe from continous form,
click view details and Jane Doe comes up. Please Please Please help.
' Picked one from the list, so open DentalEdits filtered ...
' (Also activated if they double-click anywhere on the row)
gstrWhereCallProfileQuerybyDental = "[RecordNumber] = """ &
Me!RecordNumber & """"
DoCmd.OpenForm FormName:="frmDentalEdits",
WhereCondition:=gstrCallProfileQuerybyDental
Forms!frmDentalEdits.SetFocus
I created a continous form that shows chosen records for date range that I
input. When I click on the View details button where the above code is
written it just opens a report, but the report don't match the record I
selected what am I missing. example I select John Doe from continous form,
click view details and Jane Doe comes up. Please Please Please help.