473,387 Members | 1,572 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Generating report based on multiple user inputs.

jinalpatel
I have two tables
Expand|Select|Wrap|Line Numbers
  1. MainFirm
  2. Name
  3. Address
  4. City
  5. State 
  6. Zip
  7. County
  8.  
  9.  
  10. Subfirm
  11. Companyname
  12. Address 
  13. City
  14. State
  15. Zip
  16. License year
  17.  
  18.  
I want to generate report that takes user inpput of subfirm!Comapnyname and subfirm!Licenseyear.
Results should be all mainfirm fields info and it should be grouped by County

What I did is I create a form for user input which has two textboxes called txtcompany and txtyear. One command button "Generate Report"

Also made one query that is parameterised and accepts inputs from this form.

Now what??
What should I do to link all of these and generate report from the form command button??
Please help..
Aug 12 '08 #1
2 1533
Stewart Ross
2,545 Expert Mod 2GB
Hi. I do wish we could help you here, but your question really comes down to 'how do I implement everything else, starting from a few controls on a form', and really there is no way we can give more than general advice in answer to such a question. It also looks to some extent like a student project, and if it is you must understand that we cannot do your work for you, as our forum guidelines clearly state.

In general, then, you need to implement your tables properly and set 1-many relationships between the tables before you populate any of them. Design queries based on the underlying tables then base your forms and reports on those queries. It is an Access query which will accomplish the grouping you need, but we can't design it for you given that you have just two tables at present - your application is undoubtedly going to involve many more than that.

I recommend that you read any good introductory book on developing Access applications. I also recommend that you look at the sample Northwind database supplied with Access - it provides examples of main form / subform structures that may give you ideas on how to implement your database.

Good luck with your project.

-Stewart
Aug 12 '08 #2
Hi. I do wish we could help you here, but your question really comes down to 'how do I implement everything else, starting from a few controls on a form', and really there is no way we can give more than general advice in answer to such a question. It also looks to some extent like a student project, and if it is you must understand that we cannot do your work for you, as our forum guidelines clearly state.

In general, then, you need to implement your tables properly and set 1-many relationships between the tables before you populate any of them. Design queries based on the underlying tables then base your forms and reports on those queries. It is an Access query which will accomplish the grouping you need, but we can't design it for you given that you have just two tables at present - your application is undoubtedly going to involve many more than that.

I recommend that you read any good introductory book on developing Access applications. I also recommend that you look at the sample Northwind database supplied with Access - it provides examples of main form / subform structures that may give you ideas on how to implement your database.

Good luck with your project.

-Stewart
Thanks for your advise.
My tables, relationships,forms controls and report all were ready. The thing I had no idea was I don't know how to link them all. I read one book and read some of the same topics from interent and I get it worked.
Thanks for the help you do to the people like me via this forum..
Aug 13 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: jeffgeorge | last post by:
Trying to create multiple acct reports based on the selection in a list box. I've set the list box for multiple selections, and in the report data source, I have a SQL statement which is reading...
2
by: braley | last post by:
I am using MS Access 2003 and am in the process of creating a database that contains contact information and attendance data for a group of volunteers. I have created a table that contains all of...
3
by: manning_news | last post by:
Using A2K. I've been asked to modify a report currently requiring only one date parameter to now accept a date range. The main report has 2 subreports and is not bound to a table or query. The...
4
by: qtip | last post by:
I have a simple table the has First Name , Last Name, SSN, Date&Time. I have a report that will show all this information but I would like to put in at calculation to tell the difference between 2...
8
by: lauren quantrell | last post by:
When I open an Access form I can have no recordset specified, then in the form's OnOpen event I can do something like: Me.paramaters = "@SomeColumn = 22)" Me.recordsource = "dbo.sproc123" But I...
2
by: (Pete Cresswell) | last post by:
I have a situation where a bunch of statistics are being presented based on a mutual fund and a benchmark fund's monthly and quarterly returns for a given period (like 10 years....) The hitch...
3
by: jhh100 | last post by:
Hello.. I have Moderate Knowlege in Access but I'm stumped on how to figure out how to get this done.. I'll try to explain I'm trying to develop a access database that will manage engine...
32
by: wexx | last post by:
I have been looking for some time now (reading books off Safari, searching through forums,etc) I have found no solution to this problem. I turn to anyone of you that may be able to help me. I'm...
0
by: Aswanth | last post by:
I'm Working with Asp.Net with C#.. & I'm Generating Reports in SSRS-2005.. Till Now I'm Generating Reports in SSRS-2005 with Stored Procedure.. in Which I'm Generating Reports for One...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.