Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with reports, help rqd pleade.

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello all,

I am having a slight problem with my reports on my database.

When I want to compile a report of items with say the word 'orange' in them, it only compiles the report with items that BEGIN with the word 'orange'. It does not list those items that have the word orange at some other point in the text, only at the beginning.

Could someone help me out with this.

Thanks in advance

Mark.
 
Hi Mark

I assume you are using a query for the basis of the report and have something like,

Select * From MyTable Where Colour Like "Orange*"

If you want records that contain orange the statement should be

Select * From MyTable Where Colour Like "*Orange*"

This looks for text either side of the word orange, the first statement would also only work if orange was the first word so I beleive.

Cheers Dave






Dave
dab@completebs.com
See website for more info but we can develop most things for most people.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top