PC Review


Reply
Thread Tools Rate Thread

How to design a pattern serach in MS Access database from FrontPag

 
 
=?Utf-8?B?Y2hhb2x1?=
Guest
Posts: n/a
 
      15th Jul 2005
?How to design a pattern search in MS Access database from FrontPage? I have
custom SQL code :
Select * from My_database where "check" like '*::check::*'
This does not work.

Select * from My_database where "check" = '::check::'
This work.

So, I know all the database connection or select statement works fine.
Can export tell me how to make a 'pattern search' work with MS Access
database through FrontPage?

Thanks!


 
Reply With Quote
 
 
 
 
Thomas A. Rowe
Guest
Posts: n/a
 
      15th Jul 2005
Try:

Select * from My_database where check LIKE '%" & check & "%' "


--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"chaolu" <(E-Mail Removed)> wrote in message
news:C12FA479-6372-4197-9089-(E-Mail Removed)...
> ?How to design a pattern search in MS Access database from FrontPage? I have
> custom SQL code :
> Select * from My_database where "check" like '*::check::*'
> This does not work.
>
> Select * from My_database where "check" = '::check::'
> This work.
>
> So, I know all the database connection or select statement works fine.
> Can export tell me how to make a 'pattern search' work with MS Access
> database through FrontPage?
>
> Thanks!
>
>



 
Reply With Quote
 
=?Utf-8?B?Y2hhb2x1?=
Guest
Posts: n/a
 
      16th Jul 2005
Thank you, and I'll try it on Monday.

"Thomas A. Rowe" wrote:

> Try:
>
> Select * from My_database where check LIKE '%" & check & "%' "
>
>
> --
> ==============================================
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> ==============================================
> If you feel your current issue is a results of installing
> a Service Pack or security update, please contact
> Microsoft Product Support Services:
> http://support.microsoft.com
> If the problem can be shown to have been caused by a
> security update, then there is usually no charge for the call.
> ==============================================
>
> "chaolu" <(E-Mail Removed)> wrote in message
> news:C12FA479-6372-4197-9089-(E-Mail Removed)...
> > ?How to design a pattern search in MS Access database from FrontPage? I have
> > custom SQL code :
> > Select * from My_database where "check" like '*::check::*'
> > This does not work.
> >
> > Select * from My_database where "check" = '::check::'
> > This work.
> >
> > So, I know all the database connection or select statement works fine.
> > Can export tell me how to make a 'pattern search' work with MS Access
> > database through FrontPage?
> >
> > Thanks!
> >
> >

>
>
>

 
Reply With Quote
 
=?Utf-8?B?Y2hhb2x1?=
Guest
Posts: n/a
 
      18th Jul 2005
Sorry, I wasn't able to access the web to respone. This does not work. It
did not find any record from the database.

I was using :
Select * from myDatabase where "chk name" Like '%" & "Chk name" & "%'
Also
Select * from myDatabase where "chk name" LIKE '%" & ''chk name'' & "%'
Also
Select * from myDatabase where "chk name" LIKE '%" & ''::chk name'' & "%'

None of them work. Just another question, does it matter that if there is a
" " between the "chk name" and the second '&'. I also using two ' when I use
::chk name::

Thanks for your help!


"Thomas A. Rowe" wrote:

> Try:
>
> Select * from My_database where check LIKE '%" & check & "%' "
>
>
> --
> ==============================================
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> ==============================================
> If you feel your current issue is a results of installing
> a Service Pack or security update, please contact
> Microsoft Product Support Services:
> http://support.microsoft.com
> If the problem can be shown to have been caused by a
> security update, then there is usually no charge for the call.
> ==============================================
>
> "chaolu" <(E-Mail Removed)> wrote in message
> news:C12FA479-6372-4197-9089-(E-Mail Removed)...
> > ?How to design a pattern search in MS Access database from FrontPage? I have
> > custom SQL code :
> > Select * from My_database where "check" like '*::check::*'
> > This does not work.
> >
> > Select * from My_database where "check" = '::check::'
> > This work.
> >
> > So, I know all the database connection or select statement works fine.
> > Can export tell me how to make a 'pattern search' work with MS Access
> > database through FrontPage?
> >
> > Thanks!
> >
> >

>
>
>

 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      18th Jul 2005
You didn't follow my example, and field names can not have spaces

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"chaolu" <(E-Mail Removed)> wrote in message
news:07420883-B34E-47A2-BD3A-(E-Mail Removed)...
> Sorry, I wasn't able to access the web to respone. This does not work. It
> did not find any record from the database.
>
> I was using :
> Select * from myDatabase where "chk name" Like '%" & "Chk name" & "%'
> Also
> Select * from myDatabase where "chk name" LIKE '%" & ''chk name'' & "%'
> Also
> Select * from myDatabase where "chk name" LIKE '%" & ''::chk name'' & "%'
>
> None of them work. Just another question, does it matter that if there is a
> " " between the "chk name" and the second '&'. I also using two ' when I use
> ::chk name::
>
> Thanks for your help!
>
>
> "Thomas A. Rowe" wrote:
>
>> Try:
>>
>> Select * from My_database where check LIKE '%" & check & "%' "
>>
>>
>> --
>> ==============================================
>> Thomas A. Rowe (Microsoft MVP - FrontPage)
>> ==============================================
>> If you feel your current issue is a results of installing
>> a Service Pack or security update, please contact
>> Microsoft Product Support Services:
>> http://support.microsoft.com
>> If the problem can be shown to have been caused by a
>> security update, then there is usually no charge for the call.
>> ==============================================
>>
>> "chaolu" <(E-Mail Removed)> wrote in message
>> news:C12FA479-6372-4197-9089-(E-Mail Removed)...
>> > ?How to design a pattern search in MS Access database from FrontPage? I have
>> > custom SQL code :
>> > Select * from My_database where "check" like '*::check::*'
>> > This does not work.
>> >
>> > Select * from My_database where "check" = '::check::'
>> > This work.
>> >
>> > So, I know all the database connection or select statement works fine.
>> > Can export tell me how to make a 'pattern search' work with MS Access
>> > database through FrontPage?
>> >
>> > Thanks!
>> >
>> >

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

« Whats Next?? | FTP »
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
database access pattern =?Utf-8?B?VmFsIFA=?= Microsoft Dot NET 4 20th Jan 2006 02:36 PM
Why isn't the Insert Database section not highlighted on Frontpag. =?Utf-8?B?U3VhbWVyZQ==?= Microsoft Frontpage 1 4th Dec 2004 09:00 PM
after database probs again: DESIGN PATTERN franz Microsoft ASP .NET 0 4th Mar 2004 07:25 AM
again - after probs with database: DESIGN PATTERN franz Microsoft C# .NET 0 4th Mar 2004 07:24 AM
again after problems with database - DESIGN PATTERN survey franz Microsoft Dot NET 0 4th Mar 2004 07:00 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:43 PM.