Anyone know of a dropdown box that has 2 columns.
I can't get by with 1, and I can't use a list. The door to life is never locked, but few have the knowledge to open it.
How about using a tab and concatenating the two values togther before adding them to the list box? This will give the appearance of having two columns. You'll have to write some additional logic so that values in the listbox line up in the correct columns, but that's a pretty simple task.
Code:
lstName.AddItem strFirstName & vbTab & strLastName
Snaggs
tribesaddict@swbell.net
If a parsley farmer is sued, can they garnish his wages?
I am trying to design a report useing vb report writer .
The report is a profit and loss account.
I have a table in my DB called accounts, which containds the account name , type(incom/expense) accumulated balance.
I want to print the account name and their individual balances , and a total at the end of each group for example , a total for all the income accounts...
eg...
Bank £12000
Cash £300
£12,300
Total
rent £300
Esb £400
Total £700
Overall Total £11,600
I thought I could do a group by query as follows but it is not correct
"Select AccountName, AccBAL,SUM (AccBAl), TypeID from Accounts Group By TypeID"
Any suggestions on how I could achieve this would be greatly appreciated
bigfoot,
Sherida makes a pretty decent combo box that has as many columns as you want. Along with that packages you get a pretty decent grid control. At my last job, we used these controls a lot and they worked well for us. You could pprobably download a demo of it from
I tried a combo from (I think) iqdesign. It didnt work properly however, so I mailed them for help. They didn't bother to reply, so I dropped it.
As the customer in this case has Office 97 everywhere, I decided to use the Access drop down which works very well. The only snag is that you arent allowed to distribute it, but it's fine for people who have Office already.
I've just read
Apparently there is something called the activex control pad. This is a free download that includes fm20.dll, so it is ok to use the Access combo. Hooray.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.