How can I change the header from a list1 to list2 in the same form
list1 would be:
date, account number, credit, duty
list2 would be:
date, account name, account number
Thank you
Printable View
How can I change the header from a list1 to list2 in the same form
list1 would be:
date, account number, credit, duty
list2 would be:
date, account name, account number
Thank you
You should be using a grid rather than a listbox.
I have no idea what you are referring to as a header as listboxes do not have headers but if you set it on list1 then you would do it the same way on list2 but with the desired changes.
However if you want to display data in rows and columns that is what grid controls are for. Listboxes are not suited for this and have more limitations and restrictions as to what can be done with them.
Do yourself a favor and switch to a grid preferably the MSHFlexGrid. Your life will be easier going forward.
If you are actually referring to the Form header text, the following link would apply:
https://www.vbforums.com/showthread....text-of-a-form
If not, a more detailed explanation of what you are wanting to do would be needed, with maybe a relevant screen capture.
thanks for answering
it would try to put a commandbutton1 in a list1 with a header outside the list1 with labels
put another commandbutton2 in a list2 with header outside of list2 with labels
Thank you
do you understand how listboxes work?
thanks for answering topic closed