I am having difficulty changing the value of a radio button on someone else's web page using OLE automation. Apparently you can't reference the individual radio button elements by name, because they all have the same name. This works OK with a text object, etc. because the names don't overlap.
In the Document Object Model entry for "children" is the following statement: The elements contained in this collection are undefined if the child elements are overlapping tags. Similar to the "all" collection.
So how the heck do you reference a radio button using automation? Referencing it directly by name (not through a collection) doesn't work either. Any ideas?
Here is the section of automation code, plus a fragment of HTML from the page. The commented line of VFP5 code is the one that doesn't work (OLE Error: Unknown name).