troubleshooting Question

Listbox from Table

Avatar of kelsoR
kelsoRFlag for South Africa asked on
Microsoft Access
6 Comments1 Solution225 ViewsLast Modified:
Hi all,

I get a CSV file sent to me from various Clients on a monthly basic.
I then import this file as a Table object.

The problem is that each Clients file has diffrent field/column names - all code driven.
Eg: 1001 mean Group 1 with Catogery 001
There could be hunderds of codes but because they all use the same format (the 1st digit being the identifier) I need to group them accordingly on a Form or Report.

So creating a Listbox and setting the Row Source Type to "Field List" will give me all the fields names but that is not what I need. I need a Listbox for each of the 6 or so Groups.
So all field names starting with a '1' must be listed in a seperate Listbox named Group1.
The same goes for the other groups. All must feed off the same initial table containing all the field names but seperated by group.

The second thing I need to do it to also show the value (per staff member) contained in the field by group's catogery.

So the Main Form will be bound to a Staff List. And each Staff members will have diffrent catogeries and values.
So if I'm on Staff members 145, I should be able to see the 6 or so Listboxes containing the diffrent field name per group and then next to it the values for those fields.

1001 = $100        2006 = $400
1002 = $50          2018 = $500

Hope this makes sense.
PS: I attached a sample of a typical file I'm getting.

Any ideas anyone?

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros