473,503 Members | 12,159 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using Access/Jet on Web site

Good day all, and thank you in advance for your help. No - MANY thanks in
advance for your help - I know nothing about using databases on Web servers.

I am about to discuss a project with a client who is in the apartment rental
business. He solicits "For Rent" listings from property owners and managers,
advertises the apartments, shows them, takes applications and like that. His
inventory, as it were, is a list of vacant apartments that his clients have
asked him to rent.

My client wants to have an inventory control database for use in the office
so that if someone comes in looking for two bedrooms in a place that takes
dogs, for instance, he and/or his agents can run a query to see what's
available. Or, any of them can run a different or less restrictive query for
someone who has fewer requirements...you all get the basic idea here.
Information and ways to get it out...that's what he wants to do.

I can create the database - I have, in fact, created a very similar one, for
my own use with my own properties, that I am going to "spiff up" to use as a
simple demo. The potential rub is that my client may - MAY - want to make
the inventory, or a subset of it, available to Web surfers to search (and
he'd be a fool not to, since all of his competitors do so now). So, I have a
couple of questions -

1. If I understand what I've read correctly, a Web host that says that it
supports "Access" is really
supporting Jet, and that the customer of the host loads just the tables
to the host. Yes?
2. The forms, reports, queries and so forth that we see in the desktop
product aren't supported on
Web servers; they have to be created either as part of Data Access Pages
or with scripts. Yes?
3. If he just loads the tables, as in #1, do the tables need to be created
with particular properties to
use them on the Web, and if they have to have those properties, can they
be used with those
properties in the local office with the desktop machines? In other words,
if we plan to use the
tables on the Web, can we use the same tables and properties in the
office?

For what it's worth, the use in the office will be light. It's not that big
a place. The use on the Web probably won't be as heavy as I have read is
necessary to strain an "Access" database on a Web server.

Any and all info will be appreciated, as well as suggestions on where to get
info.

Happy Memorial Day!
Steve E.

Nov 13 '05 #1
6 1982
Serious_Practitioner wrote:
Good day all, and thank you in advance for your help. No - MANY thanks in
advance for your help - I know nothing about using databases on Web servers.

I am about to discuss a project with a client who is in the apartment rental
business. He solicits "For Rent" listings from property owners and managers,
advertises the apartments, shows them, takes applications and like that. His
inventory, as it were, is a list of vacant apartments that his clients have
asked him to rent.

My client wants to have an inventory control database for use in the office
so that if someone comes in looking for two bedrooms in a place that takes
dogs, for instance, he and/or his agents can run a query to see what's
available. Or, any of them can run a different or less restrictive query for
someone who has fewer requirements...you all get the basic idea here.
Information and ways to get it out...that's what he wants to do.

I can create the database - I have, in fact, created a very similar one, for
my own use with my own properties, that I am going to "spiff up" to use as a
simple demo. The potential rub is that my client may - MAY - want to make
the inventory, or a subset of it, available to Web surfers to search (and
he'd be a fool not to, since all of his competitors do so now). So, I have a
couple of questions -

1. If I understand what I've read correctly, a Web host that says that it
supports "Access" is really
supporting Jet, and that the customer of the host loads just the tables
to the host. Yes?
2. The forms, reports, queries and so forth that we see in the desktop
product aren't supported on
Web servers; they have to be created either as part of Data Access Pages
or with scripts. Yes?
3. If he just loads the tables, as in #1, do the tables need to be created
with particular properties to
use them on the Web, and if they have to have those properties, can they
be used with those
properties in the local office with the desktop machines? In other words,
if we plan to use the
tables on the Web, can we use the same tables and properties in the
office?

For what it's worth, the use in the office will be light. It's not that big
a place. The use on the Web probably won't be as heavy as I have read is
necessary to strain an "Access" database on a Web server.

Any and all info will be appreciated, as well as suggestions on where to get
info.

Happy Memorial Day!
Steve E.

See my earlier response today to another question on putting Access on
the web.

Specific answers to you questions:

1. No. You typically load the entire access database, database.mdb, on
the server. The web app then accesses it.

2. Correct the normal access queries, forms and reports can't be used on
the web.

Don't even try to use Data Access Pages. See the link in my prior post
for more info on that.

No you don't have to use scripts to create the screens. You can build
web sites using Access databases using a variety of tools such as
Microsoft Front Page and others.

3. Not sure. Haven't done that. Would only work if the web server was
also on your local network. Otherwise, forget it. Probably best if you
were to do all the changes on the local database and then upload a copy
of the database to the web site for read-only access. You could refresh
the database on the web server whenever the data changes.

Bob

Nov 13 '05 #2
Some additions to Bob's excellent response:

2. Your queries can and should be used by your web interface as they
are part of Jet (the database portion of your Access "database"). If
your queries use custom functions that you have in code, then those
functions will be used too.

3. The tables should be the same whether you access them from your
Access interface or your web interface. There is no need to change
them to make them more accessible from the web interface. The only
caveat is that because your users on the web will be querying the
tables differently, you made need additional indexing on some tables.
Access should take care of this for you automatically as you create the
reporting queries.

You would be much better off to have the web server on your network
rather than use a 3rd party host as Bob mentioned. However, if you
must use a 3rd party host, you can build your web interface so that it
handles reporting and data viewing/input (forms). In this way, you
wouldn't need an Access interface and you wouldn't need periodic
uploads. If you feel that you must go with the Access UI/DB in the
office and then upload it to the 3rd party web server, then you should
simply copy the entire MDB file--there's no need to strip out parts of
it.

Bill E.
Hollywood, FL

Nov 13 '05 #3
In Reply to your question 2.

The Database Queries can still be executed and using OLE you may
still execute the Reports. Forms would not be accessible, unless
there is some 3rd party software module available.
<bi********@netscape.net> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
Some additions to Bob's excellent response:

2. Your queries can and should be used by your web interface as they
are part of Jet (the database portion of your Access "database"). If
your queries use custom functions that you have in code, then those
functions will be used too.

3. The tables should be the same whether you access them from your
Access interface or your web interface. There is no need to change
them to make them more accessible from the web interface. The only
caveat is that because your users on the web will be querying the
tables differently, you made need additional indexing on some tables.
Access should take care of this for you automatically as you create the
reporting queries.

You would be much better off to have the web server on your network
rather than use a 3rd party host as Bob mentioned. However, if you
must use a 3rd party host, you can build your web interface so that it
handles reporting and data viewing/input (forms). In this way, you
wouldn't need an Access interface and you wouldn't need periodic
uploads. If you feel that you must go with the Access UI/DB in the
office and then upload it to the 3rd party web server, then you should
simply copy the entire MDB file--there's no need to strip out parts of
it.

Bill E.
Hollywood, FL

Nov 13 '05 #4
Tom
Carl,

Could you give an example of how to use OLE to execute reports.

Thanks.
"Carl" <mail2carl@_remove_yahoo.com> wrote in message
news:1y*****************@newsfe6-gui.ntli.net...
In Reply to your question 2.

The Database Queries can still be executed and using OLE you may
still execute the Reports. Forms would not be accessible, unless
there is some 3rd party software module available.
<bi********@netscape.net> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
Some additions to Bob's excellent response:

2. Your queries can and should be used by your web interface as they
are part of Jet (the database portion of your Access "database"). If
your queries use custom functions that you have in code, then those
functions will be used too.

3. The tables should be the same whether you access them from your
Access interface or your web interface. There is no need to change
them to make them more accessible from the web interface. The only
caveat is that because your users on the web will be querying the
tables differently, you made need additional indexing on some tables.
Access should take care of this for you automatically as you create the
reporting queries.

You would be much better off to have the web server on your network
rather than use a 3rd party host as Bob mentioned. However, if you
must use a 3rd party host, you can build your web interface so that it
handles reporting and data viewing/input (forms). In this way, you
wouldn't need an Access interface and you wouldn't need periodic
uploads. If you feel that you must go with the Access UI/DB in the
office and then upload it to the 3rd party web server, then you should
simply copy the entire MDB file--there's no need to strip out parts of
it.

Bill E.
Hollywood, FL


Nov 13 '05 #5
The poster asked if it was possible for his customers to view access reports
on the web. As I only use Perl for the CGI I was referring to the
Win32::OLE perl module.

And as you asked, here is the perl code to view access reports on the web:

### START PERL CODE ###

#!/usr/local/bin/perl

use Win32::OLE;
use Win32::OLE::Const 'Microsoft Access';

print "Content-type: text/html\n\n";

# Export Access Report to HTML File or Browser

my $access = Win32::OLE->GetObject("I:\\pathto\\database.mdb", sub
{$_[0]->Quit;}) or die "Error: connecting to Access";
$access->{Visible}=0;
$access->{docmd}->OutputTo(acOutputReport, "ReportName", acFormatHTML,
"I:\\pathto\\report.htm",1);
#$access->Quit;
undef $access;

### END PERL CODE ###

You could even embed the Microsoft snapview.ocx report viewer ActiveX
Control into your webpages.
Follow this link for info: http://support.microsoft.com/kb/q209145
Carl.

"Tom" <no***@email.net> wrote in message
news:1O*****************@newsread2.news.atl.earthl ink.net...
Carl,

Could you give an example of how to use OLE to execute reports.

Thanks.
"Carl" <mail2carl@_remove_yahoo.com> wrote in message
news:1y*****************@newsfe6-gui.ntli.net...
In Reply to your question 2.

The Database Queries can still be executed and using OLE you may
still execute the Reports. Forms would not be accessible, unless
there is some 3rd party software module available.
<bi********@netscape.net> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
> Some additions to Bob's excellent response:
>
> 2. Your queries can and should be used by your web interface as they
> are part of Jet (the database portion of your Access "database"). If
> your queries use custom functions that you have in code, then those
> functions will be used too.
>
> 3. The tables should be the same whether you access them from your
> Access interface or your web interface. There is no need to change
> them to make them more accessible from the web interface. The only
> caveat is that because your users on the web will be querying the
> tables differently, you made need additional indexing on some tables.
> Access should take care of this for you automatically as you create the
> reporting queries.
>
> You would be much better off to have the web server on your network
> rather than use a 3rd party host as Bob mentioned. However, if you
> must use a 3rd party host, you can build your web interface so that it
> handles reporting and data viewing/input (forms). In this way, you
> wouldn't need an Access interface and you wouldn't need periodic
> uploads. If you feel that you must go with the Access UI/DB in the
> office and then upload it to the 3rd party web server, then you should
> simply copy the entire MDB file--there's no need to strip out parts of
> it.
>
> Bill E.
> Hollywood, FL
>



Nov 13 '05 #6
A huge "Thank You" to all who took the time to answer. Feeling much better
equipped to do this now...
Steve E.
Big snip...

Nov 13 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4645
by: Scott MacLean | last post by:
I'm pulling my hair out over this one. I've got a web page that I need to have write to another server across the network. The site in question does NOT run in anonymous mode, that is, the user is...
1
2667
by: Andy | last post by:
Hi, I was wondering if someone could advise on if the following is possible. I have one website that is available to the public using Forms authentication and the Membership class, it...
1
2871
by: lecnac | last post by:
Here's some details: Server and workstation both in the same workgroup Logged into server as local Administrator Logged into workstation as a local user that is only in the Users group The...
1
2038
by: lecnac | last post by:
Sorry for the repost. I must have done something wrong when I tried to post my reply (I can't seem to find it). Anyway, I'd really appreciate any help that anyone could provide. My issue is...
7
1953
by: Visitor No 3 | last post by:
My local Crinkles group(U3A), of which I am one, want me to develop a noddy database and web site for their members. Some are computer literate, others not so. I thought an Access 2000 .mdb on a...
7
1403
by: JJ | last post by:
I'm playing aournd with my first asp.net 2.0 web site and looking at the Web.sitemap file. It seems there's a lot of publicity at the moment about Google's sitemaps and how they are supposed to...
2
10314
by: Lyle Fairfield | last post by:
I am using Microsoft’s Web Browser Control embedded on an Access Form to browse a specific site. I have a good reason for doing so; the pages on this site run code which aborts their display unless...
17
2533
by: Flic | last post by:
Is this possible? I know about a bit about ODBC and found how to import an ODBC database stored on the computer, however I am after accessing an SQL database stored on a webserver. I'd like to...
0
1199
by: s13khan | last post by:
Hi, I'm using FCKEditor for my CMS based web site thru which I save my site data in HTML format and the site is developped using ASP and MS ACCESS as backend. So far the site was of single...
0
7193
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7264
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7316
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6975
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5562
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4992
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.