|
-
Jan 31st, 2009, 09:06 AM
#1
Thread Starter
Lively Member
filling list box from table
hi everyone, i got a question
in my forms i have a control that has two columns, one with text the other with a value (ie value1;0;value2;1...etc). when it gets saved to a table, i only save the value not the text (0,1...). now, when i want to load the data from this table to the forms listbox i dont want to display the number but rather the text. how can i accomplish this?
thanks for your help
jason
I am using Microsoft Visual Basic 2008 Express Edition. I use Access for my data base
-
Jan 31st, 2009, 09:40 AM
#2
Re: filling list box from table
-
Jan 31st, 2009, 10:02 AM
#3
Thread Starter
Lively Member
Re: filling list box from table
i have everything stored in a look up table that stores all possible numerical values and their coresponding text
I am using Microsoft Visual Basic 2008 Express Edition. I use Access for my data base
-
Feb 1st, 2009, 07:15 AM
#4
Re: filling list box from table
Copy the relevant data from the table to an array and then assign the array to the listbox's list property...
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|