Click here to Skip to main content
15,897,187 members

Comments by DanaH85 (Top 11 by date)

DanaH85 16-Jan-13 4:12am View    
two more little question -
1. If the query supposed to return all users (some are active and some are not) will this solution get me all of those users properly?
2. What if the field was not boolean, but string, how will this work then?
DanaH85 16-Jan-13 4:02am View    
Thanks for the idea. It's good for the example query, it's just that my query is actually HUGE and its also really heavy, and the UNION will make it heavier.
DanaH85 22-Nov-12 4:58am View    
Sorry, I copied it wrong.
I fixed it now...
DanaH85 15-Oct-12 9:50am View    
I tried to clarify myself
DanaH85 10-Jul-12 7:07am View    
I'll give you an example:
Say you have an application which organize users' pictures.
You have Users management (you should register first), and after you register, you can add your picture and organize them in folder etc.

Now say one user has a folder called "Party" in which there are several pictures, and he chooses to delete the folder. I want that as he click the Delete button, he'll have a confirm message in which the alert itself is "Folder has some pictures in it. Are you sure you want to delete?"
under this text there will be some sort of text box in which all of the pictures' names in that folder appears (the textbox is uneditable, so the user can't change pictures names, delete picture name or add a picture name)
Then the user can press OK (and the folder and pictures are deleted) or Cancel(and then nothing is deleted)