473,387 Members | 1,757 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.

Creating Reports

Hi there...
I'm busy with a project where I view my information in forms. I get to choose the info I want using comboboxes. All info viewed, is in my tables, and also stored in a query. I have now, created a report from this query, but I only want to generate a report, showing only the records I chose in my form. When I click the button on this form, everything in the query is displayed, but I do not want this to happen.
I only want to generate a report, showing only the records I chose in my form.
How do I do this?Please Help :-(
Sep 7 '09 #1
6 1584
yarbrough40
320 100+
choose edit form. then delete the individual items you don't want.
Sep 7 '09 #2
missinglinq
3,532 Expert 2GB
Kappucino XL is not talking about deleting fields from the report but about only including selected records!

How are you "selecting" which records to include? One way would be to have a Yes/No checkbox field in your underlying table to tick to select a record, then have your report based on a query that only pulls records whose checkbox has a value of Yes.

You'll probably want to include code in the buttton that runs the report to reset the value of all checkboxes to No.

Linq ;0)>
Sep 7 '09 #3
beacon
579 512MB
It almost sounds like you want to dynamically choose the parameters for your report at any given time during data entry. You may want to check out this website, http://www.fontstuff.com/access/acctut08.htm, and see if it helps.

I usually create a form separately to run reports with parameters, but I can't see any reason why this method wouldn't work for you in the form you are currently working on. The setup is mostly in the query and then the event is placed in the code for the button on the form.

As you'll see in the link, all you'd have to do is setup the fields to accept parameters on the query and have the command button open the report. The report will then go to the query and put the parameters in place.
Sep 7 '09 #4
NeoPa
32,556 Expert Mod 16PB
When you open the report, simply pass a Filter parameter to the call that matches the criteria you need.

That's about as precise as we can be without any further information. See Linq's post for questions that may help direct you to a viable solution if this is not enough for you.
Sep 7 '09 #5
@missinglinq
Thanx Guys!
I do however, am still battling with the code for resetting my checked checkboxes to false. I tried the SET-PROPERTY MACRO EVENT. gives me errors. In VBA, I tried setting the Value to FALSE, but I still get ERRORS.
Please help,AGAIN.
Otherwise, everything else is running smooyhly... ;-)
Sep 8 '09 #6
NeoPa
32,556 Expert Mod 16PB
It's hard to help when you haven't really explained what you want help with.

You have to ask the question first. Your actual question has been answered. For more help you need to ask the question you should have asked.
Sep 8 '09 #7

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

Similar topics

1
by: longtim | last post by:
I have been having endless difficulty creating reports/queries that set any relevent parameters from controls in forms. I am creating an application under access 2003 but will target access...
5
by: Mike | last post by:
I am writing a .NET application in C# that uses Crystal Reports. I want the crystal reports to grab information from a database no matter where the database is located. To do this, I want to...
2
by: Joe_Black | last post by:
Hi all, I want to create an MDI app that allows reporting on XML data files downloaded from the equipment that we manufacture, this MDI app will have several default reports but due to the...
3
by: Przemo | last post by:
Hi, I have an ASP.NET 2.0 application. I need to generate some documents (reports) like invoices, orders, etc. Users need them to preview and print. Which of methods is the best for doing it:...
3
by: erick-flores | last post by:
Hello all I am creating an Expense Report. There are to types of expenses: Company expenses and Reimb Expeneses. The company expenses is under "Expense Details Co" table and Reimb Expenses is...
2
by: Argonath | last post by:
Hi, I'm afraid this will no doubt horrendously basic as I'm a complete newbie to VB and have dived in without learning to do much... Start in the deep end and all. So if anyone could help, I'd...
3
by: Andy Baker | last post by:
I have a utility that captures a signature on a handheld device and stores it as as string containing a series of points. I want to recreate this signature as a bmp file using VB.NET code. To do...
1
by: BK | last post by:
A little rant first... I have 15+ years experience with developing software. Why is it that everything related to creating reports in .NET seems so convoluted to me? I don't want to use...
4
by: sklett | last post by:
I've developed an ERP application that we use internally and works quite well. I receiving more and more requests from users to print various transactions, order forms, search results, etc. I...
0
by: jai83 | last post by:
hi, How can Stored procedures be used in oracle reports for creating reports instead of SQL queries? Thank you.
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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.