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.createobject("Access.Application")
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 6355
In addition, all of the examples on the internet show that I have to
use the server.createobject("Access.Application") 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.createobject("Access.Application").
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.createobject("Access.Application")
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.createobject("Access.Application") 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.
"jbonifacejr" <jb*********@hotmail.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com... In addition, all of the examples on the internet show that I have to use the server.createobject("Access.Application") 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.createobject("Access.Application").
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.createobject("Access.Application")
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.googlegr oups.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.orgZERO_SP AM> wrote
in news:_7******************************@adelphia.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.8 1.119... "'69 Camaro" <Fo**************************@Spameater.orgZERO_SP AM> wrote in news:_7******************************@adelphia.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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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,...
|
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. ...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
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,...
| |