Oh wow. I'll try this tomorrow.
So, I'm thinking you use a button on a form for other document manipulations too. Just change out the code. hmmm
Wonderful!-- Janet A.
"Stefan Hoffmann" wrote:
[Quoted Text] > hi Janet, > > Janet A. Thompson wrote: > > So knowing not too much about VB, where would the code go? > Create a new form, assign your table to it. Place a button on your form, > name ir cmdMyButton. Create an event procedure: > > Private Sub cmdMyButton_Click() > > On Local Error GoTo LocalError > > Name Me![OldFileName] As Me![NewFileName] > > Exit Sub > > LocalError: > MsgBox "Error: " & Err.Description > > End Sub > > Replace OldFileName and NewFileName with the correct names of your fields. > > Backup your files first. > > mfG > --> stefan <-- >
|