C
Chumley Walrus
IN a c-sharp program that displays results in a datagrid, I have daily
sales records that i need to grab out of a database, but I
only need to grab those from the present week (starting on Monday). I
will need to add those daily sales amounts and lump them in one sum.
I'm trying to use sql strings similar to this:
select sum(salestoday) from transactions where thedate = " +
date.now(thisweek) + "
but having tough time grabbing each salestoday amount from each day of
the present week.
Any help greatly appreciated
chumley
sales records that i need to grab out of a database, but I
only need to grab those from the present week (starting on Monday). I
will need to add those daily sales amounts and lump them in one sum.
I'm trying to use sql strings similar to this:
select sum(salestoday) from transactions where thedate = " +
date.now(thisweek) + "
but having tough time grabbing each salestoday amount from each day of
the present week.
Any help greatly appreciated
chumley