-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: ssv_2000
Message 16 in Discussion
Like Raja suggested, Break the user entered string at commas and get the 4 values say
wInput1, wInput2, wInput3 and wInput4. To search whether these 4 values exists in the
Table Field, it would be easier if u appended commas at the beginning and the end and
then checked like - Select count(*) as MatchingRecords from Table where
charindex(","+wInput1+",",","+TableFld+",") > 0 and
charindex(","+wInput2+",",","+TableFld+",") > 0 and
charindex(","+wInput3+",",","+TableFld+",") > 0 and
charindex(","+wInput4+",",","+TableFld+",") if MatchingRecords>0 then..... else ...
U can put in the additional checks as required like do the check on wInput4 only if
wInput4<>"" etc... Vidya.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]