472,958 Members | 2,657 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 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 3185
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: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.