HEre is the select statement I am using:
SELECT SUM(Amount) AS Paid FROM PR_23PerptHistoryDetail WHERE Dept = '99' AND EmployeeNumber = 'BARTKIM' AND (CheckDate > {d '2007-2-4'} AND CheckDate < {d '2007-2-11'} ) AND (EarningCode = '90' OR EarningCode = '97')
When this code runs, I get an...
I am trying to read a MAS 200 table in a VB.Net program to create a report. If I include the date in the "Where" statement, I get an error. If I don't include the date, I get data, and then have to go through each record to find the particular date I need.
Is there a way to read for the date in VB?
I am trying to pull some data from Mas200 into a report that is generated in VB .Net. This report will have a separate line for each agent and each week. Here is the code I am using for the read:
dsEmp.Clear()
lsEmp = "SELECT SUM(Amount) AS Paid " & _
"FROM PR_23PerptHistoryDetail " & _...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.