I have a program with a simple dialog and I randomly encounter and error like "Error creating dialog: GetPickList"....
the dialog exists, and works perfectly most of the time. What would interfere with this?
Error creating Dialog
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Another script tries to create a dialog with the same name at the same time, or your script wrongly tries to create the dialog more than once. If you have your Dialog block in a loop remove it from the loop immediately!
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
The quick fix was to go back to the dialog builder, re-create the dialog, then leave the name as Dialog3. That seems to have fixed it.
JRL, I think you may have been on the right track with the naming issue. I have done it before, but didn't think to google the name I used in this case. There are instances where MacroScheduler might behave unexpectedly if variable names conflict with a term in VBScript, SQL, etc....
thanks for the responses. On to the next line of code...
JRL, I think you may have been on the right track with the naming issue. I have done it before, but didn't think to google the name I used in this case. There are instances where MacroScheduler might behave unexpectedly if variable names conflict with a term in VBScript, SQL, etc....
thanks for the responses. On to the next line of code...