Solved

Data Reports

Posted on 2002-04-24
2
137 Views
Last Modified: 2010-05-02
I have a form with a text box and a command button.

If i click the button a report should be generated for the number which i have entered in the text box.

If i pass the query in the Dataenvironment as below
it works fine.

select * from client_table where(number='c.c.no1')

How should i pass the query to place the text box value instead of the above value.

If u could not understand the question plz mail me

@ vivek_g_r@rediffmail.com

Thanx

Vivek
0
Comment
Question by:vivek_chozha
2 Comments
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 50 total points
ID: 6965745
Assuming your text box is called Text1 than your SQL statement should look like:

"select * from client_table where number='" & Text1.Text & "'"

Anthony
0
 

Author Comment

by:vivek_chozha
ID: 6965793
Thanx a lot Antony.

I will soon contact thru mail.

Thanx once again.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now