jamierbooth
Registered User.
- Local time
- Today, 12:19
- Joined
- Oct 23, 2013
- Messages
- 36
Hi All. I'm using access 2000 to develop and my staff are using Runtime to use the DB. I understand that the right click and menu-type filter and sort options are disabled/not available on Runtime.
I recently made some additions to a continuous form for a user to click on a label (ie Forename) which fires an on click event triggering the following code:-
Private Sub SrtForename_Click()
Me.Refresh
Me.OrderByOn = True
Me.OrderBy = "Client Forename ASC"
End Sub
which then should sort the results by Forename.
I also have similar labels to filter the results using the following code:-
These work fine on full MS access 2000, but on Runtime it asks me to enter the forms parameter value again. This continuous form is based on a query which filters the results by member of staff by having
in the criteria box of the relevent field. (ie, looks up the value on a previous form to get the filtered results).
Is there something I can add to the code enable run-time to work with this code or re-announce the parameters?
Cheers. Jamie.
I recently made some additions to a continuous form for a user to click on a label (ie Forename) which fires an on click event triggering the following code:-
Private Sub SrtForename_Click()
Me.Refresh
Me.OrderByOn = True
Me.OrderBy = "Client Forename ASC"
End Sub
which then should sort the results by Forename.
I also have similar labels to filter the results using the following code:-
Code:
Private Sub FiltActive_Click()
Me.Filter = "Status = 'Open - Active'"
Me.FilterOn = True
End Sub
These work fine on full MS access 2000, but on Runtime it asks me to enter the forms parameter value again. This continuous form is based on a query which filters the results by member of staff by having
Code:
Like [Forms]![frmSearch]![cboHA]
Is there something I can add to the code enable run-time to work with this code or re-announce the parameters?
Cheers. Jamie.