I am running a public sub procedure(named SetSearchColumnDetails) that resides in a subform (control name of SearchResults) on a mainform named Searchform.This procedure on my machine runs quite ok,but on another pc access give me an error complaining that the object either is not open or does not exist.It errors on the line
Forms![searchform]![SearchResults].Form.SetSearchColumnDetails.The form that is using this routine is open and does exist and when the debug window is closed it is open and visible
i know refering to subforms can be tricky, but why would the routine run on one pc o'k but spit out an error on the other machine.The references for the db's are the same on both pc's.
Does anybody have any suggestions
i am using access 2k
Regards
Bjackson
Forms![searchform]![SearchResults].Form.SetSearchColumnDetails.The form that is using this routine is open and does exist and when the debug window is closed it is open and visible
i know refering to subforms can be tricky, but why would the routine run on one pc o'k but spit out an error on the other machine.The references for the db's are the same on both pc's.
Does anybody have any suggestions
i am using access 2k
Regards
Bjackson