If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Command Button Duplicate File
I have a command button duplicate file in the database, how can I get the
command button to duplicate the file into a different database, or datasheet? It would be really helpful, if someone could help me out with this! |
#2
|
|||
|
|||
Command Button Duplicate File
You can duplicate a file with FileCopy.
Use Help in the code window for details. If you are trying to duplicate the current file, doing this could give you bad results. Several situations could give you locking errors, or the target file may be bad (internally inconsistent.) Examples: forms are opened and the data is being edited, reports or queries or recordsets that have locked some tables, there are uncommitted transactions in progress, other users are in the database, ... -- Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "COMP5G" wrote in message ... I have a command button duplicate file in the database, how can I get the command button to duplicate the file into a different database, or datasheet? It would be really helpful, if someone could help me out with this! |
Thread Tools | |
Display Modes | |
|
|