Forum Discussion

i404's avatar
i404
Contributor
13 years ago

How can I use * in find?

Hi Guys,



I have a Table with cells that get generated  dynamically. In ide the cell, it has a TextBox that gets generated when user click o add button.

I have idStr = UIC_properties_gw_lname_1, ObjectType=textbox. The Trouble is that if I hard code:

propnames = array(name1,name2)

propvalues = array(value1,value2)

object.FindChild(propnames, propvalues, level, refresh), then I will only be able to use it once...



I tried to user " UIC_properties_gw_.*" but it doesnt like it.



Is there anyway I can get this working?



Cheers

Ian

1 Reply

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    Why do you have a period (.) in your string?  Remove that so that all you have is the asterisk (*) and that should work as one of your value items in your array.



    Also, what do you mean by "doesn't like it"?  What errors are you getting?  Or what is the undesired behavior?