Click here to Skip to main content
15,888,000 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionsearch a record Pin
waner michaud24-Jul-09 6:52
waner michaud24-Jul-09 6:52 
AnswerRe: search a record Pin
Ian Shlasko24-Jul-09 6:57
Ian Shlasko24-Jul-09 6:57 
GeneralRe: search a record Pin
waner michaud24-Jul-09 8:40
waner michaud24-Jul-09 8:40 
GeneralRe: search a record Pin
Ian Shlasko24-Jul-09 9:04
Ian Shlasko24-Jul-09 9:04 
GeneralRe: search a record Pin
waner michaud7-Aug-09 10:02
waner michaud7-Aug-09 10:02 
AnswerRe: search a record Pin
DJ Matthews24-Jul-09 7:10
DJ Matthews24-Jul-09 7:10 
Questioncalculating sum in a view Pin
Ebube24-Jul-09 3:18
Ebube24-Jul-09 3:18 
AnswerRe: calculating sum in a view Pin
Mike Ellison24-Jul-09 4:04
Mike Ellison24-Jul-09 4:04 
This is really a SQL question, not a VB question and should probably belong in the General Database forum.

That said, I'm having a difficult time trying to figure out what you're asking. Is it that your view is doing one level of aggregation, and you need a second (grouping then by item code)? If so, you can use the query you have as a subquery, nested inside another that performs that second level of aggregation:

SELECT ITEM_CODE, SUM(...)
FROM
(
-- original query
SELECT CASE WHEN LEFT(e.dcode,1) = '1' THEN ...
...
) x
GROUP BY ITEM_CODE


Questionhow to select datagrid row using keyboard ??? Pin
JC.KaNNaN24-Jul-09 3:06
JC.KaNNaN24-Jul-09 3:06 
AnswerRe: how to select datagrid row using keyboard ??? Pin
Muhammad Mazhar24-Jul-09 3:25
Muhammad Mazhar24-Jul-09 3:25 
GeneralRe: how to select datagrid row using keyboard ??? Pin
JC.KaNNaN24-Jul-09 19:01
JC.KaNNaN24-Jul-09 19:01 
Questioncode change for right to left language Pin
MA Awan24-Jul-09 3:04
MA Awan24-Jul-09 3:04 
AnswerRe: code change for right to left language Pin
Muhammad Mazhar24-Jul-09 3:30
Muhammad Mazhar24-Jul-09 3:30 
GeneralRe: code change for right to left language Pin
MA Awan26-Jul-09 6:34
MA Awan26-Jul-09 6:34 
QuestionExcel - save without data connection and macros Pin
DaveyM6924-Jul-09 2:21
professionalDaveyM6924-Jul-09 2:21 
AnswerRe: Excel - save without data connection and macros Pin
EliottA24-Jul-09 2:51
EliottA24-Jul-09 2:51 
GeneralRe: Excel - save without data connection and macros Pin
DaveyM6924-Jul-09 3:01
professionalDaveyM6924-Jul-09 3:01 
GeneralRe: Excel - save without data connection and macros Pin
Mycroft Holmes24-Jul-09 23:27
professionalMycroft Holmes24-Jul-09 23:27 
GeneralRe: Excel - save without data connection and macros Pin
DaveyM6925-Jul-09 8:17
professionalDaveyM6925-Jul-09 8:17 
Questionfiscal printer or fiscal devise Pin
ivo7524-Jul-09 0:44
ivo7524-Jul-09 0:44 
AnswerRe: fiscal printer or fiscal devise Pin
DoctorMick24-Jul-09 1:13
DoctorMick24-Jul-09 1:13 
AnswerRe: fiscal printer or fiscal devise Pin
Mycroft Holmes24-Jul-09 23:31
professionalMycroft Holmes24-Jul-09 23:31 
QuestionDatagridview combobox issue Pin
Josejalapeno24-Jul-09 0:25
Josejalapeno24-Jul-09 0:25 
QuestionWhy does Microsoft do this or am I missing something:Keypress event missing in VB.NET 2008 Pin
Member 442053423-Jul-09 20:51
Member 442053423-Jul-09 20:51 
AnswerRe: Why does Microsoft do this or am I missing something:Keypress event missing in VB.NET 2008 Pin
Tom Deketelaere23-Jul-09 21:17
professionalTom Deketelaere23-Jul-09 21:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.