Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Cant Create Any Objects

Author
Message
Michael73
14
Years of Service
User Offline
Joined: 29th Jan 2010
Location:
Posted: 15th Jul 2010 06:35
Hello,
Up to now, I have been able to load objects and make objects without and trouble. But now, whenever I try to load or make and object in my project, It will compile fine but when i try to run it, I get an error saying the object already exists. There are defantly no objects with the same number. Can anyone help me?
Thanks
Hodgey
15
Years of Service
User Offline
Joined: 10th Oct 2009
Location: Australia
Posted: 15th Jul 2010 09:18
Hi, that error can occur if you make or load the object more than once e.g in a loop. If you are making or loading objects in a loop then makesure that they are only created once.

This program will cause a runtime error!!!


This program will work!!!


Hope this helps!!!

A clever person solves a problem, a wise person avoids it - Albert Einstein
Michael73
14
Years of Service
User Offline
Joined: 29th Jan 2010
Location:
Posted: 15th Jul 2010 09:30
Thanks so much lol Maybe I should actually look where im writing stuff.lol wow im dum

Login to post a reply

Server time is: 2024-11-24 13:36:28
Your offset time is: 2024-11-24 13:36:28