473,569 Members | 2,490 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Data field specific reports and combo boxes

2 New Member
I have been asked by worklace to try and make a database for them, i have some experience but have encountered a problem making user specific reports. I need to make a report based on a person stored within the data base showing a series of data where i single field is null,
So the things i need to know is:

*How to make a query to pull out only data related to a specific field
*How to make that field be that the report will be based on selectable from a combo box on running the query.

I can make combo boxes and can make macros bindings to buttons, and have a front end form already made. I am just having issues wrapping my head around the making of the actual report and being able to select the right person from the list. The people who will be using the database are not very familiar with access so it needs to be as user friendly as possible.

Thankyou for your time and help and i hope to hear from somebody soon
Nov 9 '07 #1
3 1676
NeoPa
32,564 Recognized Expert Moderator MVP
A report runs based on a data source (usually query or table).
When running a report it is perfectly possible to filter the data that is returned and processed.
A ComboBox for selecting the item to filter is the usual way to do something like this. Have a look in Example Filtering on a Form to see the concept in action.
Macros are not a very flexible or pwerful way to use Access. VBA code in modules gives better and more manageable results.
Let us know how you get on.
Nov 9 '07 #2
jaymaelescent
2 New Member
The example you gave does not comform with what i am trying to do at all. I have 3 tables a User table (with user number primary key), Job table (also primary keyed with a job number) and a tasks table (also with a task number primary key). I have crated a front end for the form which will be used by people have have next to no access experience at all. What i need to do is make a button on the front end (already made just not linked to anything yet) that when clicked will bring up a combobox for where they can select a person (based off the persons ID number in the user table) from the dropdown list and that will generate a report specific to the selected person ONLY. It will need to have data from the the tasks table sorted by the jobs in the job table. They will also need the reverse report, Unique to job type (job table) and sorted by user. This has been a thorn in my side for some time and i would appreciate any help if at all possible. I am not really familiar with visual basic so code isnt of much use to me unless it has explicit instructions on how to use it. Thanks for your time
Jay.
Nov 12 '07 #3
NeoPa
32,564 Recognized Expert Moderator MVP
Jay,
Without code you can do basic database type things in Access. If you want to call reports with a filter which is controlled by selections on a form then the best way is certainly to use code.

A rather kludgy alternative might be to design the report itself to filter on the specific control within a form. I would certainly not recommend that approach but if that's what you choose to do I can possibly help you get there. It does mean that you will need to be very clear with what you have in your database. Proper names for all objects will be required and clear explanatioins of how it fits together. I can't promise even then that all requirements will be met, but we shoult be able to filter the report to a single user at least. I would stress that this is not a recommended approach.
Nov 12 '07 #4

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

Similar topics

1
2367
by: hawk | last post by:
I am creating a series of custom reports, whose parameters are specified through combo boxes in a form, which then generates a custom report based on a series of calculation queries. My problem is this...at the top of the report I've inserted several text boxes which link to the combo boxes on the entry form, and are supposed to show which...
4
2277
by: CSDunn | last post by:
Hello, I have a combo box (Combo7) that needs to call a function during the After Update event of the combo box. The function resides in an Access 2000 ADP Module called MMAnswerData_code. The following is the code of the function: Public Function SubFormRS(FrmTarget As Object) Forms!frmAD_OpeningForm!FrmTarget.RecordSource = "EXEC...
12
2270
by: Nhmiller | last post by:
When I start to type the data for a new record, I would like a dropdown box to open next to it from which I can choose the data from a previously entered record that starts with the same letter. This is the way my previous database, Approach, worked. I have tried using the form design toolbox wizard for this but have had no success. I perused...
2
2412
by: Rooksarii | last post by:
Hello folks, Let me first apologize for any impropper terminology I may use as I am presently trying to broaden my Office knowledge by diving into Access head on. My specific problem is this. I have a field in one of my tables that references a value in another table via a list box. Next to it, instead of manually creating another list...
4
1967
by: Miguel | last post by:
I have synchronized combo boxes linking Account Type with Customer Names based on the template that Microsoft has in one of its samples databases. There are the appropriate relationships between the Account Type Table and the Customer Name Table based on the ID field, so it is the ID field which is stored in the main table. However, in the...
7
1839
by: badboybrown | last post by:
I know that this is an age old question and it has been approached a few times, but I've hit a wall and require some help. I have various combo boxes that contain values that are both "current" and "not current". The problem is if you try to limit the drop down to only the "current" values then your old records show a blank if the field...
7
1334
by: Darhl Thomason | last post by:
Does VB2005 have a wizard for creating a form based on an Access db? I know that VB6 had this, but I can't seem to find anything similar in VB2005. Thanks! Darhl
8
2192
by: AA Arens | last post by:
Hi I do have a products table and products-parts table in my Access 2003 database and log all services into a form. I do have at least the following two combo boxes on my form: - Choose Product where as the Row Source (See properties): SELECT tblProducts.ProductName, tblProducts.ProductName FROM tblProducts ORDER BY ProductName;
9
4002
by: Anil Gupte | last post by:
After reading a tutorial and fiddling, I finally got this to work. I can now put two tables created with a DataTable class into a DataRelation. Phew! And it works! Dim tblSliceInfo As New DataTable("SliceInfo") Dim tblSliceRatings As New DataTable("SliceRatings") '.... All the adding datacolumns, datarows, etc. goes here.. ...
0
7618
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7926
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8132
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7982
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5222
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3656
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3644
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2116
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1226
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.