The user enters free text into the bak_search field, how do I then retrieve what they keyed in ? I’ve done the following but it doesn;t return the value they keyed into the search variable.
var search = forms.frm_itemList.bak_search
var searchStr = ‘%’ + search + ‘%’ ;
Aploogies if my questions are basic but Iam a high school teacher not a programmer evaluating the product for possible use student classes in our high school
Sounds that should simply work.
This bak_search field is that the name of the table column or the name of the field on the form ?
If it’s the columnname then forms.frm_itemList.bak_search should work. if it’s the element name then you need to address it like so:
forms.frm_itemList.elements.bak_search
But if it’s the element name you can simply address it’s dataprovider instead.
It sounds like you don’t have any dataprovider connected to this field. Servoy requires to have a field connected to a dataprovider (table column or a (form) global) to store any value.