1c381 Searching an Access 2003 Database Using Data Access Pages
Sign Up |  Live StatsLive Stats    Articles 37,345| Comments 177,362| Members 19,420, Newest Talia| Online 500
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags
Sikh Philosophy Network » Sikh Philosophy Network » Current News » Information Technology » Searching an Access 2003 Database Using Data Access Pages

Searching an Access 2003 Database Using Data Access Pages

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Data Access Pages Tech Geek 1234 Information Technology 2 28-Jul-2006 08:38 AM
Searching for Corrupt records - Access 2003 tom Information Technology 1 28-Jul-2006 08:37 AM
Is there a 10000 record limit to data access pages in Access 2000 vihdxb Information Technology 1 28-Jul-2006 08:29 AM
Data Access Pages Bromley Information Technology 1 28-Jul-2006 08:26 AM
Using Data Access Pages wizard closes Access program Joshcat99 Information Technology 1 28-Jul-2006 08:04 AM


Tags
2003, access, data, database, pages, searching, using
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:27 AM
Spent's Avatar Spent
Guest
 
Posts: n/a
   
   
Searching an Access 2003 Database Using Data Access Pages

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
Hey all, I'm working on a database for my company which holds project
information in one table, this is the only table I need to search, and
I want to basically run a query on it using the text boxes on my data
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/12271-searching-access-2003-database-using-data.html
access page. That is - I want the user to type into the various
feilds, [all optional]. Anything that they do not enter will count as
wildcard, and everything they do will be used to search for a match in
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12271
that feild. I thought this would be a quite simple process,
considering a query of this type to me seemed quite common, however I
seem to be stumped. The closest I have found is something for adding a
find button on the microsoft help pages, however by its explanation it
only allows the user to search one feild - the primary key. Any
guidance would be apreciated,

-Zach



Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:27 AM
KARL DEWEY's Avatar KARL DEWEY
Guest
 
Posts: n/a
   
   
RE: Searching an Access 2003 Database Using Data Access Pages

For criteria use this if they are to enter exact values --
Like IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
[Forms]![YourForm]![YourTextBox])

For criteria use this if they are to enter start of the value --
Like IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
[Forms]![YourForm]![YourTextBox]) & "*"

For criteria use this if they are to enter any part of the value --
Like "*" & IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
[Forms]![YourForm]![YourTextBox]) & "*"
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12271


"Spent" wrote:

> Hey all, I'm working on a database for my company which holds project
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12271
> information in one table, this is the only table I need to search, and
> I want to basically run a query on it using the text boxes on my data
> access page. That is - I want the user to type into the various
> feilds, [all optional]. Anything that they do not enter will count as
> wildcard, and everything they do will be used to search for a match in
> that feild. I thought this would be a quite simple process,
> considering a query of this type to me seemed quite common, however I
> seem to be stumped. The closest I have found is something for adding a
> find button on the microsoft help pages, however by its explanation it
> only allows the user to search one feild - the primary key. Any
> guidance would be apreciated,
>
> -Zach
>
>

Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:28 AM
Spent's Avatar Spent
Guest
 
Posts: n/a
   
   
Re: Searching an Access 2003 Database Using Data Access Pages

This seems to be what I need, specifically the first one, however I
don't know where to put this code, is this a vbscript? Sorry to ask
for such basic instructions, this is my first access project ever and I
am kind of lost. I am used to working with Iseries and stuff and
working directly with SQL is much different from this program.

KARL DEWEY wrote:
> For criteria use this if they are to enter exact values --
> Like IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
> [Forms]![YourForm]![YourTextBox])
>
> For criteria use this if they are to enter start of the value --
> Like IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
> [Forms]![YourForm]![YourTextBox]) & "*"
>
> For criteria use this if they are to enter any part of the value --
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12271
> Like "*" & IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
> [Forms]![YourForm]![YourTextBox]) & "*"
>
>
> "Spent" wrote:
>
> > Hey all, I'm working on a database for my company which holds project
> > information in one table, this is the only table I need to search, and
> > I want to basically run a query on it using the text boxes on my data
> > access page. That is - I want the user to type into the various
> > feilds, [all optional]. Anything that they do not enter will count as
> > wildcard, and everything they do will be used to search for a match in
> > that feild. I thought this would be a quite simple process,
> > considering a query of this type to me seemed quite common, however I
> > seem to be stumped. The closest I have found is something for adding a
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12271
> > find button on the microsoft help pages, however by its explanation it
> > only allows the user to search one feild - the primary key. Any
> > guidance would be apreciated,
> >
> > -Zach
> >
> >


Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:28 AM
Douglas J Steele's Avatar Douglas J Steele
Guest
 
Posts: n/a
   
   
Re: Searching an Access 2003 Database Using Data Access Pages

What Karl's given you would be typed into the Criteria cell of the query
underneath the specific table field in question.

Note that there was word-wrap in the post. All 3 of Karl's suggestions are
each 1 line long.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Spent" wrote in message
news:1151588969.659822.150830@j72g2000cwa.googlegr oups.com...
> This seems to be what I need, specifically the first one, however I
> don't know where to put this code, is this a vbscript? Sorry to ask
> for such basic instructions, this is my first access project ever and I
> am kind of lost. I am used to working with Iseries and stuff and
> working directly with SQL is much different from this program.
>
> KARL DEWEY wrote:
> > For criteria use this if they are to enter exact values --
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12271
> > Like IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
> > [Forms]![YourForm]![YourTextBox])
> >
> > For criteria use this if they are to enter start of the value --
> > Like IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
> > [Forms]![YourForm]![YourTextBox]) & "*"
> >
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12271
> > For criteria use this if they are to enter any part of the value --
> > Like "*" & IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
> > [Forms]![YourForm]![YourTextBox]) & "*"
> >
> >
> > "Spent" wrote:
> >
> > > Hey all, I'm working on a database for my company which holds project
> > > information in one table, this is the only table I need to search, and
> > > I want to basically run a query on it using the text boxes on my data
> > > access page. That is - I want the user to type into the various
> > > feilds, [all optional]. Anything that they do not enter will count as
> > > wildcard, and everything they do will be used to search for a match in
> > > that feild. I thought this would be a quite simple process,
> > > considering a query of this type to me seemed quite common, however I
> > > seem to be stumped. The closest I have found is something for adding

a
> > > find button on the microsoft help pages, however by its explanation it
> > > only allows the user to search one feild - the primary key. Any
> > > guidance would be apreciated,
> > >
> > > -Zach
> > >
> > >

>



Reply With Quote
  #5 (permalink)  
Old 28-Jul-2006, 08:28 AM
Spent's Avatar Spent
Guest
 
Posts: n/a
   
   
Re: Searching an Access 2003 Database Using Data Access Pages

Thank you, thank you, thank you! Will this information work with a
data access page instead of a form too? As in,

Like IIF([Forms]![Input]![proj_morguard_num] Is Null, "*",
[Forms]![Input]![proj_morguard_num])

Worst case scenario I can revert to forms but I think pages would be
easier. It is my understanding that pages are just web based forms, in
which case I think this should work. Also, is "YourTextBox" value the
ID of my textbox? Because right now the ID of all my text boxes is the
same as the feild it relates to! I don't want to cause a problem due
to this. Thank you all for your patientience and help in the matter,
you've made my learning experience much less grueling.

-Zach

Douglas J Steele wrote:
> What Karl's given you would be typed into the Criteria cell of the query
> underneath the specific table field in question.
>
> Note that there was word-wrap in the post. All 3 of Karl's suggestions are
> each 1 line long.
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
> "Spent" wrote in message
> news:1151588969.659822.150830@j72g2000cwa.googlegr oups.com...
> > This seems to be what I need, specifically the first one, however I
> > don't know where to put this code, is this a vbscript? Sorry to ask
> > for such basic instructions, this is my first access project ever and I
> > am kind of lost. I am used to working with Iseries and stuff and
> > working directly with SQL is much different from this program.
> >
> > KARL DEWEY wrote:
> > > For criteria use this if they are to enter exact values --
> > > Like IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
> > > [Forms]![YourForm]![YourTextBox])
> > >
> > > For criteria use this if they are to enter start of the value --
> > > Like IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
> > > [Forms]![YourForm]![YourTextBox]) & "*"
> > >
> > > For criteria use this if they are to enter any part of the value --
> > > Like "*" & IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
> > > [Forms]![YourForm]![YourTextBox]) & "*"
> > >
> > >
> > > "Spent" wrote:
> > >
> > > > Hey all, I'm working on a database for my company which holds project
> > > > information in one table, this is the only table I need to search, and
> > > > I want to basically run a query on it using the text boxes on my data
> > > > access page. That is - I want the user to type into the various
> > > > feilds, [all optional]. Anything that they do not enter will count as
> > > > wildcard, and everything they do will be used to search for a match in
> > > > that feild. I thought this would be a quite simple process,
> > > > considering a query of this type to me seemed quite common, however I
> > > > seem to be stumped. The closest I have found is something for adding

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12271
> a
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12271
> > > > find button on the microsoft help pages, however by its explanation it
> > > > only allows the user to search one feild - the primary key. Any
> > > > guidance would be apreciated,
> > > >
> > > > -Zach
> > > >
> > > >

> >


Reply With Quote
  #6 (permalink)  
Old 28-Jul-2006, 08:28 AM
Spent's Avatar Spent
Guest
 
Posts: n/a
   
   
Re: Searching an Access 2003 Database Using Data Access Pages

Thank you, thank you, thank you! Will this information work with a
data access page instead of a form too? As in,

Like IIF([Forms]![Input]![proj_morguard_num] Is Null, "*",
[Forms]![Input]![proj_morguard_num])
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12271

Worst case scenario I can revert to forms but I think pages would be
easier. It is my understanding that pages are just web based forms, in
which case I think this should work. Also, is "YourTextBox" value the
ID of my textbox? Because right now the ID of all my text boxes is the
same as the feild it relates to! I don't want to cause a problem due
to this. Thank you all for your patientience and help in the matter,
you've made my learning experience much less grueling.

-Zach

Douglas J Steele wrote:
> What Karl's given you would be typed into the Criteria cell of the query
> underneath the specific table field in question.
>
> Note that there was word-wrap in the post. All 3 of Karl's suggestions are
> each 1 line long.
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
> "Spent" wrote in message
> news:1151588969.659822.150830@j72g2000cwa.googlegr oups.com...
> > This seems to be what I need, specifically the first one, however I
> > don't know where to put this code, is this a vbscript? Sorry to ask
> > for such basic instructions, this is my first access project ever and I
> > am kind of lost. I am used to working with Iseries and stuff and
> > working directly with SQL is much different from this program.
> >
> > KARL DEWEY wrote:
> > > For criteria use this if they are to enter exact values --
> > > Like IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
> > > [Forms]![YourForm]![YourTextBox])
> > >
> > > For criteria use this if they are to enter start of the value --
> > > Like IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
> > > [Forms]![YourForm]![YourTextBox]) & "*"
> > >
> > > For criteria use this if they are to enter any part of the value --
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12271
> > > Like "*" & IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
> > > [Forms]![YourForm]![YourTextBox]) & "*"
> > >
> > >
> > > "Spent" wrote:
> > >
> > > > Hey all, I'm working on a database for my company which holds project
> > > > information in one table, this is the only table I need to search, and
> > > > I want to basically run a query on it using the text boxes on my data
> > > > access page. That is - I want the user to type into the various
> > > > feilds, [all optional]. Anything that they do not enter will count as
> > > > wildcard, and everything they do will be used to search for a match in
> > > > that feild. I thought this would be a quite simple process,
> > > > considering a query of this type to me seemed quite common, however I
> > > > seem to be stumped. The closest I have found is something for adding

> a
> > > > find button on the microsoft help pages, however by its explanation it
> > > > only allows the user to search one feild - the primary key. Any
> > > > guidance would be apreciated,
> > > >
> > > > -Zach
> > > >
> > > >

> >


Reply With Quote
  #7 (permalink)  
Old 28-Jul-2006, 08:28 AM
Douglas J Steele's Avatar Douglas J Steele
Guest
 
Posts: n/a
   
   
Re: Searching an Access 2003 Database Using Data Access Pages

  Donate Today!  
To be honest, I haven't worked with data access pages. If they use ADO, you
might have to replace the * with % in that statement.

Not sure what you mean by "the ID of my textbox". Do you mean the name of
the text box is the same as the name of the field to which it's bound? That
shouldn't be an issue.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Spent" wrote in message
news:1151590836.227886.120390@i40g2000cwc.googlegr oups.com...
> Thank you, thank you, thank you! Will this information work with a
> data access page instead of a form too? As in,
>
> Like IIF([Forms]![Input]![proj_morguard_num] Is Null, "*",
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12271
> [Forms]![Input]![proj_morguard_num])
>
> Worst case scenario I can revert to forms but I think pages would be
> easier. It is my understanding that pages are just web based forms, in
> which case I think this should work. Also, is "YourTextBox" value the
> ID of my textbox? Because right now the ID of all my text boxes is the
> same as the feild it relates to! I don't want to cause a problem due
> to this. Thank you all for your patientience and help in the matter,
> you've made my learning experience much less grueling.
>
> -Zach
>
> Douglas J Steele wrote:
> > What Karl's given you would be typed into the Criteria cell of the query
> > underneath the specific table field in question.
> >
> > Note that there was word-wrap in the post. All 3 of Karl's suggestions

are
> > each 1 line long.
> >
> > --
> > Doug Steele, Microsoft Access MVP
> > http://I.Am/DougSteele
> > (no e-mails, please!)
> >
> >
> > "Spent" wrote in message
> > news:1151588969.659822.150830@j72g2000cwa.googlegr oups.com...
> > > This seems to be what I need, specifically the first one, however I
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12271
> > > don't know where to put this code, is this a vbscript? Sorry to ask
> > > for such basic instructions, this is my first access project ever and

I
> > > am kind of lost. I am used to working with Iseries and stuff and
> > > working directly with SQL is much different from this program.
> > >
> > > KARL DEWEY wrote:
> > > > For criteria use this if they are to enter exact values --
> > > > Like IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
> > > > [Forms]![YourForm]![YourTextBox])
> > > >
> > > > For criteria use this if they are to enter start of the value --
> > > > Like IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
> > > > [Forms]![YourForm]![YourTextBox]) & "*"
> > > >
> > > > For criteria use this if they are to enter any part of the value --
> > > > Like "*" & IIF([Forms]![YourForm]![YourTextBox] Is Null, "*",
> > > > [Forms]![YourForm]![YourTextBox]) & "*"
> > > >
> > > >
> > > > "Spent" wrote:
> > > >
> > > > > Hey all, I'm working on a database for my company which holds

project
> > > > > information in one table, this is the only table I need to search,

and
> > > > > I want to basically run a query on it using the text boxes on my

data
> > > > > access page. That is - I want the user to type into the various
> > > > > feilds, [all optional]. Anything that they do not enter will

count as
> > > > > wildcard, and everything they do will be used to search for a

match in
> > > > > that feild. I thought this would be a quite simple process,
> > > > > considering a query of this type to me seemed quite common,

however I
> > > > > seem to be stumped. The closest I have found is something for

adding
> > a
> > > > > find button on the microsoft help pages, however by its

explanation it
> > > > > only allows the user to search one feild - the primary key. Any
> > > > > guidance would be apreciated,
> > > > >
> > > > > -Zach
> > > > >
> > > > >
> > >

>



Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Rochester Gurdwara...
Today 10:55 AM
2 Replies, 62 Views
How does Sikhi help you...
Today 10:24 AM
44 Replies, 1,131 Views
Is Science a Religion?
Today 09:53 AM
11 Replies, 1,956 Views
Woolwich Killing: The...
Today 07:49 AM
15 Replies, 184 Views
US Congress panel passes...
Today 04:22 AM
0 Replies, 35 Views
Harmeet Kaur Took the...
Today 03:40 AM
0 Replies, 51 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 01:43 AM
319 Replies, 7,693 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 00:36 AM
182 Replies, 4,613 Views
Panjabi Alphabet Resource
Yesterday 23:15 PM
12 Replies, 6,558 Views
Transgenderism ... Right...
Yesterday 22:55 PM
30 Replies, 1,368 Views
Biography of a Scholar:...
Yesterday 22:53 PM
1 Replies, 71 Views
Dusting The Web
Yesterday 22:25 PM
0 Replies, 43 Views
How Pure the Tongue? New...
Yesterday 21:29 PM
0 Replies, 57 Views
Stockholm riots throw...
Yesterday 21:14 PM
1 Replies, 43 Views
Biography of a Scholar:...
Yesterday 18:59 PM
2 Replies, 169 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 13:31 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 2.46539 seconds with 32 queries
0