OpenForm action was cancelled

  • Thread starter Thread starter Doug Weller
  • Start date Start date
D

Doug Weller

This used to work fine:

Private Sub Command24_Click()
On Error GoTo Err_Command24_Click

Dim stDocName As String
Dim stLinkCriteria As String

stDocName = "Proforma Request"

stLinkCriteria = "[Proforma Number]=" & Me![Proforma Number]
DoCmd.OpenForm stDocName, , , stLinkCriteria

Exit_Command24_Click:
Exit Sub

Err_Command24_Click:
MsgBox Err.Description
Resume Exit_Command24_Click

End Sub

But now I get the error message "OpenForm action was cancelled"

I'm guessing that perhaps someone made changes in 'Proforma Request',
but if so what changes would affect this action?

Thanks.

Doug
 
---------- [email protected] (Doug Weller) said:
But now I get the error message "OpenForm action was cancelled"

I'm guessing that perhaps someone made changes in 'Proforma Request',
but if so what changes would affect this action?

Doug,

unfortunately we're not clairvoyants to see those changes :-) So
please take a look to the code in 'Proforma Request', specially Open,
Load, Current events, and to the Recordsource (or the resp. query),
and post them if you then need further help.

Best regards
Emilia

Emilia Maxim
PC-SoftwareService, Stuttgart
http://www.maxim-software-service.de
 
Back
Top