This is my first day here, so please be patient. I do not know how to
search very well so the search I tried to get the answer showed me
topics from the year 2000 and they really don't cover what I want.
I am trying to open MSAccess from ASP..I guess I would use
server.createob ject("Access.Ap plication")
OK, but where do i go from there to run a report and have it print to
the default printer?
Can anyone point me to some information that would help me figure this
out?
Thanks,
Jan 8 6387
In addition, all of the examples on the internet show that I have to
use the server.createob ject("Access.Ap plication") method and execute a
DoCmd function. My MSAccess application is on a different machine than
the one I am testing on.
I am also using a test environment to get all of this working. It is
very likely that the functions will work just fine when I run the web
pages after I put them on the server because Access is on the server.
But I don't have Access installed on the test server, so I can't run
the server.createob ject("Access.Ap plication").
How can I get the report to print using an ASP page and not have to
have Microsoft Access installed on my test machine? Can I map a path to
the Microsoft Access app on the other server?
jbonifacejr wrote: This is my first day here, so please be patient. I do not know how to search very well so the search I tried to get the answer showed me topics from the year 2000 and they really don't cover what I want.
I am trying to open MSAccess from ASP..I guess I would use server.createob ject("Access.Ap plication")
OK, but where do i go from there to run a report and have it print to the default printer?
Can anyone point me to some information that would help me figure this out?
Thanks, Jan
Hi, Jan. In addition, all of the examples on the internet show that I have to use the server.createob ject("Access.Ap plication") method and execute a DoCmd function.
I wouldn't recommend doing that. But you don't have to take my word for it.
Microsoft doesn't recommend doing that, either. Please see the following
Web page for why not: http://support.microsoft.com/default.aspx?id=257757
I am also using a test environment to get all of this working. It is very likely that the functions will work just fine when I run the web pages after I put them on the server because Access is on the server.
I hate to quench your optimism, but in software testing Murphy's Law
prevails. Always set up your test environment so that it resembles your
production environment as much as possible. Any differences in
configuration are bugs just waiting to splat on your windshield.
How can I get the report to print using an ASP page and not have to have Microsoft Access installed on my test machine?
You won't be able to run the report from the Web. However, the report can
be run from Access beforehand and saved as a Snapshot file on the Web
server. This Snapshot file can be downloaded from the Web server to the
user's hard drive and later viewed and printed with the Snapshot Viewer.
Another solution is to build a Web page that shows the data contained in the
Access database, and then create a button on this page that allows the user
to print this report. I do not know how to search very well so the search I tried to get the answer showed me topics from the year 2000 and they really don't cover what I want.
Try: http://groups.google.com/advanced_se...b=q&&safe=off&
HTH.
Gunny
See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials. http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.
"jbonifacej r" <jb*********@ho tmail.com> wrote in message
news:11******** **************@ i40g2000cwc.goo glegroups.com.. . In addition, all of the examples on the internet show that I have to use the server.createob ject("Access.Ap plication") method and execute a DoCmd function. My MSAccess application is on a different machine than the one I am testing on.
I am also using a test environment to get all of this working. It is very likely that the functions will work just fine when I run the web pages after I put them on the server because Access is on the server. But I don't have Access installed on the test server, so I can't run the server.createob ject("Access.Ap plication").
How can I get the report to print using an ASP page and not have to have Microsoft Access installed on my test machine? Can I map a path to the Microsoft Access app on the other server?
jbonifacejr wrote: This is my first day here, so please be patient. I do not know how to search very well so the search I tried to get the answer showed me topics from the year 2000 and they really don't cover what I want.
I am trying to open MSAccess from ASP..I guess I would use server.createob ject("Access.Ap plication")
OK, but where do i go from there to run a report and have it print to the default printer?
Can anyone point me to some information that would help me figure this out?
Thanks, Jan
TTBOMK no one has yet discovered a way to open MS-Access within an
Active Server Page and to provide the objects and methods of Access to
a client over the Internet through the HTTP.
If someone could do this, one might guess that Microsoft would sell
very few copies of Access, as a myriad of web sites would provide
sophisticated Access solutions that would meet the majority or our
needs.
One might also predict that Microsoft has thought about this and taken
steps to ensure that it will not happen.
"Lyle Fairfield" <ly***********@ aim.com> wrote One might also predict that Microsoft has thought about this and taken steps to ensure that it will not happen.
Do you really think that The Boys and Girls in Redmond would do something
that nefarious, Lyle? <GD&R>
Thanks everyone. I've decided to just drop the idea. I know that it is
possible to do what I want, but it would probably require that I create
my own .dll that would instantiate the Access object then execute the
functions I want from Access. I don't feel like going through that much
trouble. I will look into an alternative method.
Hi, Lyle. TTBOMK no one has yet discovered a way to open MS-Access within an Active Server Page and to provide the objects and methods of Access to a client over the Internet through the HTTP.
Oh, there's a way. Please see the following Web pages: http://www.4guysfromrolla.com/webtech/042600-1.shtml http://www.15seconds.com/issue/981216.htm http://www.eggheadcafe.com/PrintSear...asp?LINKID=251
And you'll find other examples with an Internet search. However, while the
ASP experts advocate this technique, the Access database experts will tell
you it ain't reliable, it ain't stable, it ain't secure, it ain't scalable,
it ain't supported, and, like spitting into the wind, it ain't recommended.
One might also predict that Microsoft has thought about this and taken steps to ensure that it will not happen.
Another way to look at it is that Microsoft hasn't taken the steps necessary
to ensure that it's stable, reliable, secure, and scalable. The result, of
course, is that experienced developers will avoid this technique -- and
inexperienced developers will eventually become experienced. ;-)
HTH.
Gunny
See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials. http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.
"Lyle Fairfield" <ly***********@ aim.com> wrote in message
news:11******** **************@ j33g2000cwa.goo glegroups.com.. . TTBOMK no one has yet discovered a way to open MS-Access within an Active Server Page and to provide the objects and methods of Access to a client over the Internet through the HTTP. If someone could do this, one might guess that Microsoft would sell very few copies of Access, as a myriad of web sites would provide sophisticated Access solutions that would meet the majority or our needs. One might also predict that Microsoft has thought about this and taken steps to ensure that it will not happen.
"'69 Camaro" <Fo************ **************@ Spameater.orgZE RO_SPAM> wrote
in news:_7******** *************** *******@adelphi a.com: Hi, Lyle.
TTBOMK no one has yet discovered a way to open MS-Access within an Active Server Page and to provide the objects and methods of Access to a client over the Internet through the HTTP.
Oh, there's a way. Please see the following Web pages:
http://www.4guysfromrolla.com/webtech/042600-1.shtml
http://www.15seconds.com/issue/981216.htm
http://www.eggheadcafe.com/PrintSear...asp?LINKID=251
Getting a file, picture, html representation or whatever created by an
instance of Access running on a server is NOT using an Access object. None
of these make Access's objects and methods available to a client over the
Internet through the HTTP.
--
Lyle Fairfield
Hi, Lyle. Getting a file, picture, html representation or whatever created by an instance of Access running on a server is NOT using an Access object.
Then I suppose I have a different definition of "using an Access object."
HTH.
Gunny
See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials. http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.
"Lyle Fairfield" <ly***********@ aim.com> wrote in message
news:Xn******** *************** **********@216. 221.81.119... "'69 Camaro" <Fo************ **************@ Spameater.orgZE RO_SPAM> wrote in news:_7******** *************** *******@adelphi a.com:
Hi, Lyle.
TTBOMK no one has yet discovered a way to open MS-Access within an Active Server Page and to provide the objects and methods of Access to a client over the Internet through the HTTP.
Oh, there's a way. Please see the following Web pages:
http://www.4guysfromrolla.com/webtech/042600-1.shtml
http://www.15seconds.com/issue/981216.htm
http://www.eggheadcafe.com/PrintSear...asp?LINKID=251
Getting a file, picture, html representation or whatever created by an instance of Access running on a server is NOT using an Access object. None of these make Access's objects and methods available to a client over the Internet through the HTTP.
-- Lyle Fairfield This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Luis Serrano |
last post by:
Hi all,
I'm trying to generate labels to print in several different formats,
all of them with their own height,width and page margins. We've got
this done in MS Access 2000, using a designed report that fits with
each label type, and reads a table dinamically generated. But the
problem is page margins. Does Access store page margins and
information of that kind within de report? Is there any kind of
association between printer...
|
by: Sami |
last post by:
I hope someone will tell me how to do this without having to do any VB
as I know nothing in that area. I am a rank beginner in using Access.
I have created a database consisting of student athletes. I have now
learned how to join two different tables in a query so that I might
generate a report.
Specifically, student athletes at a community college are required to
graduate with an AA or AS degree. Consequently, various steps are in...
|
by: dog |
last post by:
I've seen plenty of articles on this topic but none of them have been
able to solve my problem.
I am working with an Access 97 database on an NT4.0 machine, which has
many Access reports.
I want my users to be able to select a report, click on a command
button on a form, which will then automatically create the report as a
pdf file and save it to the user's machine.
I am using Adobe Acrobat (5.0 I think) and have Adobe Distiller as a
|
by: Grasshopper |
last post by:
Hi,
I am automating Access reports to PDF using PDF Writer 6.0. I've
created a DTS package to run the reports and schedule a job to run this
DTS package. If I PC Anywhere into the server on where the job is
running, the job runs sucessfully, PDF files got generated, everything
is good. If I scheduled the job to run at the time that I am not
logged into the server, Access is not able to print to the printer.
The error is pretty...
|
by: salad |
last post by:
Hi Guys: I was stuck. I needed to send a report to a file. My
beautiful report(s) in Access were going to require loss of formatting
with RTFs, a PITA in WordMailMerge, sending it as a text file...whatever.
I described my situation to the guy I'm doing work for and he did some
research for me and came up with the following link.
http://www.novapdf.com/
The part that should excite us Access developers is their SDK
| |
by: Brad |
last post by:
Thanks for taking the time to read my question.
I have a table of data that has Date, Data and Category. I need to
show, in
a report, each Categories Data by Date. The Date has to be it's own
column
across the top and Category down the left side.
As data is entered, the number of unique dates increases. As a result
the
|
by: sonicfun2006 |
last post by:
I have SQL Server Database and MS Access 2003 is connected with ODBC. I have very large amount of records in various tables. The database is very dynamic as it changes every minute. I’m trying to have a live MS Access report which would pull data from SQL Server. I’ll try to explain how I’m trying do this:
The Access report should have two parts:
1. Title page report, just like table of contents. It should be listing a particular field of a...
|
by: brianflannery |
last post by:
Greetings all!
My problem is this. I've installed a new printer on my computer.
This is the "default printer" for access. Now, some of my reports,
which were working fine with the old printer, are now showing up with
an odd view (very enlarged) in preview. If I go to page setup, and
choose specific printer to then look at the paper size listed in my
default printer, it shows Hegaki Card 100mmX148mm instead of letter.
It seems as...
|
by: Snoopy33 |
last post by:
I have a DB that I developed on access XP (2002) and deployed over a
year ago. No one has had problems printing any of the reports within
the DB until we started loading 2007 on new computers. The access
2007 users cannot print one of the reports. This is maddening since I
cannot duplicate the issue on any computer that runs 2003 or below.
Is there something going on that I'm not seeing? Does anyone have any
suggestions at all on...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |