i have an application containing a header with 5 filters (combo boxes) and 2 search boxes (text boxes). When the search boxes are used and return no records in the detail of the form, the actual search word in the header becomes invisible, though the text box is still populated with the search data. How do i prevent the search data from becoming invisible?
Comments
: boxes) and 2 search boxes (text boxes). When the search boxes are
: used and return no records in the detail of the form, the actual
: search word in the header becomes invisible, though the text box is
: still populated with the search data. How do i prevent the search
: data from becoming invisible?
:
:
try to see and analyze your codes...
let's say we have cmdSearch (for example only)
look at your code: if you havn't yet put this code, it may be the remedy:
[code]
dim temp as string
'part of the code in cmdSearch
if [boolean] then
'statement must be here for true
else
'statement must be here for false
end if
temp = txtSearch.Text
txtSearch.Text = temp
[/code]
this is just an opinion coz i am not able to visualize your codes
from red3warlord with gratitude always saying
"live your life the way you like and everything will be alright..."
: : boxes) and 2 search boxes (text boxes). When the search boxes are
: : used and return no records in the detail of the form, the actual
: : search word in the header becomes invisible, though the text box is
: : still populated with the search data. How do i prevent the search
: : data from becoming invisible?
: :
: :
: try to see and analyze your codes...
:
: let's say we have cmdSearch (for example only)
:
: look at your code: if you havn't yet put this code, it may be the
: remedy:
:
: [code]:
: dim temp as string
: 'part of the code in cmdSearch
: if [boolean] then
: 'statement must be here for true
: else
: 'statement must be here for false
: end if
:
: temp = txtSearch.Text
: txtSearch.Text = temp
: [/code]:
:
: this is just an opinion coz i am not able to visualize your codes
:
: from red3warlord with gratitude always saying
:
:
: "live your life the way you like and everything will be alright..."
thanks for your response - i will attempt implemeting your solution but ....
your code appears to address the issue of the data in the field being lost. my problem however is that the data is there but turns invisible!? when i put my cursor back in the field the data is actually there.