borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (HELP! need a connection string)Next Topic (ADO connection problem ??) New Topic New Poll Post Reply
AndreaVB Forum : Database : ListBox
Poster Message
jpclerc
Level: Guest


icon ListBox

Hello,
sorry for my poor english. I'm a Frenchy ..

I have a Form to add, modify and delete table (ACCESS 2000).
I want to display a column of this table in a listBox.
With the VB 6 wizard, all columns are display in textfield.
The elements of the listbox must come from a parent table. The column is "type of treatment" and the types are store in a specific table (Id, Description).
The listbox must show the description and it's the id that is store in the table that is manage by my form.
I hope it's clear and thank you for jour help.

26-08-2002 at 07:07 PM
| Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 891
icon Re: ListBox

Hi

2 options, i can think of.
1. Use the MSForms listbox/combobox as it is like the one (exactly, in fact) used in Access, with columncount, columnwidths, etc.
2. Use a ListView and set the View property the Report. This will give you "hidden" columns by using the Tag property to hold the actual id of the record

Hope this helps
Kieron


____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)

09-09-2002 at 11:57 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Database : ListBox
Previous Topic (HELP! need a connection string)Next Topic (ADO connection problem ??) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder