PC Review


Reply
Thread Tools Rate Thread

delimiter between two columns

 
 
=?Utf-8?B?Y2xhcmE=?=
Guest
Posts: n/a
 
      28th May 2007
Hi all,

I have the following data format:

ItemName ItemNum

and I want to display only ItemName in my dropdown control and use ItemNum
as value. What is the delimiter between ItemName and ItemNum?

Clara

--
thank you so much for your help
 
Reply With Quote
 
 
 
 
Joerg
Guest
Posts: n/a
 
      29th May 2007
Has nothing to do with delimiters. You have to use the BoundColumn and
TextColumn properties.

Here is what MS Help says:
When the user chooses a row in a multicolumn ListBox or ComboBox, the
BoundColumn property identifies which item from that row to store as the
value of the control. For example, if each row contains 8 items and
BoundColumn is 3, the system stores the information in the third column of
the currently-selected row as the value of the object.

You can display one set of data to users but store different, associated
values for the object by using the BoundColumn and the TextColumn
properties. TextColumn identifies the column of data displayed in text box
portion of a ComboBox and the value stored in the Text property; BoundColumn
identifies the column of associated data values stored for the control. For
example, you could set up a multicolumn ListBox that contains the names of
holidays in one column and dates for the holidays in a second column. To
present the holiday names to users, specify the first column as the
TextColumn. To store the dates of the holidays, specify the second column as
the BoundColumn. To hide the dates of the holidays, set the ColumnWidths
property of the sceond column to zero.

Joerg


"clara" <(E-Mail Removed)> wrote in message
news:156D1CEF-F095-457E-B42B-(E-Mail Removed)...
> Hi all,
>
> I have the following data format:
>
> ItemName ItemNum
>
> and I want to display only ItemName in my dropdown control and use ItemNum
> as value. What is the delimiter between ItemName and ItemNum?
>
> Clara
>
> --
> thank you so much for your help



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert file from column to columns using delimiter Gene Augustin Microsoft Excel Misc 2 6th Mar 2009 08:24 PM
text to columns - break by delimiter mrl Microsoft Excel Misc 4 17th Apr 2008 10:16 PM
delimiter hughie Microsoft Excel Programming 2 21st Dec 2006 01:17 PM
Split text into multiple columns using a common delimiter buffgirl71 Microsoft Excel Misc 3 15th Nov 2006 12:10 AM
Please define field delimiter and record delimiter in sorting A-Z. =?Utf-8?B?YW5nZWxmYWNl?= Microsoft Word Document Management 2 4th Oct 2004 10:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:11 PM.