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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pulling second column from a combobox to appear on report 1

Status
Not open for further replies.

Nate1749

Programmer
Nov 1, 2002
204
US
[Forms]![frm72]![cboWeekNum]

is the control source of the text box I have on the report. It's pulling column #1 which is the ID field, and I want it to pull column #2 (the field with the different week numbers). I've done this before, but I can't remember exactly...

-Nate
 
Try:
Code:
[Forms]![frm72]![cboWeekNum].Column(1)
with the (1) meaning column 2 (it's zero relative....)

 
I forgot that it started at column 0!!! I kept putting .column(2) (because I wanted the 2nd column & there are only 2 columuns) and it wasn't working. Thanks!

-Nate
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top