TreeView Problem

bradcccs

Registered User.
Local time
Tomorrow, 10:49
Joined
Aug 9, 2001
Messages
461
I have created a hole for myself :mad:


I had a simple treeview control Main menu.

This form functioned correctly, without issue (So why did I touch it?......)

The form was named "Sw_TreeView".

I simply renamed the form "Sw_TreeViewMenu"

Now, when I attempt to open the Sw_TreeViewMenu from the Database Window directly, I get:

The Microsoft Jet database engine could not find the object "Sw_TreeViewMenu". Make sure the object exists and that you spell its name and the path name correctly.

This message repeats twice, and then the form opens with a blank tree view. Looking at the now open form, I can see that the VBA coding has been detached, and there are two entries in the VBA Project Explorer. One for the old form name (with code) and one for the new form name (without code).

I am unable to copy / edit / rename the form in any manner. I get prompted to save the changes, select yes, but no result. The form remains unchanged. :confused:

Any ideas as to the cause would be appreciated. In the mean time, I am off to search through the regular backups of my db's to recover the form :rolleyes:

Cheers

Brad
 

Users who are viewing this thread

Back
Top Bottom