Hi there,
I'm trying to display further informations from a dbf-file after a user selected an entries from a combo box. Therefore I start the vbs-script over the onselok in the combo box.
<COMBOBOX name="SPECIES" x="32" y="22" width="94" height="100" defaultvalue="" listtable="species_list.dbf" listvaluefield="SPECIES" listtextfield="SPECIES" onselok="Call UpdateSpeciesList()" tooltip="" tabstop="true" border="true" sip="true" limittolist="false" sort="false" field="SPECIES"/>
In my vbs-File the function looks sofar like that:
Sub UpdateSpeciesList()
Dim pForm Set pForm = ThisEvent.Object.Parent
pForm.Controls("SPECIES").ListIndex = pForm.Controls("NAME").ListIndex '++ update other information '++ something like Pages("page1").Fields("INFO").Value = xyz Set pForm = Nothing End Sub
For the moment the script just display the name of a species via the ListIndex in a second Combo field called NAME.
Now I want to display additional information from the same DBF entry. For example I have the text-field "INFO" where I want to insert the information form the row INFO. Any idea how I can realize that?
Regards Valentin