![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: May 2005
Posts: 8
Rep Power: 0
![]() |
Variables/objects/fields accessed by values/strings
Lets say I have the following code:
MSODSC.Datapages(0).FirstSection.HTMLContainer.Children("field_name").Focus
MSODSC.Datapages(0).ApplyFilterHow 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. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|