Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 5th, 2003, 03:58 PM
Registered User
 
Join Date: Aug 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Parameter Report Question(s)

Here is the gist of the problem.

I am creating a database which tracks Continuing Education Credits for a large number of independent contractors who are sourced out to companies by our a staffing company. These contractors can be full time for a single company or part time for up to 4 different companies. All companies require a certain number of training hours per year, so someone who works for company x & company y can use the continuing education credits to satisfy both companies. Each individual company requests periodic reports which list the contractors training hours. Each contractor should not know that individual contractors. I am able to store and bring up the data for individual contractors by date, company, etc. but it is cumbersome because the agency requesting the report needs to be listed on the report. There are a wide number of combinations, so that it would be impossible to create individual reports for each possibility. Can any on suggest how or where I should begin. My goal is to have a VBA script in (Access 2000) that will allow me to generate a report for individual contractors based on the agency(ies) they work for. In some instances, the requesting agency could be the 2, 3rd or 4th placement on the list. I would like to be able to create the code which will 1) ask me for the name of the agency making the request, put that agencies name on the report and list all training for a specific time period. I am able to do the time, period and agency for a single report, but there are times I would also like the report to list up to 4 companies/placements on the report (if they exist). If they are blank, I want the report to close up the space. (In other words if the contractor works for one agency the report would read

Agency 1 [value]
if there were two or more agencies the report would read
Agency 1 [Value]
Agency 2 [Value]
Agency 3 [Value]
and so on.

Any suggestions on where to begin?


Brian






Similar Threads
Thread Thread Starter Forum Replies Last Post
QueryTables.Add - Sql parameter question deviltheone Excel VBA 0 September 26th, 2008 11:49 AM
crystal report parameter angelboy C# 2005 2 April 22nd, 2007 07:59 AM
XSL Variable and/or Parameter Question ripple XSLT 9 September 1st, 2006 12:16 PM
Non query Report Parameter qa BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 July 2nd, 2004 02:49 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.