Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 3:19 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: How do you delete old queries?
PostPosted: January 13th, 2009, 11:10 pm 
Offline
User avatar

Joined: March 12th, 2005, 10:31 pm
Posts: 140
Location: U.S.A. - Deep South
Opus: ver 7.06 - Opus Pro - Build 15130
OS: Windows XP Build 2600 Service Pack 3
System: (2) 3.2 CPUs Intel - (2) gigs ram - 3.2 tb HD
I'm in the middle of a new project which requires 14 separate databases. As I have started to create these databases I have found a different procedure of naming the queries to make it simpler, so I would like to delete the queries that are in the drop down list and create newly named queries. I can do that by creating new queries, but that does not clear out all of the old queries and there are too many. It's getting too cluttered.

So my quetion is... How do you delete or clear out these old queries in the dropdown list? I've done a search of the registry to find out they are not there.

_________________
PlanetDenn.com
Lots of Fun Freeware
Image


Top
 Profile Visit website  
 
 Post subject:
PostPosted: January 14th, 2009, 12:01 am 
Offline

Joined: May 24th, 2007, 11:02 am
Posts: 132
Location: UK - Wales - Ceredigion
Opus: illuminatus > Evolution
OS: Windows 10 Pro
System: i7 8GB RAM
I haven't used databases for a while now, but I think it's in the properties of that publication? (Ctr+R > last tab > 'Database')


Top
 Profile Visit website  
 
 Post subject:
PostPosted: January 15th, 2009, 9:12 pm 
Offline
User avatar

Joined: March 12th, 2005, 10:31 pm
Posts: 140
Location: U.S.A. - Deep South
Opus: ver 7.06 - Opus Pro - Build 15130
OS: Windows XP Build 2600 Service Pack 3
System: (2) 3.2 CPUs Intel - (2) gigs ram - 3.2 tb HD
jezjones29 wrote:
I haven't used databases for a while now, but I think it's in the properties of that publication? (Ctr+R > last tab > 'Database')

Thanks for your reply JezJones, but that only gives the option to delete the database itself, which would repropagate once the database was called on by a query. It does not give the option to delete created queries for the database though.

_________________
PlanetDenn.com
Lots of Fun Freeware
Image


Top
 Profile Visit website  
 
 Post subject:
PostPosted: January 16th, 2009, 10:09 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Hi Denn,

In theory, Opus automatically removes the query if you remove the DB Query action associated with that query. It should also be removed if you simply change the name of an existing query.

Because of this, I don't think there is a manual way to achieve this if something goes awry except taking a hex editor to the IMP.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: January 19th, 2009, 1:23 am 
Offline
User avatar

Joined: March 12th, 2005, 10:31 pm
Posts: 140
Location: U.S.A. - Deep South
Opus: ver 7.06 - Opus Pro - Build 15130
OS: Windows XP Build 2600 Service Pack 3
System: (2) 3.2 CPUs Intel - (2) gigs ram - 3.2 tb HD
mackavi wrote:
Hi Denn,

In theory, Opus automatically removes the query if you remove the DB Query action associated with that query. It should also be removed if you simply change the name of an existing query.

Because of this, I don't think there is a manual way to achieve this if something goes awry except taking a hex editor to the IMP.

Mack

Hello Mack, it's good to hear from you again.

I have done everything I can think of, including deleting the query and starting the query over. I have also deleted the Data Source under the Database Tab in Properties and It still remains. I guess I could go in with a hex editor, run a search, and delete them that way, but I'm half way through with the program and don't won't to screw something up. I would have to completely start over to get them out and I'm not willing to do that. I suppose Opus never foresaw this need.

I started out without giving enough thought into how I was going to name the queries, then I saw how I could do it and make it simpler, but I have about 14 queries that are just in my way now, so I guess I'll have to live with them.

BTW, once the query is in the drop down list, the program will not let you change the name of the query. You can of course create a new query, but that does not get rid of the old ones.

Thanks for your input Mack...
Denn

_________________
PlanetDenn.com
Lots of Fun Freeware
Image


Top
 Profile Visit website  
 
 Post subject:
PostPosted: January 19th, 2009, 1:17 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Hi Denn,

It does seem you're stuck with them. the only way I could remove/ hid them was by blank the first character with a 00 (hex). Everything seem okay, but as you say it's a risk for a development program.

Perhaps we could wish list this or offer free courses in SQL so that everybody uses Opus script :-)

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 50 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group