What I am wondering is this: Has someone out there written any code that will loop through all the tables in an Access database and pull the table names AND field names into a recordset?
I know I could loop through the system table to get table names, but I am uncertain of how to pull the field names...
------------------------------------------------------------------------
I am trying to take a ridiculously long and very complex InfoPath/XML document (which has no real format/schema) and create from that, a normalized database in Access. In order to do this I need to ensure that every field in the XML document is accounted for in my Access Database.
My Master table would be pretty simple with only a couple fields: Table_Name, Field_Name
Data would look kind of like this:
Table1, Field1
Table1, Field2
Table2, Field1
Table2, Field2
Table2, Field3
Table3, Field1…
Of course after I get a table with all the tablenames and fields from the imported XML doc, then I can add my structure to it and basically have a master checklist, which is the goal here.
Any help would be greatly appreciated,
-Gary
I know I could loop through the system table to get table names, but I am uncertain of how to pull the field names...
------------------------------------------------------------------------
I am trying to take a ridiculously long and very complex InfoPath/XML document (which has no real format/schema) and create from that, a normalized database in Access. In order to do this I need to ensure that every field in the XML document is accounted for in my Access Database.
My Master table would be pretty simple with only a couple fields: Table_Name, Field_Name
Data would look kind of like this:
Table1, Field1
Table1, Field2
Table2, Field1
Table2, Field2
Table2, Field3
Table3, Field1…
Of course after I get a table with all the tablenames and fields from the imported XML doc, then I can add my structure to it and basically have a master checklist, which is the goal here.
Any help would be greatly appreciated,
-Gary