G
Guest
Apologies if this is a bit basic - I'm rather new to Access.
Am using Access 2003 on XPSP2
I have one table with data that looks a bit like this:
UserID1, Field1, Field2, Field3, Field4 . . .Field36, CreationDate
UserID2, Field1, Field2, Field3, Field4 . . .Field36, CreationDate
I'd like to make a new table which builds up the data from the first table
as follows:
KeyField, UserID1, FieldNo=1, Field1Data, CreationDate
KeyField, UserID1, FieldNo=2, Field2Data, CreationDate
keyField, UserID1, FieldNo=3, Field3Data, CreationDate
..
..
..
keyField, userID1, FieldNo=36, Field36Data, CreationDate
keyField, userID2, FieldNo=1, Field1Data, CreationDate
..
..
keyField, userID2, FieldNo=36, Field36Data, CreationDate
Sequence isnt important - happy for keyfield to be an AutoNum - I can
manipulate the data happily once I get it into the new table - so data can be
I've managed to write a CreateTable query to create the first set of data -
i.e. to take all of the data from FieldNo1 for all users and put this into a
new table.
I've also managed to write an AppendTable query to add the data from the
second Field to that of the first, but figured there MUST be a better way
than to create 36 seperate queries.
I am reasonably familiar with VBA in Excel, but a lot less so in Access -
but will happily have a go!
Hope someone can help.
Am using Access 2003 on XPSP2
I have one table with data that looks a bit like this:
UserID1, Field1, Field2, Field3, Field4 . . .Field36, CreationDate
UserID2, Field1, Field2, Field3, Field4 . . .Field36, CreationDate
I'd like to make a new table which builds up the data from the first table
as follows:
KeyField, UserID1, FieldNo=1, Field1Data, CreationDate
KeyField, UserID1, FieldNo=2, Field2Data, CreationDate
keyField, UserID1, FieldNo=3, Field3Data, CreationDate
..
..
..
keyField, userID1, FieldNo=36, Field36Data, CreationDate
keyField, userID2, FieldNo=1, Field1Data, CreationDate
..
..
keyField, userID2, FieldNo=36, Field36Data, CreationDate
Sequence isnt important - happy for keyfield to be an AutoNum - I can
manipulate the data happily once I get it into the new table - so data can be
I've managed to write a CreateTable query to create the first set of data -
i.e. to take all of the data from FieldNo1 for all users and put this into a
new table.
I've also managed to write an AppendTable query to add the data from the
second Field to that of the first, but figured there MUST be a better way
than to create 36 seperate queries.
I am reasonably familiar with VBA in Excel, but a lot less so in Access -
but will happily have a go!
Hope someone can help.