[AccessD] Why is my Javascript (generated from Access) not working

Gustav Brock gustav at cactus.dk
Sat Nov 8 05:01:20 CST 2003


Hi Tom

As Drew mentions it probably has to do with line breaks being either
Chr(10) + Chr(13) or one of these only.

Open the file with a hex editor before and after saving with Notepad
and you should be able to see what's going on.

Here's a freeware tool:

  http://www.memecode.com/ihex.php

/gustav


> I have been using Access to build a HTML orderform for a couple of years and
> have recently updated the process ...

> After building the page with a series of queries etc I then write the page
> to the drive via FREEFILE and a PUT statement ....

> I have noticed that suddenly my pages javascript will not work UNLESS I
> first open the page in notepad and resave it.

> I dont have to edit the page in ANY WAY simply saving it will allow the JS
> to work...

> Can anyone shed any light on what the simple act of opening the page in
> notepad and then saving it is doing?

> I have been wrestling with this on and off for a couple of weeks now and
> have run out of things to try.

> regards

> Tom Keatley



More information about the AccessD mailing list