Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Data Reports

Posted on 2002-04-24
2
Medium Priority
?
143 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 200 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

660 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