Suppressing search feature in non-editable form

We have code in a form that makes the form non-editable under certain conditions. When the form is non-editable and we have a certain record up on screen to view, if the user tries to change the value of a field, it goes into search mode and the record changes on screen. The user wants that the same record should be displayed on screen even though he tries to type in a value in a field, that is, do not allow user to change value of any field in the form and at the same time suppress the search(Find) feature. Is this possible? Pari Somasundaram

Hi Pari… its possible mate, just go to your Tools–> options and set the property “QUick Find” FALSE and you have what you want best regards venax

Pari, There is no cut-n-dry way of doing what you want. You can try making the field Non-focusable, this way the cursor never gets there, so you cant type to activate the find function. Disabling that in the Tools-Options will switch it off for the entire system, you may not want that, just because of this one form. Cheers, Alex

Hi Pari, you can use variables instead of fields as Quick Find doesn’t work on variables. All you have to do is assign the fields to the variables and use the variables instead of the fields to be displayed. Regards, Torsten

quote:


Originally posted by paris
We have code in a form that makes the form non-editable under certain conditions. When the form is non-editable and we have a certain record up on screen to view, if the user tries to change the value of a field, it goes into search mode and the record changes on screen. The user wants that the same record should be displayed on screen even though he tries to type in a value in a field, that is, do not allow user to change value of any field in the form and at the same time suppress the search(Find) feature. Is this possible? Pari Somasundaram