PaidtheUmpire
Programmer
I have a work-made rental system, and i am trying to get it to figure out how to do the following...
The database looks like so...
CLIENT CODE IN DATE OUT DATE INCOME
David 6321 10/ 4/05 18/ 4/05 $150.00
Jason 6321 20/ 4/05 26/ 4/05 $ 60.00
Jason 6152 8/ 4/05 30/ 4/05 $205.50
What i want is my boss to click to select to dates from date pickers... "StatStart" and "StatFinish" and then click a button and the following data is shown (in either a StringGrid or DataGrid or some such thing)...
CODE
DAYS OF USE
NO. OF CLIENTS
INCOME DURING PERIOD
INCOME PER DAY
Any ideas how?
Delphi, Delphi, Delphi. Oi! Oi! Oi!
The database looks like so...
CLIENT CODE IN DATE OUT DATE INCOME
David 6321 10/ 4/05 18/ 4/05 $150.00
Jason 6321 20/ 4/05 26/ 4/05 $ 60.00
Jason 6152 8/ 4/05 30/ 4/05 $205.50
What i want is my boss to click to select to dates from date pickers... "StatStart" and "StatFinish" and then click a button and the following data is shown (in either a StringGrid or DataGrid or some such thing)...
CODE
DAYS OF USE
NO. OF CLIENTS
INCOME DURING PERIOD
INCOME PER DAY
Any ideas how?
Delphi, Delphi, Delphi. Oi! Oi! Oi!