Chris Guanzon Active Member Licensed User Longtime User Oct 6, 2020 #1 hello! how can I use the search using a text field and not using the default search box of B4XTable?
Erel B4X founder Staff member Licensed User Longtime User Oct 7, 2020 #2 You can hide SearchField.mBase and still set its text with SearchField.Text. Upvote 0
Chris Guanzon Active Member Licensed User Longtime User Oct 7, 2020 #3 Thank you very much! ? Upvote 0
P Pelky Active Member Licensed User Longtime User Feb 15, 2022 #4 Chris Guanzon said: Thank you very much! ? Click to expand... sorry to bring this up but I have tried the mbase and it failed but B4XTable1.SearchVisible = False hid the search field Erel said you can set its text with SearchField.Text. My question is - did you get it to work and if so how? Upvote 0
Chris Guanzon said: Thank you very much! ? Click to expand... sorry to bring this up but I have tried the mbase and it failed but B4XTable1.SearchVisible = False hid the search field Erel said you can set its text with SearchField.Text. My question is - did you get it to work and if so how?
Chris Guanzon Active Member Licensed User Longtime User Feb 15, 2022 #5 SearchField.Text = textfield.text Upvote 0
P Pelky Active Member Licensed User Longtime User Feb 15, 2022 #6 firstly I would like to thank you so much for coming back to me so quickly. It is very much appreciated. However I am still confused. is the searchfield.text defined somewhere? If i try and just enter ' searchfield.text = edtCompany.text' there is an error. I cant find a 'Type' being searchfield for a dim statement or otherwise link it to the B4XTable I really am sorry to trouoble you with this - maybe I am just being stupid - but I am lost with that Upvote 0
firstly I would like to thank you so much for coming back to me so quickly. It is very much appreciated. However I am still confused. is the searchfield.text defined somewhere? If i try and just enter ' searchfield.text = edtCompany.text' there is an error. I cant find a 'Type' being searchfield for a dim statement or otherwise link it to the B4XTable I really am sorry to trouoble you with this - maybe I am just being stupid - but I am lost with that
Magma Expert Licensed User Longtime User Feb 15, 2022 #7 Hi... if you want a more different (complicated but with different options at search) way you can check here... Upvote 0
Hi... if you want a more different (complicated but with different options at search) way you can check here...
P Pelky Active Member Licensed User Longtime User Feb 15, 2022 #8 I am actually looking for something simple - complexity is not what I like - simple is for me. I have tried various combinations of B4XTable1.mBase.Enabled = True ' B4XTable1.mBase.Text = False ' B4XTable1.SearchField.mBase.Text = False B4XTable1.SearchField.Text = edtCompany.Text B4XTable1.mBase.SearchField.Text = edtCompany.Text as I thought that maybe where i have to look but cant find the right combination. Upvote 0
I am actually looking for something simple - complexity is not what I like - simple is for me. I have tried various combinations of B4XTable1.mBase.Enabled = True ' B4XTable1.mBase.Text = False ' B4XTable1.SearchField.mBase.Text = False B4XTable1.SearchField.Text = edtCompany.Text B4XTable1.mBase.SearchField.Text = edtCompany.Text as I thought that maybe where i have to look but cant find the right combination.
Magma Expert Licensed User Longtime User Feb 15, 2022 #9 Pelky said: I am actually looking for something simple - complexity is not what I like - simple is for me. I have tried various combinations of B4XTable1.mBase.Enabled = True ' B4XTable1.mBase.Text = False ' B4XTable1.SearchField.mBase.Text = False B4XTable1.SearchField.Text = edtCompany.Text B4XTable1.mBase.SearchField.Text = edtCompany.Text as I thought that maybe where i have to look but cant find the right combination. Click to expand... are you searching... that? b4xtable1.SearchField.TextField.Text="the string you are searching for" Upvote 0
Pelky said: I am actually looking for something simple - complexity is not what I like - simple is for me. I have tried various combinations of B4XTable1.mBase.Enabled = True ' B4XTable1.mBase.Text = False ' B4XTable1.SearchField.mBase.Text = False B4XTable1.SearchField.Text = edtCompany.Text B4XTable1.mBase.SearchField.Text = edtCompany.Text as I thought that maybe where i have to look but cant find the right combination. Click to expand... are you searching... that? b4xtable1.SearchField.TextField.Text="the string you are searching for"
P Pelky Active Member Licensed User Longtime User Feb 15, 2022 #10 Magma said: are you searching... that? b4xtable1.SearchField.TextField.Text="the string you are searching for" Click to expand... Hey Ho we are cooking on GAS...... I have it working .... Thank you so very, very much...... Upvote 0
Magma said: are you searching... that? b4xtable1.SearchField.TextField.Text="the string you are searching for" Click to expand... Hey Ho we are cooking on GAS...... I have it working .... Thank you so very, very much......
M Mahares Expert Licensed User Longtime User Feb 15, 2022 #11 Magma said: b4xtable1.SearchField.TextField.Text="the string you are searching for Click to expand... I like your answer, but I think you can get by with: B4X: B4xtable1.SearchField.Text="the string you are searching for" Upvote 0
Magma said: b4xtable1.SearchField.TextField.Text="the string you are searching for Click to expand... I like your answer, but I think you can get by with: B4X: B4xtable1.SearchField.Text="the string you are searching for"
Magma Expert Licensed User Longtime User Feb 15, 2022 #12 @Mahares... at a moment i thought you troll me: heh... b4xtable1 --> B4xtable1 Both work textfield.text ... .text /// apples & oranges ? Upvote 0
@Mahares... at a moment i thought you troll me: heh... b4xtable1 --> B4xtable1 Both work textfield.text ... .text /// apples & oranges ?