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

.NET (Core and Framework)

 
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 
GeneralRe: Joining Multiple Tables SQL Query Problem Pin
ratchoy01022-Jul-15 4:07
ratchoy01022-Jul-15 4:07 
GeneralRe: Joining Multiple Tables SQL Query Problem Pin
Dave Kreskowiak22-Jul-15 4:55
mveDave Kreskowiak22-Jul-15 4:55 
GeneralRe: Joining Multiple Tables SQL Query Problem Pin
Richard Deeming22-Jul-15 7:38
mveRichard Deeming22-Jul-15 7:38 
QuestionIs it possible to add Custom Suggestions to google.maps.places.Autocomplete Pin
sr15915-Jul-15 23:59
sr15915-Jul-15 23:59 
AnswerRe: Is it possible to add Custom Suggestions to google.maps.places.Autocomplete Pin
Dave Kreskowiak17-Jul-15 3:58
mveDave Kreskowiak17-Jul-15 3:58 
QuestionAsp.net front and back end confusion! Pin
George Tourtsinakis10-Jul-15 5:06
George Tourtsinakis10-Jul-15 5:06 
AnswerRe: Asp.net front and back end confusion! Pin
Pete O'Hanlon10-Jul-15 5:28
mvePete O'Hanlon10-Jul-15 5:28 
GeneralRe: Asp.net front and back end confusion! Pin
George Tourtsinakis12-Jul-15 3:59
George Tourtsinakis12-Jul-15 3:59 
GeneralRe: Asp.net front and back end confusion! Pin
Dave Kreskowiak12-Jul-15 4:29
mveDave Kreskowiak12-Jul-15 4:29 
GeneralRe: Asp.net front and back end confusion! Pin
George Tourtsinakis18-Jul-15 23:16
George Tourtsinakis18-Jul-15 23:16 
QuestionClone child gridview in nested gridview Pin
Member 118269799-Jul-15 21:20
Member 118269799-Jul-15 21:20 
AnswerRe: Clone child gridview in nested gridview Pin
User 418025428-Jul-15 8:54
User 418025428-Jul-15 8:54 
QuestionHow to get Memory usage size of each services running on Application Server using C#.net Pin
ven7538-Jul-15 20:18
ven7538-Jul-15 20:18 
AnswerRe: How to get Memory usage size of each services running on Application Server Pin
Michael_Davies8-Jul-15 20:24
Michael_Davies8-Jul-15 20:24 
GeneralRe: How to get Memory usage size of each services running on Application Server using C#.net Pin
ven7538-Jul-15 20:28
ven7538-Jul-15 20:28 
GeneralRe: How to get Memory usage size of each services running on Application Server using C#.net Pin
Michael_Davies8-Jul-15 21:08
Michael_Davies8-Jul-15 21:08 

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.