Hi All,
Trying to open another form from a list box and have it carry the value over to select the correct record.
But i keep getting 'The operform action was cancelled' error.
My Code:
Option Compare Database
Private Sub lstAR_DblClick(Cancel As Integer)
DoCmd.OpenForm "frmMaint", acNormal, , "[AR Number] = " & Me![lstAR], acFormEdit, acDialog
End Sub
This is annoying the hell outta me and i bet its something small and stupid aswell.
Ryan
Trying to open another form from a list box and have it carry the value over to select the correct record.
But i keep getting 'The operform action was cancelled' error.
My Code:
Option Compare Database
Private Sub lstAR_DblClick(Cancel As Integer)
DoCmd.OpenForm "frmMaint", acNormal, , "[AR Number] = " & Me![lstAR], acFormEdit, acDialog
End Sub
This is annoying the hell outta me and i bet its something small and stupid aswell.
Ryan