Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I get access control values in VB?

Status
Not open for further replies.

MushMouse

Programmer
Mar 29, 2004
65
US
I'd like to put a combo control in a form that will allow the user to select a fontweight for each record & store that weight, then use that weight in a report. I can hardcode the weights in, but is there a way to just read them from access?
I'm assuming I'll be using additem, but I can't figure out how to get to the weights...

Thanks!
 
Put the font weight details in a table, then use the table in a query and read the data into the report.

John
 
Thanks, I can do that, but I thought there must be a way using applications.forms or something like that in VB to actually pull out the internal values (for instance, for fontweight, it would loop through the fontweights & put the values "thin", "light", "normal", etc.. into a variable to create a list.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top