Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. databasis

    Trying to mail merge Access 2003 data into Word 2003

    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...
  2. databasis

    getElementById()

    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...
  3. databasis

    getElementById()

    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.
  4. databasis

    getElementById()

    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.
  5. databasis

    getElementById()

    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.
  6. databasis

    getElementById()

    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...
  7. databasis

    getElementById()

    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.
  8. databasis

    getElementById()

    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!
  9. databasis

    getElementById()

    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...
  10. databasis

    getElementById()

    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
  11. databasis

    Sending multiple select values in a $_GET string. Is it possible?

    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
  12. databasis

    Sending multiple select values in a $_GET string. Is it possible?

    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...
  13. databasis

    Reload webpage content WITHOUT reloading images?

    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...
  14. databasis

    Reload webpage content WITHOUT reloading images?

    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...
  15. databasis

    INSERTing a default ENUM value

    Rudy, You are right. Thank you. I've changed the datatype to CHAR(1) and it's grand now. Maria
  16. databasis

    INSERTing a default ENUM value

    Hi, The thing is, I AM using an earlier version of MySQL, but will all other INSERT queries, I explicitly used &quot;DEFAULT&quot; 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
  17. databasis

    INSERTing a default ENUM value

    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 &quot;DEFAULT&quot;, it SHOULD enter 'N' in the record, but it...
  18. databasis

    INSERTing a default ENUM value

    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 &quot;DEFAULT&quot; in my INSERT query, when the row is created, the ACTUAL value stored is '0' and not the default value. Any...
  19. databasis

    Creating a RecordSet from a QueryDef Object.

    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 = &quot;SELECT *.Contacts FROM Contacts&quot...
  20. databasis

    Creating a RecordSet from a QueryDef Object.

    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 &quot;too few parameters. Expected 11&quot;. Is it not an...

Part and Inventory Search

Back
Top