Hi all,
Help me please, I don't know whats wrong with the code. I attach my file, if you need to review the code.
I'm working with listview here. I use dummy data, to make it more simpler. I want my listview autorefresh whenever i press F1 (to refer to 2nd database), and F2 (to refer back to 1st database), the default need to show 1st database
see below pic, table B5:D25 (beige), is the 1st database. and G5:I16 (blue) is the 2nd database
Listview.JPG
I want to show the listview listitems, like this
and here's my current code,if G1 (yellow) was blank, indicated by H1 (istext = false), then
show 1st database
else G1 (yellow) was filled, indicated by H1 (istext = true)
show 2nd database
telling if
press F1, selection item will be copied to G1 - Listview gonna refreshed and showed 2nd database.
press F2, content/text in G1 will be deleted - listview gonna refreshed and showed 1st database
currently
1. when first time running, 1st database wasn't showed, press alt/shift/ctrl will showed them
2. the listview not immediately refreshed after press F1, need to press alt/shift/ctrl to refresh
3. the listview not immediately refreshed after press F2, need to press alt/shift/ctrl to refresh
4. i can't use up/down key direction to select within the listview.Mucho gracias,Please Login or Register to view this content.
Thanks a lot for the help
Bookmarks