UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Filter Query using Form Data    
 
   
CrystalBaller
post Jan 19 2006, 09:39 AM
Post #1

New Member
Posts: 13



i'm trying to build a search form where you can enter part of a surname in a text box and a query will find all records that include that string

in the query if i type:

like s*

in the criteria it will show all records beginning with s

if i type

like [Forms]![Form1]![Surname]*

it will only show records that exactly as they were typed. can anyone explain to me why it is doing this and how i can acheive my goal? i feel like i'm missing something simple

thanks

CB
Go to the top of the page
 
+
fkegley
post Jan 19 2006, 09:40 AM
Post #2

UtterAccess VIP
Posts: 23,583
From: Mississippi



CB, try this:

like [Forms]![Form1]![Surname] & "*"
Go to the top of the page
 
+
CrystalBaller
post Jan 19 2006, 11:13 AM
Post #3

New Member
Posts: 13



Thanks mate that was exactly what i needed. its working now

thank you
Go to the top of the page
 
+
fkegley
post Jan 19 2006, 11:15 AM
Post #4

UtterAccess VIP
Posts: 23,583
From: Mississippi



Very good then. You're welcome. I am glad I was able to help.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 20th May 2013 - 11:48 AM