bhalo_manush
New member
- Local time
- Today, 09:47
- Joined
- May 9, 2012
- Messages
- 4
I need some help with an issue in a database i am working on currently.
Basically the database that I have is a database for keeping account numbers of our clients. Among other things what is stored in the table is: name of account holder, the date account opening application is received and the account number. This is in "tbl_accounts" table. In another table ("tbl_schemes") we store the scheme account numbers. The two tables are related via the ID field of tbl_accounts. This means, one customer (who will have one account number) can open one or more schemes. Every scheme will be assigned a scheme number similar to the account number. There are 4 types of schemes. The tbl_schemes table has a structure as follows:
ID
AccountID (the autonumber key of tbl_accounts)
Date application received
Scheme Account Number
Scheme Type
...
What I need is to generate a report where I will be able see the number of accounts opened betwen a certain date range (not fixed. parametered). However, the report is going to be monthly ie show the number of accounts opened each month. Also in the same report, it is going to show the number of schmes opened according to the type for that corresponding month.
Please suggest how to do this the best way. Note that I am not too familiar with Pivot Tables and crosstab query. However I am ready to implement the best way to achieve my requirement.
Thanks
Chris.
Basically the database that I have is a database for keeping account numbers of our clients. Among other things what is stored in the table is: name of account holder, the date account opening application is received and the account number. This is in "tbl_accounts" table. In another table ("tbl_schemes") we store the scheme account numbers. The two tables are related via the ID field of tbl_accounts. This means, one customer (who will have one account number) can open one or more schemes. Every scheme will be assigned a scheme number similar to the account number. There are 4 types of schemes. The tbl_schemes table has a structure as follows:
ID
AccountID (the autonumber key of tbl_accounts)
Date application received
Scheme Account Number
Scheme Type
...
What I need is to generate a report where I will be able see the number of accounts opened betwen a certain date range (not fixed. parametered). However, the report is going to be monthly ie show the number of accounts opened each month. Also in the same report, it is going to show the number of schmes opened according to the type for that corresponding month.
Please suggest how to do this the best way. Note that I am not too familiar with Pivot Tables and crosstab query. However I am ready to implement the best way to achieve my requirement.
Thanks
Chris.