Never seen this error linking a form

Gigitty

Member
Local time
Today, 01:20
Joined
Mar 29, 2007
Messages
57
Hi all.

Set up a second form to open from my main form showing only records that contain a unique value (Patient Id). Works fine and as expected the first time. If I close then re-open the database, open the primary form the click the command button to open the secondary form I receive 'Object or class does not support the set of events' error message. Have set up multiple databases in the past using this method and never had this issue. Has anyone else experienced this before?

many thanks
Gigitty.
 

Attachments

  • Capture.JPG
    Capture.JPG
    92.9 KB · Views: 26
I did perform a Compact & Repair and it made no difference. I just performed the 'Decompile' and it seems to have solved the problem. Thank you so very much to you both. Any ideas why this may have occurred??
 
Objects can become corrupted. If you ever have the same sort of problem again try renaming the secondary form and then copy it to the clipboard. Paste it back in and save it with the name of the original form. Then see if it works as expected. I've found that in the vast majority of cases where an object has become corrupted this cures the problem, in which case the renamed original can be deleted.
 
Yes I have seen this and as Ken said, it's more than likely a corrupted form. In addition to what Ken wrote, you can open each form in design mode and look in its Tag property for any weird and unusual text. Sometimes this happens when a form gets corrupted. Just delete the text if it is there.
 
Objects can become corrupted. If you ever have the same sort of problem again try renaming the secondary form and then copy it to the clipboard. Paste it back in and save it with the name of the original form. Then see if it works as expected. I've found that in the vast majority of cases where an object has become corrupted this cures the problem, in which case the renamed original can be deleted.
Thankyou Ken.
 
Yes I have seen this and as Ken said, it's more than likely a corrupted form. In addition to what Ken wrote, you can open each form in design mode and look in its Tag property for any weird and unusual text. Sometimes this happens when a form gets corrupted. Just delete the text if it is there.
Thanks for the info Larry.
 

Users who are viewing this thread

Back
Top Bottom