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