PLease HELP ???????

oceanman

New Member
Joined
Mar 19, 2005
Messages
9
Dear All

I have a small problem in Access :

I have a table named " Table1" which has the following details :

ID Name
---------------------------
1 Lewis Alex & Co
2 Lewis & Co
3 Field & Lewis Co
4 Morgan & Co
-----------------------------------

Also I Have a Query named "Query1" which is as follows

SELECT Table1.ID, Table1.Name
FROM Table1
WHERE (((Table1.Name)=[Forms]![Form1]![txtname] & "*"));

------------------------------------------------

Also I have a form named " Form1" in which i have a text box named "txtname" and a command button "cmdOK"

I have opend the Query1 on click event of cmdOK. Everything runs fine but no data is displayed if i enter "Lewis" in the textbox and press OK.

PLeaseeeeeeeee. Can someone help me and tell me what is wrong.

Thanks in Advance.


:eek: :biggrin: :(
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
See my response in your other post.
 
Upvote 0

Forum statistics

Threads
1,221,902
Messages
6,162,724
Members
451,782
Latest member
LizN

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top