Viewing 5 posts - 1 through 6 (of 6 total)
any way thank you for help.
For my question I got it as I told you in previous post.
Thank you again.
October 25, 2008 at 7:59 am
I'm trying to connect from Vb2005 to Ms Access
and here is the solution for my Question
" SELECT B,C,D,E,SUM( IIF(A='Buy', F, -F,) ),LAST(G),LAST(H) FROM Table1 Where A IN ('Buy','Sell','Damage') GROUP BY...
October 25, 2008 at 5:13 am
Grant Fritchey (10/24/2008)
By the way, what's DBAccess?
Yes, DBAccess and I'm using one Table
October 24, 2008 at 12:15 pm
Is this correct?
SELECT B,C,D,E, UNION(SELECT B,C,D,E, SUM(F) Where A='Buy' GROUP BY B,C,D,E ") +((SELECT B,C,D,E, SUM(F) Where A='Sell' GROUP BY B,C,D,E ")-(SELECT B,C,D,E, SUM(F) Where A='Damage' GROUP BY B,C,D,E...
October 24, 2008 at 11:16 am
Viewing 5 posts - 1 through 6 (of 6 total)