Click here to Skip to main content
15,902,938 members

Comments by pykos (Top 26 by date)

pykos 4-May-16 4:52am View    
"According to your description, it's not "repeated", its just creating as many instances as some items. But even if you do that, imagine how much mess it could be." Exactly my problem. I dont want it to open as many windows as there are items. I would like it to do this in a controlled maner so that a new form is opened only when one is finished. But this is a little out of my league as far as WPF goes. Should I use events, or something else? Thx
pykos 25-Apr-16 12:59pm View    
Well Im sorry if it came out that way... So let me try to explain a bit. I have created an outlook addin for adding email's to our DMS. In the begining it was ment to save 1 email at once (and that works great), but now requirements have changed and the program needs to save multiple items in one go. What I now need to do is toredisplay the document form for every email that user selects (I use user controls and switch them around in MainVM, there are only 3 different forms). Im trying to use mvvm as much as possible and I haven't been able to find a usefull solution on the internet (to be honest I dont know what to ask google :)). Im not asking for a compleate solution im asking about how to tackle this. Or how wolud you guys try to do this... Thx, B
pykos 25-Feb-15 2:19am View    
Yep this works... is there a cleaner/better way to achive the same result?
pykos 24-Feb-15 14:58pm View    
So how do I solve this problem? I do need this result as I dont think that this imposible to achive? Multiple statements and UNION between them?
pykos 24-Feb-15 14:50pm View    
Or does not return the result that I want. If there is an or in the query I get all the atendees that were in atlest 1 event. What I want is to get only the atendees that were in two or more events (the user of the app selects wich evnt he wants to filter atendees by)... Im building this query dynamicaly and there are other fields and filters that user can apply.

Shuld I be using a UNION operator and split the query so that there are no AND operators in the WHERE clause?