Click here to Skip to main content
15,912,205 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: petition Pin
Pete O'Hanlon22-Aug-15 12:55
mvePete O'Hanlon22-Aug-15 12:55 
GeneralRe: petition Pin
Nitzan Levi22-Aug-15 19:45
Nitzan Levi22-Aug-15 19:45 
QuestionSendMailAsync() doesn't work in Console application. Pin
Member 118814092-Aug-15 23:06
Member 118814092-Aug-15 23:06 
AnswerRe: SendMailAsync() doesn't work in Console application. Pin
Pete O'Hanlon3-Aug-15 0:39
mvePete O'Hanlon3-Aug-15 0:39 
GeneralRe: SendMailAsync() doesn't work in Console application. Pin
Member 118814093-Aug-15 1:29
Member 118814093-Aug-15 1:29 
GeneralRe: SendMailAsync() doesn't work in Console application. Pin
Pete O'Hanlon3-Aug-15 1:31
mvePete O'Hanlon3-Aug-15 1:31 
GeneralRe: SendMailAsync() doesn't work in Console application. Pin
Member 118814093-Aug-15 2:11
Member 118814093-Aug-15 2:11 
GeneralRe: SendMailAsync() doesn't work in Console application. Pin
Pete O'Hanlon3-Aug-15 2:15
mvePete O'Hanlon3-Aug-15 2:15 
GeneralRe: SendMailAsync() doesn't work in Console application. Pin
Member 118814093-Aug-15 2:24
Member 118814093-Aug-15 2:24 
GeneralRe: SendMailAsync() doesn't work in Console application. Pin
Richard Deeming3-Aug-15 2:22
mveRichard Deeming3-Aug-15 2:22 
QuestionMultiple file selection issue in v3.5 Pin
Aniiil30-Jul-15 2:04
Aniiil30-Jul-15 2:04 
SuggestionRe: Multiple file selection issue in v3.5 Pin
Richard MacCutchan30-Jul-15 4:38
mveRichard MacCutchan30-Jul-15 4:38 
QuestionFiltering selections Pin
Member 1187104228-Jul-15 23:17
Member 1187104228-Jul-15 23:17 
AnswerRe: Filtering selections Pin
Richard MacCutchan29-Jul-15 0:43
mveRichard MacCutchan29-Jul-15 0:43 
QuestionWhy is it that Metro style apps do not include "Imports System.Data.SqlClient"? Pin
Ray Raymos26-Jul-15 0:00
Ray Raymos26-Jul-15 0:00 
SuggestionRe: Why is it that Metro style apps do not include "Imports System.Data.SqlClient"? Pin
Richard MacCutchan26-Jul-15 1:24
mveRichard MacCutchan26-Jul-15 1:24 
GeneralRe: Why is it that Metro style apps do not include "Imports System.Data.SqlClient"? Pin
Afzaal Ahmad Zeeshan26-Jul-15 2:30
professionalAfzaal Ahmad Zeeshan26-Jul-15 2:30 
AnswerRe: Why is it that Metro style apps do not include "Imports System.Data.SqlClient"? Pin
Afzaal Ahmad Zeeshan26-Jul-15 2:30
professionalAfzaal Ahmad Zeeshan26-Jul-15 2:30 
QuestionHow to find which DIV is selected and get selected DIV element values in jquery Pin
sr15924-Jul-15 0:37
sr15924-Jul-15 0:37 
AnswerRe: How to find which DIV is selected and get selected DIV element values in jquery Pin
Pete O'Hanlon24-Jul-15 1:03
mvePete O'Hanlon24-Jul-15 1:03 
Questioncheck data prior to insert Pin
Member 1185289422-Jul-15 8:04
Member 1185289422-Jul-15 8:04 
AnswerRe: check data prior to insert Pin
Michael_Davies22-Jul-15 8:41
Michael_Davies22-Jul-15 8:41 
AnswerRe: check data prior to insert Pin
Daniel Pfeffer22-Jul-15 9:23
professionalDaniel Pfeffer22-Jul-15 9:23 
QuestionJoining Multiple Tables SQL Query Problem Pin
ratchoy01021-Jul-15 22:16
ratchoy01021-Jul-15 22:16 
I have a problem in trying to make an Inventory Report using crystal report in my Sales and Inventory System using vb.net.

I have two tables (Purchase and Sales). Whenever I used this line of code, It will give the correct total item purchased with Item name in a given date:

VB
str = "SELECT Purchase.Item,  SUM(Purchase.Quantity_received)  as Purchases FROM Purchase WHERE " _
          & " Purchase.PO_Date between #" & dtfrom.Value.ToShortDateString & "# AND #" & dtto.Value.ToShortDateString _
        & "#  GROUP BY Purchase.Item"


When using the line of code below, the total item purchased in a given date will be no longer the same and correct. I'am confused with how will I correctly join and group multiple tables.

VB
str = "SELECT Purchase.Item,  SUM(Purchase.Quantity_received)  as Purchases, SUM(Sales.Quantity) as Sold FROM Purchase INNER JOIN Sales ON Purchase.Item=Sales.Item_Description WHERE " _
   & " Purchase.PO_Date between #" & dtfrom.Value.ToShortDateString & "# AND #" & dtto.Value.ToShortDateString _
    & "# AND Sales.Sales_Date between #" & dtfrom.Value.ToShortDateString & "# AND #" & dtto.Value.ToShortDateString _
   & "#  GROUP BY Purchase.Item"


I want the following result in my crystal report:

1. To have a complete Item Name list of my Purchases with the corresponding Quantity of the total purchase ordered in the given date
2. To get the total Quantity of Items Sold in the given date
3. To get the remaining stocks in the given date

Any help would be much appreciated. Thank you.
AnswerRe: Joining Multiple Tables SQL Query Problem Pin
Richard Deeming22-Jul-15 1:04
mveRichard Deeming22-Jul-15 1:04 

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.