Click here to Skip to main content
15,889,808 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Line in Volume control! Pin
User 989707410-Feb-17 4:03
User 989707410-Feb-17 4:03 
GeneralRe: Line in Volume control! Pin
Gerry Schmitz10-Feb-17 11:19
mveGerry Schmitz10-Feb-17 11:19 
GeneralRe: Line in Volume control! Pin
User 989707412-Feb-17 4:28
User 989707412-Feb-17 4:28 
QuestionHow to Download File and Upload in Datagridview VB.NET Pin
Mitsunari Ishida30-Jan-17 15:18
Mitsunari Ishida30-Jan-17 15:18 
AnswerRe: How to Download File and Upload in Datagridview VB.NET Pin
Richard MacCutchan30-Jan-17 22:20
mveRichard MacCutchan30-Jan-17 22:20 
AnswerRe: How to Download File and Upload in Datagridview VB.NET Pin
Simon_Whale30-Jan-17 23:16
Simon_Whale30-Jan-17 23:16 
QuestionLinq, I get an extra blank record on GroupBy, How to select it out Pin
jkirkerx27-Jan-17 12:04
professionaljkirkerx27-Jan-17 12:04 
AnswerRe: Linq, I get an extra blank record on GroupBy, How to select it out Pin
Richard Deeming28-Jan-17 2:58
mveRichard Deeming28-Jan-17 2:58 
Assuming FSALESPN and FSALESREP represent the same thing, you could add a filter to your query:
SQL
SELECT
   h.FSALESPN, 
   h.FPERIOD, 
   h.FCSAMT
FROM 
    ARINV01H.dbf h
WHERE 
    h.FSHIPDATE >= @FSTART
AND 
    h.FSHIPDATE <= @FSTOP
AND
    h.FSALESPN Is Not Null

Or you could add a filter to your LINQ query:
VB.NET
Dim gSalesReps As List(Of model_salesChampions) = invoices
    .Where(Function(sR) sR.FSALESREP IsNot Nothing)
    .GroupBy(Function(sR) sR.FSALESREP, Function(salesRep, cl) New model_salesChampions() With {
    .salesrep_ID = salesRep,
    .salesrep_Name = String.Empty,
    .P1 = cl.Where(Function(p1) p1.FPERIOD = rT & "01").Sum(Function(p1) p1.FCSAMT),
    ...
}).ToList()




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Linq, I get an extra blank record on GroupBy, How to select it out Pin
jkirkerx30-Jan-17 7:13
professionaljkirkerx30-Jan-17 7:13 
Questionbindingsource.filter not working Pin
Member 1108983127-Jan-17 1:03
Member 1108983127-Jan-17 1:03 
AnswerRe: bindingsource.filter not working Pin
Eddy Vluggen27-Jan-17 1:15
professionalEddy Vluggen27-Jan-17 1:15 
GeneralRe: bindingsource.filter not working Pin
Member 1108983127-Jan-17 4:26
Member 1108983127-Jan-17 4:26 
AnswerRe: bindingsource.filter not working Pin
Richard Deeming27-Jan-17 2:07
mveRichard Deeming27-Jan-17 2:07 
GeneralRe: bindingsource.filter not working Pin
Member 1108983127-Jan-17 4:23
Member 1108983127-Jan-17 4:23 
GeneralRe: bindingsource.filter not working Pin
Richard Deeming27-Jan-17 4:26
mveRichard Deeming27-Jan-17 4:26 
GeneralRe: bindingsource.filter not working Pin
Member 1108983127-Jan-17 7:20
Member 1108983127-Jan-17 7:20 
GeneralRe: bindingsource.filter not working Pin
Richard Deeming27-Jan-17 7:37
mveRichard Deeming27-Jan-17 7:37 
QuestionHow to compare 2 different text file lines and then process information if a match is in both file lines - Please help Pin
Member 1186689324-Jan-17 5:29
Member 1186689324-Jan-17 5:29 
AnswerRe: How to compare 2 different text file lines and then process information if a match is in both file lines - Please help Pin
Richard Deeming24-Jan-17 6:02
mveRichard Deeming24-Jan-17 6:02 
GeneralRe: How to compare 2 different text file lines and then process information if a match is in both file lines - Please help Pin
Member 1186689324-Jan-17 8:13
Member 1186689324-Jan-17 8:13 
GeneralRe: How to compare 2 different text file lines and then process information if a match is in both file lines - Please help Pin
Richard MacCutchan24-Jan-17 8:38
mveRichard MacCutchan24-Jan-17 8:38 
GeneralRe: How to compare 2 different text file lines and then process information if a match is in both file lines - Please help Pin
Member 1186689324-Jan-17 9:07
Member 1186689324-Jan-17 9:07 
GeneralRe: How to compare 2 different text file lines and then process information if a match is in both file lines - Please help Pin
Richard MacCutchan24-Jan-17 9:37
mveRichard MacCutchan24-Jan-17 9:37 
GeneralRe: How to compare 2 different text file lines and then process information if a match is in both file lines - Please help Pin
Member 1186689324-Jan-17 10:03
Member 1186689324-Jan-17 10:03 
PraiseRe: How to compare 2 different text file lines and then process information if a match is in both file lines - Please help Pin
Member 1186689325-Jan-17 5:42
Member 1186689325-Jan-17 5:42 

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.