Newbie VBA quandry here...
I created an Access 2000 database linked to a SQL database for reporting purposes.
I have a table with a "Cartesian Product" like so:
computername, qnumber
COMPUTER1, HOTFIX1
COMPUTER1, HOTFIX2
COMPUTER1, HOTFIX3
COMPUTER2, HOTFIX1
COMPUTER2, HOTFIX2
COMPUTER3, HOTFIX1
The Computernames are string values as well as the Qnumbers.
I want to process this table into a more workable model like so:
computername, qnumber1, qnumber2, qnumber3
COMPUTER1, HOTFIX1, HOTFIX2, HOTFIX3
COMPUTER2, HOTFIX1, HOTFIX2
COMPUTER3, HOTFIX1
I would prefer the field namse be = to the string values of the original qnumbers, and the values be TRUE/FALSE. That way as new Qnumbers arrive, they would just generate a new field heading.
Is there a way to do this is VBA for access 2000? I've only done a little VBA and some VBscript...
Thanks for any help!
-Jim Connors
I created an Access 2000 database linked to a SQL database for reporting purposes.
I have a table with a "Cartesian Product" like so:
computername, qnumber
COMPUTER1, HOTFIX1
COMPUTER1, HOTFIX2
COMPUTER1, HOTFIX3
COMPUTER2, HOTFIX1
COMPUTER2, HOTFIX2
COMPUTER3, HOTFIX1
The Computernames are string values as well as the Qnumbers.
I want to process this table into a more workable model like so:
computername, qnumber1, qnumber2, qnumber3
COMPUTER1, HOTFIX1, HOTFIX2, HOTFIX3
COMPUTER2, HOTFIX1, HOTFIX2
COMPUTER3, HOTFIX1
I would prefer the field namse be = to the string values of the original qnumbers, and the values be TRUE/FALSE. That way as new Qnumbers arrive, they would just generate a new field heading.
Is there a way to do this is VBA for access 2000? I've only done a little VBA and some VBscript...
Thanks for any help!
-Jim Connors