Bram de Groot
New member
- Local time
- Today, 12:24
- Joined
- Feb 18, 2004
- Messages
- 7
I want to export forms to other databases. I managed to export tables with:
Dim db as DAO.database
Dim tdf As DAO.TableDef
For Each tdf In db.TableDefs
DoCmd.TransferDatabase acExport, "Microsoft Access", strdbpath, acTable, tdf.Name, tdf.Name
Next
I want to do the same thing with forms but I can't figure out how to do this, because you can't use something like:
Dim form as DOA.FormDef
For each form........etc.
Can anyone help me out?
Thanks!
Bram de Groot
Dim db as DAO.database
Dim tdf As DAO.TableDef
For Each tdf In db.TableDefs
DoCmd.TransferDatabase acExport, "Microsoft Access", strdbpath, acTable, tdf.Name, tdf.Name
Next
I want to do the same thing with forms but I can't figure out how to do this, because you can't use something like:
Dim form as DOA.FormDef
For each form........etc.
Can anyone help me out?
Thanks!
Bram de Groot