Deleting

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
ghilton
Posts: 196
Joined: Thu Sep 27, 2007 1:06 pm
Location: Manchester (UK)

Deleting

Post by ghilton »

Is it possible on the GUI to delete multiple records?

On our system we have a list of people that the client can add then they submit these.

In some cases after entering say 10 names they may want to delete 5 but they have to do this on an indivual basis at present and is time consuming. Is there a way to select multiple records and delete them?
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

Just make a process deletes clients & make sure that client is a process input.

Then you put this process in your list of operations allowed for the query & make sure to indicate that the process can be used for multiple instances.
Tom - V8.8 build 3137 - MySql / PostGres
ghilton
Posts: 196
Joined: Thu Sep 27, 2007 1:06 pm
Location: Manchester (UK)

Post by ghilton »

Sorry Tom you have lost me?
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

1- Make a process: DELETE Client.

Make sure that Client is Process Input

2- Make a Query that lists Client instances

3- Put process from #1 as an operation to #2. In the Applicability box of the operation, check "applicable to multiple items"

Now run the query.
Tom - V8.8 build 3137 - MySql / PostGres
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

You don't even need a process. You can define a "Delete" operation for any query and make sure the operation is "applicable to multiple items"
Aware IM Support Team
ghilton
Posts: 196
Joined: Thu Sep 27, 2007 1:06 pm
Location: Manchester (UK)

Post by ghilton »

Nope still not with you at the moment.

OK what I have is a query -

FIND Temp WHERE Temp.AgencyCode=LoggedInSystemUser.LoginName AND Temp.PROTECTION='No'

This returns all the Temp staff I have just entered ready to be submitted. As an example I now have a list of say 10 names but I have found problems with say three of them which I want to delete.

What I have to do at present is highlight them one at a time but I want to make multiple selections then delete.

Hope that makes sense?
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

Do you know how to define/edit an operation on a query?
Tom - V8.8 build 3137 - MySql / PostGres
ghilton
Posts: 196
Joined: Thu Sep 27, 2007 1:06 pm
Location: Manchester (UK)

Post by ghilton »

nope
ghilton
Posts: 196
Joined: Thu Sep 27, 2007 1:06 pm
Location: Manchester (UK)

Post by ghilton »

tell a lie I do.... I just fail to see how I can make multiple selections from the list to delete.

Oe are you saying it will have the delete button on the left side of the record so I would still have to press delete 3 times?
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

It's in the help / User Guide. This is basic stuff :)
Tom - V8.8 build 3137 - MySql / PostGres
ghilton
Posts: 196
Joined: Thu Sep 27, 2007 1:06 pm
Location: Manchester (UK)

Post by ghilton »

yep it is simple stuff when it works :)

I have a delete operation in my query that is applicable to multi items but I can still only select one at a time :(
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

What build are you running? Do you have Delete operation as "below the list"
Tom - V8.8 build 3137 - MySql / PostGres
ghilton
Posts: 196
Joined: Thu Sep 27, 2007 1:06 pm
Location: Manchester (UK)

Post by ghilton »

this app is on build 2.4 but yes have that option
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

I'm GUESSING that was not supported in 2.4.... very old build

http://www.awareim.com/changelog
Tom - V8.8 build 3137 - MySql / PostGres
ghilton
Posts: 196
Joined: Thu Sep 27, 2007 1:06 pm
Location: Manchester (UK)

Post by ghilton »

lol probably why it is not working :)
Post Reply