473,805 Members | 2,297 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can it be that NO ONE HERE knows this answer?

One more try.

After ransacking the Desktop AND Enterprise edition of Ken Getz Dev
Handbooks on Access 2002, I STILL don't know if it is or is not
possible to link a client side MDE with a WEB server MDB table using
ADO.

Does ANYONE know the correct answer to that question?
Mar 16 '06
47 1971
Lauren Wilson <no****@nospam. com> wrote in
news:9o******** *************** *********@4ax.c om:
On Sat, 18 Mar 2006 14:33:09 -0600, "David W. Fenton"
<XX*******@dfe nton.com.invali d> wrote:
Is running SQL Server or some other server db on the web server
not a possibility?


It is. I would rather do it with SQL Server, or MySQL. It
appears that a DAP can connect to a remote SQL Server database. .
. .


I'm confused. An MDB can connect to a remote SQL Server database, so
why would you implement a DAP just to get to the remote SQL Server
database?
. . . If so,
believe (hope) I can create a hidden DAP form to be the interface
for this licensing, update checking process. I know, I know.
DAPs are going away in Office 12. But we should be able to
continue using Access 2003 for at least another 2-3 years. After
that, I'll just re-write the procedure using the Access 12
technology. Since it's a process that's transparent to the user,
they'll never know the difference.


I don't get what purpose a DAP would serve in a scenario where you
had a remote SQL Server connection available to your local MDB.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Mar 19 '06 #41
On Sun, 19 Mar 2006 14:31:13 -0600, "David W. Fenton"
<XX*******@dfen ton.com.invalid > wrote:
Lauren Wilson <no****@nospam. com> wrote in
news:9o******* *************** **********@4ax. com:
On Sat, 18 Mar 2006 14:33:09 -0600, "David W. Fenton"
<XX*******@df enton.com.inval id> wrote:

Is running SQL Server or some other server db on the web server
not a possibility?


It is. I would rather do it with SQL Server, or MySQL. It
appears that a DAP can connect to a remote SQL Server database. .
. .


I'm confused. An MDB can connect to a remote SQL Server database, so
why would you implement a DAP just to get to the remote SQL Server
database?


OK, to get us in sync: Until about 36 hours ago, I was CONSIDERING
whether or not a DAP could be used for something that I THOUGHT was
not possible without it. Either I misread earlier posts or there is
disagreement about the issue among those who posted responses.

Bottom line: You appear to be saying that it IS possible to use ADO
FROM the VBA code of an MDB (or MDE) to connect to a table in an SQL
Database on a remote web server, using an HTTP URL as a connection
string -- correct?

Until you reminded me that this might be possible, I first looked for
a way to do it with an MDB on the web server. Since I have access to
several web servers running either MS SQL Server OR MySQL, I've simply
switched my focus to doing it that way.
. . . If so,
believe (hope) I can create a hidden DAP form to be the interface
for this licensing, update checking process. I know, I know.
DAPs are going away in Office 12. But we should be able to
continue using Access 2003 for at least another 2-3 years. After
that, I'll just re-write the procedure using the Access 12
technology. Since it's a process that's transparent to the user,
they'll never know the difference.


I don't get what purpose a DAP would serve in a scenario where you
had a remote SQL Server connection available to your local MDB.

Mar 19 '06 #42
ROFL!

Mar 19 '06 #43
rkc
Lyle Fairfield wrote:
ROFL!


You were right all along.
I should know that by now.

Mar 19 '06 #44
This solution is where I would probably go for some small data to
support my application.
It seems simple and quick and easily modifed from the server side by
messing with the ASP files.
And I am right in thinking that if the ASP can get at a db, any db, and
write some data, I can suck that data back into my Access or other
application? And I could send Parameters?
I'm going to have to play with this after income tax season.
I suppose I can use it from Script with the ActiveXObject too!
or even from ASP ... to ASP
Hmmmmmm ...
sounds too good to be true ... what's the catch?

Mar 20 '06 #45
rkc
Lyle Fairfield wrote:
This solution is where I would probably go for some small data to
support my application.
It seems simple and quick and easily modifed from the server side by
messing with the ASP files.
And I am right in thinking that if the ASP can get at a db, any db, and
write some data, I can suck that data back into my Access or other
application? And I could send Parameters?
I'm going to have to play with this after income tax season.
I suppose I can use it from Script with the ActiveXObject too!
or even from ASP ... to ASP
Hmmmmmm ...
sounds too good to be true ... what's the catch?


It's so simple it seems like magic, but it is also what makes
the so called Ajax technology possible. All major up to date
browsers support an xmlhttp object. Microsoft as an active x
object. The others built in to the javascript support of the
browser.
Mar 20 '06 #46
Bri


Lauren Wilson wrote:
Bottom line: You appear to be saying that it IS possible to use ADO
FROM the VBA code of an MDB (or MDE) to connect to a table in an SQL
Database on a remote web server, using an HTTP URL as a connection
string -- correct?


Close, but not quite right. If you are connecting directly to the remote
server db (SQL Server or MySQL) then you can do so using the appropriate
connection string. This will NOT be a HTTP URL. For a list of all
possible connection strings (or at the very least all of the meaningful
ones) take a look at:
http://www.carlprothman.net/Default.aspx?tabid=81

From this fantastic resource (adjust to your specifics):

ODBC Driver for MySQL (via MyODBC)
To connect to a remote database

oConn.Open "Driver={mySQL} ;" & _
"Server=db1.dat abase.com;" & _
"Port=3306; " & _
"Option=131072; " & _
"Stmt=;" & _
"Database=mydb; " & _
"Uid=myUsername ;" & _
"Pwd=myPassword "

HTH
--
Bri

Mar 20 '06 #47
Lauren Wilson <no****@nospam. com> wrote in
news:r4******** *************** *********@4ax.c om:
On Sun, 19 Mar 2006 14:31:13 -0600, "David W. Fenton"
<XX*******@dfe nton.com.invali d> wrote:
Lauren Wilson <no****@nospam. com> wrote in
news:9o****** *************** ***********@4ax .com:
On Sat, 18 Mar 2006 14:33:09 -0600, "David W. Fenton"
<XX*******@d fenton.com.inva lid> wrote:
Is running SQL Server or some other server db on the web server
not a possibility?

It is. I would rather do it with SQL Server, or MySQL. It
appears that a DAP can connect to a remote SQL Server database.
. . .


I'm confused. An MDB can connect to a remote SQL Server database,
so why would you implement a DAP just to get to the remote SQL
Server database?


OK, to get us in sync: Until about 36 hours ago, I was
CONSIDERING whether or not a DAP could be used for something that
I THOUGHT was not possible without it. Either I misread earlier
posts or there is disagreement about the issue among those who
posted responses.

Bottom line: You appear to be saying that it IS possible to use
ADO FROM the VBA code of an MDB (or MDE) to connect to a table in
an SQL Database on a remote web server, using an HTTP URL as a
connection string -- correct?


No. Not HTTP -- a direct connection to the SQL Server port.
Until you reminded me that this might be possible, I first looked
for a way to do it with an MDB on the web server. Since I have
access to several web servers running either MS SQL Server OR
MySQL, I've simply switched my focus to doing it that way.


Well, I was not suggesting HTTP -- Access's capabilities in that
regard have already been completely defined in this thread. A
different back end on the server does not change that.

The only thing a server database changes is that there's a process
running on the server to connect to, which is not the case with an
MDB. If the ISP can't open up the SQL Server port, or provide a VPN
connection, then this won't work, either.

But Lyle has frequently posted about the ISPs that provide this kind
of service. I have no dealings with any of them, since I will never
buy web hosting from a Windows-based ISP, since I consider it
substandard.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Mar 20 '06 #48

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

Similar topics

4
2001
by: N3TB1N | last post by:
Here is my assignment. I am hoping that someone here quickly knows all of the correct answers... especially for question #5 and everything after. Thanks in advance. ___________________________________________________________________________________________________________________ class Money {
74
4066
by: Suyog_Linux | last post by:
I wish to know how the free()function knows how much memory to be freed as we only give pointer to allocated memory as an argument to free(). Does system use an internal variable to store allocated memory when we use malloc(). Plz help......
10
4856
by: Mike Wengler | last post by:
I inherited some code from a former employee, who was unable to cut the umbilical cord from VB6. His code is littered with calls to VB6 functions like Space(), String(), Left(), Mid(), Right(), Len(), Val(), etc. I know the .Net equivalents of everything except Val(). Int32.Parse allows you to filter out characters like "$" and "," and whitespace, but it still can't emulate the Val() function completely. Alright, who here in this...
1
879
by: Zorpiedoman | last post by:
Ok.... 1. Take a windows form. 2. Add a TabControl 3. Add a TabPage by right-clicking the Tabcontrol and selecting "Add Tab" The TabPage is actually added to the form, not just visually, but the code is added to the "Windows Form Designer generated code" region. I want to be able to do this myself with a control I created. In other words:
68
15722
by: James Dow Allen | last post by:
The gcc compiler treats malloc() specially! I have no particular question, but it might be fun to hear from anyone who knows about gcc's special behavior. Some may find this post interesting; some may find it off-topic or confusing. Disclaimers at end. The code samples are intended to be nearly minimal demonstrations. They are *not* related to any actual application code.
0
9596
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,...
0
10617
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, 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...
0
10364
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9186
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, 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...
0
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4328
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
2
3849
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
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...

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.