S
Steve_A
I am not quite sure if this belongs in Exporting or Queries so if it is in
the wrong place let me know.
I am using Access 2007, my in database I have a table (SupplierRD) with
318,585 records that are related to 346 suppliers (SuppNum). What they want
now is one excel file for each of the 346 suppliers, each file should be
named after that supplier number (6 numeric digits).
This is a sample of the data, there are about 20 more fields but this gets
the idea across I hope. This small table would build two tables and export
to two files, one named 405983.xls and the other would be 011307.xls to
C:\work1\suppliers\
ID PN MC SuppNum
120 100T1532-023 775561001832 405983
121 100T1532-023 775561001832 405983
711 111T2035-001 775561043248 405983
712 111T2035-001 775561043248 405983
713 111T2035-002 775561043255 405983
716 111T2035-002 775561043255 405983
406 111T2007-003 775561002947 011307
407 111T2007-003 775561002947 011307
408 111T2007-004 775561002954 011307
410 111T2007-004 775561002954 011307
419 111T2008-010 775561036887 011307
423 111T2008-010 775561036887 011307
443 111T2009-005 775561036895 011307
444 111T2009-005 775561036895 011307
445 111T2009-006 775561003010 011307
448 111T2009-006 775561003010 011307
Thanks
the wrong place let me know.
I am using Access 2007, my in database I have a table (SupplierRD) with
318,585 records that are related to 346 suppliers (SuppNum). What they want
now is one excel file for each of the 346 suppliers, each file should be
named after that supplier number (6 numeric digits).
This is a sample of the data, there are about 20 more fields but this gets
the idea across I hope. This small table would build two tables and export
to two files, one named 405983.xls and the other would be 011307.xls to
C:\work1\suppliers\
ID PN MC SuppNum
120 100T1532-023 775561001832 405983
121 100T1532-023 775561001832 405983
711 111T2035-001 775561043248 405983
712 111T2035-001 775561043248 405983
713 111T2035-002 775561043255 405983
716 111T2035-002 775561043255 405983
406 111T2007-003 775561002947 011307
407 111T2007-003 775561002947 011307
408 111T2007-004 775561002954 011307
410 111T2007-004 775561002954 011307
419 111T2008-010 775561036887 011307
423 111T2008-010 775561036887 011307
443 111T2009-005 775561036895 011307
444 111T2009-005 775561036895 011307
445 111T2009-006 775561003010 011307
448 111T2009-006 775561003010 011307
Thanks