473,385 Members | 2,044 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

JavaScript & MS Access

Ken
Can I use a script (JavaScript??, php??) to open Access, then
automatically import data from a txt file appending the data into the
database?

Thanks.

Jul 23 '05 #1
6 3198
In article <r2******************@tornado.rdc-kc.rr.com>,
kk******@wi.rr.com says...
Can I use a script (JavaScript??, php??) to open Access, then
automatically import data from a txt file appending the data into the
database?


PHP, yes. JavaScript, less likely, but you could. Client-sidem no.

--
Hywel
Jul 23 '05 #2
Ken
"Hywel Jenkins" <hy**********@hotmail.com> wrote in message
news:MP************************@news.eclipse.net.u k...
In article <r2******************@tornado.rdc-kc.rr.com>,
kk******@wi.rr.com says...
Can I use a script (JavaScript??, php??) to open Access, then
automatically import data from a txt file appending the data into the
database?


PHP, yes. JavaScript, less likely, but you could. Client-sidem no.

--
Hywel

It is possible to use php (server side) to control Access (Client side) on
my computer?

Can you suggest a few commands to get me started?

Thanks.

Ken
Jul 23 '05 #3
In article <Uu*******************@tornado.rdc-kc.rr.com>,
kk******@wi.rr.com says...
"Hywel Jenkins" <hy**********@hotmail.com> wrote in message
news:MP************************@news.eclipse.net.u k...
In article <r2******************@tornado.rdc-kc.rr.com>,
kk******@wi.rr.com says...
Can I use a script (JavaScript??, php??) to open Access, then
automatically import data from a txt file appending the data into the
database?
PHP, yes. JavaScript, less likely, but you could. Client-sidem no.

It is possible to use php (server side) to control Access (Client side) on
my computer?
No. Think about the security implications of the for a minute.
Can you suggest a few commands to get me started?


No.

--
Hywel
Jul 23 '05 #4
Hywel Jenkins wrote:
kk******@wi.rr.com says...
Can I use a script (JavaScript??, php??) to open Access, then
automatically import data from a txt file appending the data into the
database?


[...] Client-sidem no.


Not true. As long as there is an appropriate client-side API that
provides respective language binding, such can be done client-side.
It is not likely that such an API is available and accessible,
generally, but it is possible. The Windows Script Host is an example
of that.
PointedEars
Jul 23 '05 #5
In article <42***********************@newsread4.arcor-online.net>,
Po*********@web.de says...
Hywel Jenkins wrote:
kk******@wi.rr.com says...
Can I use a script (JavaScript??, php??) to open Access, then
automatically import data from a txt file appending the data into the
database?


[...] Client-sidem no.


Not true. As long as there is an appropriate client-side API that
provides respective language binding, such can be done client-side.
It is not likely that such an API is available and accessible,
generally, but it is possible. The Windows Script Host is an example
of that.


Would that API need more than just JS, though, such as some sort of
plug-in through with the browser can chat with the API?

--
Hywel
Jul 23 '05 #6
Hywel Jenkins wrote:
In article <42***********************@newsread4.arcor-online.net>,
Po*********@web.de says...
Hywel Jenkins wrote:
kk******@wi.rr.com says...

Can I use a script (JavaScript??, php??) to open Access, then
automatically import data from a txt file appending the data into the
database?

[...] Client-sidem no.


Not true. As long as there is an appropriate client-side API that
provides respective language binding, such can be done client-side.
It is not likely that such an API is available and accessible,
generally, but it is possible. The Windows Script Host is an example
of that.


Would that API need more than just JS, though, such as some sort of
plug-in through with the browser can chat with the API?

Yes, of course. The API under discussion is an *ACCESS* API, not Javascript.
Jul 23 '05 #7

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

Similar topics

1
by: Zaidan | last post by:
I am running Excel2000 under WIN98 2nd edition, and I am writing a VBA code (I will consider using javascript if I have to) that does the following, at the user command: 1- Start MS Explorer and...
1
by: jarit | last post by:
Hi, Found these coding guidelines for C#, HTML, Javascript, Java, HTML, PL/SQL, T-SQL, VB and VBScript. Well written and free to download. www.demachina.com/products/swat Jeroen
4
by: johkar | last post by:
When the output method is set to xml, even though I have CDATA around my JavaScript, the operaters of && and < are converted to XML character entities which causes errors in my JavaScript. I know...
5
by: nivas.meda | last post by:
Hi, I have an excel sheet with a graph and cells.If i change the value in the excel cells the graph will reflect.Now i am going to implement this functionality in html page.I successfully saved...
6
by: Alejandro Penate-Diaz | last post by:
Hi. I was handling key events nicely using some Javascript on my apps using something like this: this.txtUserName.Attributes.Add("onkeydown","if((event.which && event.which == 13)||(event.keyCode...
8
by: Nathan Sokalski | last post by:
I add a JavaScript event handler to some of my Webcontrols using the Attributes.Add() method as follows: Dim jscode as String = "return (event.keyCode>=65&&event.keyCode<=90);"...
2
by: Nathan Sokalski | last post by:
I am moving my website from my machine to my webhost, and need some help with what extra files I need to include due to the fact that I used AJAX in my site. Everything on the site is obviously...
3
by: DVir | last post by:
I am having problem with IE. This is the code that I am using, and it works good in every browser except in IE. If somebody can help PLEASE: <script language="Javascript" type="text/javascript">...
4
by: pmactdot | last post by:
Hi, I'm looking for some assistance on a case study...I have two arrays <head>: one for daily special dish name, second for the daily dish description, then I have two document.write: a daily...
0
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$) { } ...
0
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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
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...

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.