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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by jnoody

  1. jnoody

    Set left in Firefox

    Please reread my post. parent is an instance variable in my class, not the use of parent that you are thinking off. And the element gets appended fine if I don't set style.left. The javascript for adding the page works. I have tested that and verified. If my syntax isn't perfect, please...
  2. jnoody

    Set left in Firefox

    I am making a javascript menu with submenus. I am using tables for each individual menu and submenu and am calculating the width of the parent menu to determine the left position of the submenu. The three classes I have are Menu, Submenu, and Cell. Each of the three classes I have has an...
  3. jnoody

    combobox itemdata returns null

    Sorry. Turns out that I had my Bound Column set to 0 instead of 1. cboCountry.value works perfectly. Thanks, Pete!
  4. jnoody

    combobox itemdata returns null

    I tried and cboCountry.value returns the same thing as ListIndex, not the actual data in the records pulled from the row source. What I need is a way to get the actual data. For example, My combobox has four country names in it each with an ID. I need code that will pull those values. Does...
  5. jnoody

    Set left in Firefox

    It does work in IE. I have tested it. Sorry, I also should have mentioned that "this" is being using in an object-oriented context for an unrelated class I have defined. Any other ideas?
  6. jnoody

    Set left in Firefox

    This works fine in IE, but not Firefox. I am trying to set the left property of an element. I can do it fine if I set it using a string literal, but not if I use offsetWidth of another element. See below. //el is my element //this works fine el.style.left = "100px"; //this does not work...
  7. jnoody

    combobox itemdata returns null

    The problem is that whenever I try to use ItemData to pull the value of the index field, it returns null, even if I specify the number of a row from the combobox that I know is a valid argument. Here's the scenario: I have a combobox selecting 2 fields from a table as its rowsource. One...
  8. jnoody

    controls won't requery

    Thanks PH. That worked. I am more inclined towards SQL anyway. I was using ADO because everything I read said I should know it. If ADO is so screwed up with VBA, why is it glorified so?
  9. jnoody

    controls won't requery

    I recreated the entire DB with one table called tblCountries with a primary key autonumber called idsCountry and a text called chrName. Then I created a form called frmCountries with a textbox called txtNewCountry, a command button called cmdNewCountry, and a listbox called lstCountries with...
  10. jnoody

    controls won't requery

    Tried recreating all of the boxes and code and still have the same symptoms.
  11. jnoody

    controls won't requery

    Do I enter that code as is? Are we saying that my form is going to constantly be requerying?
  12. jnoody

    controls won't requery

    Thanks, but it's still not working. The listbox requeries correctly about 25% of the time.
  13. jnoody

    controls won't requery

    I have been thinking about it and I am convinced that it is a timing issue. Access is updating the form before it finishes making changes to the table. I am very distressed...
  14. jnoody

    controls won't requery

    I tried both of those and neither worked. The listbox is still not always updating. I don't know if this is relevant, but I should mention that both controls are unbound and that the rowsource for the listbox is tblCountries. Any other ideas?
  15. jnoody

    controls won't requery

    My problem is that sometimes the listbox (lstCountries) below updates/requeries after either the add_Click() or delete_Click() functions, and sometimes not. The data in tblCountries does change everytime, but the contents of the listbox don't always. I can't find any rhyme or reason to it...

Part and Inventory Search

Back
Top