![]() |
Variables/objects/fields accessed by values/strings
Lets say I have the following code:
:
MSODSC.Datapages(0).FirstSection.HTMLContainer.Children("field_name").FocusHow can I use textbox.value to define "field_name"? I know if I say const variable = "a_string" then it will load the field a_string, but I can't use a textbox.value to define a const variable, so what can I do? If I just use MSODSC.Datapages(0).FirstSection.HTMLContainer.Children(textbox.value).Focus then it gives me an object required: string error. |
| All times are GMT -5. The time now is 12:54 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC