Use a SQL query
SELECT *
FROM YourTableName
WHERE Staff LIKE '%test%'
-----Original Message-----
From: razher2000 [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 24, 2004 12:20 PM
To: [EMAIL PROTECTED]
Subject: [vbhelp] Instr Help Required
Instr Help Required
AOA
i got stuck with a problem while trying to use Instr Function in a
querry, what i want to get all the Records containg a particular
string in a sprcified field and then display them in MSHFlex Grid.
I m trying to use
Exp1: Instr(1,<field name>,"test")
for my database that is
Exp1: Instr(1,[name],"test")
here name is the field name.
but what i m getting is the first record
how can i get all the records containg the word test in the field staff
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [EMAIL PROTECTED]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Sponsor
ADVERTISEMENT
<http://us.ard.yahoo.com/SIG=1290cc105/M=295196.4901138.6071305.3001176/
D=groups/S=1705115364:HM/EXP=1098731941/A=2128215/R=0/SIG=10se96mf6/*htt
p://companion.yahoo.com> click here
<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
s/S=:HM/A=2128215/rand=369228942>
_____
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~->
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [EMAIL PROTECTED]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/