Skip to Content
Former Member
Apr 09, 2007 at 10:32 PM

Form appears twice from menu



We have a problem. A user-defined form that is created as a result of a menu selection appears twice. Debug does not indicate that the menu event occurs twice. It's as if the two forms come up simultaneously. This happens when B1 is attached to one Demo database but not when it is attached to another Demo database. What in the database can cause this? Searching the forum indicates that the menu data is not stored in a database table. But it looks like a database issue.

The form usually has a UID that we had given it, because we only want it to come up once. When we specify the unique ID with ScreenPainter, we get an error that says that the form already exists. It then gets another error due to a duplicate data source. I removed the UID as a test and the form does come up twice but then we only get the second error due to a duplicate data source.

This can be fixed by restoring the database but we need to understand this problem in order to prevent it. The users should not have to restore their databases to fix problems. It would cause them to have to re-enter data and that would be bad.

Has anyone else had a similar problem?