Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium



Posted on 2003-02-28
Medium Priority
Last Modified: 2010-05-03
I am working on a project and facing problem in making a report. well i need a runtime report. but when i try to access it the whole data from the database comes into the report. can i anyone help me in it. well i am using VB report. so any code for it plz let me know. or if anyone can generate it so here is a example:
there is one textbox and value is coming in it from database when i click a button a report generate with only the value which is in the text box. or if i   search a name and it make a report with the same name as much as it is. i hope i will get a positive response.

Question by:zubairo

Expert Comment

ID: 8047247
you have to change the SQL Statement of the 'Command' object in the data environment that is bound to your report at the runtime to get your desired result.
LVL 70

Accepted Solution

Éric Moreau earned 200 total points
ID: 8047669

Expert Comment

ID: 8900952
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Experts: Post your closing recommendations!  Who deserves points here?
LVL 49

Expert Comment

ID: 9001760
zubairo, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    Save as PAQ -- No Refund.

DanRollins -- EE database cleanup volunteer
LVL 70

Expert Comment

by:Éric Moreau
ID: 9003776
My recommandation: points to emoreau. The link gives an example of a parametrized report.

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month11 days, 8 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question