PC Review


Reply
Thread Tools Rate Thread

Access 2003: populate combobox with CSV values from table column

 
 
Markus
Guest
Posts: n/a
 
      6th Aug 2011
Hi all

I'm using a continuous form in Access 2003 that is bound to a table
and shows the table records based on some filter criteria. This bound
table has a column 'MyCSV' of type text that contains string values
separated by a semicolon, e.g. 'ABC; 1234; XYZ'. When my form shows
the table records I'd like to have a combobox in each row that is
bound to the 'MyCSV' column of my table and gets filled with the
semicolon-separated values of the respective row. How can I achieve
that? Setting the row source property of the combobox to 'Value List'
and the control source property to 'MyVSV' does not work - in this
case the combobox only shows the entire string as it is in the column,
but does not split it into separate values. Setting the row source
property instead of the control source property does not work as well.


Thanks
 
Reply With Quote
 
 
 
 
Access Developer
Guest
Posts: n/a
 
      7th Aug 2011
"Markus" <(E-Mail Removed)> wrote

> I'm using a continuous form in Access 2003 that is bound to a table
> and shows the table records based on some filter criteria. This bound
> table has a column 'MyCSV' of type text that contains string values
> separated by a semicolon, e.g. 'ABC; 1234; XYZ'.


No, of course those don't work, Access was not designed to handle that type
of data. Normalize your data so that the "myCSV" type of data is in a table
related one to many from your main table.

--
Larry Linson, Microsoft Office Access MVP
Co-author: "Microsoft Access Small Business Solutions", published by Wiley
Access newsgroup support is alive and well in USENET
comp.databases.ms-access

in message
news:12085357-0a3b-4b2f-8c61-(E-Mail Removed)...
> Hi all
>

When my form shows
> the table records I'd like to have a combobox in each row that is
> bound to the 'MyCSV' column of my table and gets filled with the
> semicolon-separated values of the respective row. How can I achieve
> that? Setting the row source property of the combobox to 'Value List'
> and the control source property to 'MyVSV' does not work - in this
> case the combobox only shows the entire string as it is in the column,
> but does not split it into separate values. Setting the row source
> property instead of the control source property does not work as well.
>
>
> Thanks



 
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
Excel Values Entered Then Values Populate In Access Table apdc711 Microsoft Access Database Table Design 2 1st Feb 2008 08:31 PM
Help Access 2003... in ComboBox query doesnt populate right.. Ahmed Microsoft Access Getting Started 3 22nd Nov 2007 07:26 PM
how to get Excel 07 combobox to populate from MS Access table? xz Microsoft Excel Misc 0 20th Nov 2007 05:45 PM
Can Excel calculate populate table using row/column values & calc's on other sheet? wildswing Microsoft Excel Misc 1 26th Jan 2006 06:18 AM
populate datagrid combobox with different values per row mburghdorf@fingerlakesconstruction.com Microsoft VB .NET 0 10th Nov 2005 12:45 PM


Features
 

Advertising
 

Newsgroups
 


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