theprophet
Programmer
i've got a form i created, and i use a drop down combo (in a dropdown list configuration). after i select one of the items in the list i want to filter a table based on the selection. code similiar to the following
select table
set filter to field = thisform.combobox.value
when i run the form i get the following error after i select an new item:
"THISFORM can only be used within a method"
my rowsource for the combo box is a field name and a code number and the rowsource type is "6 fields" and i'm bound to the code number (column 2 in my case).
other factors:
- data session is private
- it's modeless
- there are no relations in any of my tables in the data environment for this scenario
if anyone knows what i am doing wrong, please let me know. this thing is really getting frustrating. thanks in advance.
select table
set filter to field = thisform.combobox.value
when i run the form i get the following error after i select an new item:
"THISFORM can only be used within a method"
my rowsource for the combo box is a field name and a code number and the rowsource type is "6 fields" and i'm bound to the code number (column 2 in my case).
other factors:
- data session is private
- it's modeless
- there are no relations in any of my tables in the data environment for this scenario
if anyone knows what i am doing wrong, please let me know. this thing is really getting frustrating. thanks in advance.