I have had problems with Access 2003 and merging to Word with code that worked perfectly fine for Access 97 mail merges. But I've found the solution!!!
The code you have used (above) where you have...
objWord.MailMerge.OpenDataSource _
...is not needed anymore! When you directly mention the...
Got it!!! I moved the hidden field and the form it was in further up in my code ABOVE the place where I had these lines:
<script language="JavaScript1.2" src="MenuRollovers_toppro.js"></script>
<script language="JavaScript1.2" src="Browser_Check.js"></script>
Once I did this, Netscape...
Yep, I tried that too. It just gives me a blank page. (But the source is intact.) Javascript is not disabled. It's interesting that it returns 'null' and not 'undefined' when it looks for the element though.
I'll figure it out eventually...thanks for all your time today.
Oh, and just to add, with the code just getting the element only, it returns null. But I don't understand why it's null when there definitely IS an element on the webpage and when IE sees it.
No I want the value, but when I write document.getElementById('my_sess_id').value, the page just displays a blank. This only happens in Netscape. I've also tried document.getElementById('my_sess_id').name, but that doesn't do it either.
These are the references to the .js in the html:
<script language="JavaScript1.2" src="MenuRollovers_toppro.js"></script>
<script language="JavaScript1.2" src="Browser_Check.js"></script>
The line that calls the function get_link()
link_me = get_link(id1, id2);
the variable 'link_me' is...
Not yet, but the only thing I can think of is that it's something to do with the javascript being accessed as src .js file? The javascript is not therefore on source view and maybe in Netscape it needs to be? Clutching at straws here...
Thanks for trying to help.
I did try that. But that doesn't wok either. And I tried the getElementByTag also and using the forms[0] array. All these work in IE but not Netscape. It's driving me mad!
Ok, ok, but I thought there may have been a browser issue, a way of using the getElementById in Netscape because...I can get the following to work in IE but it won't work in Netscape 6 or 7.
The 'my_sess_id' is the id for a hidden form field. Is this the problem? Can it not access hidden...
Rachel,
Did you ever get the answer as to why this didn't work in Netscape? I can use getElementByID in IE, but the code won't work in Netscape and only displays a blank page. Did you ever figure this out?
Maria
Many thanks to you both! Rob, I investigated the $SERVER['QUERY_STRING'] value and hurrah! I see exactly what you mean! $_POST forms KNOW that the value is an array but $_GET forms haven't a clue. I didn't know that!
I appreciate your help very much.
Maria
I have a form with dynamically created drop-down lists. I send ALL list 'states' back to the same page with a $_GET string so that the drop-down boxes still hold the user's selections as they continue to select from the remaining lists on the form. The $_POST action ONLY happens after all lists...
Thanks Gary,
I specifically don't want to use iframes or any frames because I know the form content will be long and I want the whole page to scroll, not just the frame. But thanks for the suggestion. The funny thing is that originally I DID have frames and the content of the forms were ALWAYS...
Is there any possible way to reload only the forms on a page and NOT the images? (so that the images just stay there)
The forms on a page contain continuously updating data but if a user returns to a page they've already been to, the latest database updates will not show until the refresh...
Hi,
The thing is, I AM using an earlier version of MySQL, but will all other INSERT queries, I explicitly used "DEFAULT" and it worked. It just won't work with the enum datatype. I'll use your suggestion, though. It's the best way to do it. Thanks, Maria
Hello and thank you for your prompt reply. I've redefined the table the way you said but EVEN after doing that the INSERT query will not work. If I insert values to this table, and instead of specifing 'N' explicitly, but typing "DEFAULT", it SHOULD enter 'N' in the record, but it...
Hello,
Although the MYSQL documentation states that there are default values for all its datatypes, whenever I specify a default value for an ENUM type, and then use "DEFAULT" in my INSERT query, when the row is created, the ACTUAL value stored is '0' and not the default value. Any...
Hi Craig,
Thanks for replying. Here is a version of my code so you can see what I am trying to do....
Private Sub Test()
Dim MyDB As Database
Dim MyQdef As QueryDef
Dim MySQL As String
Dim MyRS As Recordset
MySQL = "SELECT *.Contacts FROM Contacts"...
Hello,
I create a New QueryDef and when the Query exists, I try to base a recordset on it with the usual code:
Set MyNewRecordset = MyJustCreatedQueryDef.OpenRecordset(type,options,etc)
But I keep getting the error that there are "too few parameters. Expected 11". Is it not an...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.