access2000

Was wondering if anyone is an access2000 developer here. I try to do a simple project for a user. I can get the Web Access Page working for data entry and making query is no problem. What I run into is that I don't know how to make a user in...




Topic Options
#129782 - 08/07/03 03:58 PM access2000
bytemangler Offline
member

Registered: 02/27/01
Posts: 114
Was wondering if anyone is an access2000 developer here. I try to do a simple project for a user. I can get the Web Access Page working for data entry and making query is no problem. What I run into is that I don't know how to make a user interactive query, what I mean by that is instead of having say job="123-4567" explicitly I want it to open a prompt waiting for a user to enter a desire job# when a query button is push. Can it be done in access2000?

Top
Advertisement
#129784 - 08/07/03 05:59 PM Re: access2000
clutch Offline
Carpal Tunnel

Registered: 03/29/00
Posts: 3859
In the graphical query layout view, go to the column you want to filter info on and use [] to generate the prompt. For example, if I had a product table and wanted it to prompt for something, I would make a query for tblProduct, and under prodCompany I would put [Please enter company name] in the criteria section, using the brackets. That will make a prompt window come up with "Please enter company name" and a blank to put in the info. In SQL view it would look like this:

Code:
SELECT *
FROM tblProduct
WHERE (((tblProduct.prodCompany)=[Please enter company name]));


If I wanted it to match partial names, I would use:

Code:
SELECT *
FROM tblProduct
WHERE (((tblProduct.prodCompany) LIKE "*" & [Please enter company name] & "*"));


The * wildcard will then let partials like "so", "on", and "ny" match "Sony" in the prodCompany column.

Lastly, if you want to add support for wildcards AND the ability to click "OK" with a blank field and have it return ALL records (no filter) then use this:

Code:
SELECT *
FROM tblProduct
WHERE ((([tblProduct].[prodCompany]) Like "*" & [Please enter company name] & "*") And (([Please enter company name]) Is Not Null)) Or ((([Please enter company name]) Is Null));


This will let it handle blank entries and combines that with support for wildcards.

HTH

Top
#129809 - 08/07/03 11:12 PM Re: access2000
bytemangler Offline
member

Registered: 02/27/01
Posts: 114
Thanks Clutch for the tip. I was using access 2002 which I thought was 2000 (my bad). I just put the [] in the criteria in the query screen and it did give me popup. thanks. Now my second part is that I have created a Data Access Page from Access2002. Data entry is working but I can't see any where on how to make the query I have created to work within HTML form (access generated). I can make a command button but the choices for the button is not what I needed. I wanted to created an html version of access so that each user do not need a copy of access to do entry into the database. Access can generated that form for me, but it's no good if you can't retrieve it.

Top
#130104 - 08/15/03 11:42 PM Re: access2000
bytemangler Offline
member

Registered: 02/27/01
Posts: 114
Hi Clutch,
since you've reply I like to ask you one last question. In access I have created a database with a selected querry. Everything works fine. I created a data access page in access2002 with all the entry info. I am stump as to how to make my querry work in the data access page? Anyone with some expertise in access2002 please jump in. I'm doing this for a user and I only have 3 weeks of access experience! I will keep looking in the net for supplemental. thanks!

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
What version of Linux is this?
by DxxLinux
12/15/09 07:59 PM
Anything like HyperCam?
by Luckycharm8989
12/11/09 02:08 PM
Thank you for your help
by guaiguai
12/11/09 07:29 AM
What the problem is?
by guaiguai
12/11/09 05:09 AM
Need an database for Dictionary
by shaanspecial
12/09/09 10:19 AM
Who's Online
0 Registered (), 174 Guests and 33 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91336 Members
24 Forums
58986 Topics
189499 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22