Is there a line (or 2) of code that I can add to my command button - after a line that imports a table from another database that will remove the Primary Key from a field named RECNUM?
Code: Select all
DoCmd.TransferDatabase acImport, "Microsoft Access", _
"R:\XYZ HMOs 2017\HMONAME 2017\" & strMonth & "\XYZ\" & strMonth & ".ACCDB", acTable, _
"CURRENT MONTH MEMBER COUNT", "CURRENT MONTH MEMBER COUNT XYZ", False