G
good12find
Running Win2k & A97 +all updates and Jet5.31sp3.
The following code is executed when double clicked in a text field.
It opens a new form, filtered to the proper field.
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Query by Part Number"
stLinkCriteria = "[Part Number]=" & "'" & Me![Part Number] & "'"
DoCmd.OpenForm stDocName, , stLinkCriteria
Forms![Query by Part Number].Filter = stLinkCriteria
Forms![Query by Part Number].FilterOn = True
The problem is, when I click the 'filter' button on the toolbar to then
'unfilter' the open form, Access closes with a simple message.
Program Error
"msaccess.exe has generated errors and will be closed by windows. You will
need to restart the program.
An error log is being created."
I receive this on other occassions, but this is one I can repeat.
I also just re-loaded Access - same results.
Any suggestions?
The following code is executed when double clicked in a text field.
It opens a new form, filtered to the proper field.
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Query by Part Number"
stLinkCriteria = "[Part Number]=" & "'" & Me![Part Number] & "'"
DoCmd.OpenForm stDocName, , stLinkCriteria
Forms![Query by Part Number].Filter = stLinkCriteria
Forms![Query by Part Number].FilterOn = True
The problem is, when I click the 'filter' button on the toolbar to then
'unfilter' the open form, Access closes with a simple message.
Program Error
"msaccess.exe has generated errors and will be closed by windows. You will
need to restart the program.
An error log is being created."
I receive this on other occassions, but this is one I can repeat.
I also just re-loaded Access - same results.
Any suggestions?