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

Show second column of 2 column listbox in report text box

Status
Not open for further replies.

Frank72

Technical User
Nov 13, 2001
57
0
0
IE
Hows it going

I want to put a date at the top of a report, simple enough but the date i want to show id the second column of a double column list box and therefore the index is being shown, ive tried [forms]![frm]![listb.column(2,comb.listindex)]
this seemed like a long shot but there must be a way of getting the second column to show in the report text box. obviously i cant change the bound coluimn cos its needed for various other operations

any ideas gratefully rceived


Thanks
 
Hi, you might try this:

=[listboxname].[column](1)

-Which displays the second column of the list box. (0) displays the first.
 
I know this is not pretty but To get around this problem, you could create a Textbox on your form to and update it with the column value you want using the afterupdate event and then reference that from your report.

As I said not pretty.

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top