Question : Duplicate Record and Form Process

I have a form FrmProviders that has a record source of tblProviderbill.  Utilizing a cmd button I would like to duplicate the record from the record source and open a different form frmProviders_recon displaying the field. utilizing the PK of the table.

I have a macro that will duplicate the record and open the form frmProviders_recon, however it is not prepopulated with the data that was previously duplicated.

Answer : Duplicate Record and Form Process

Example here
Dim CancelChanges As DialogResult = MessageBox.Show("Your changes will be lost, are you sure?", "Cancel Changes", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
            If CancelChanges = Windows.Forms.DialogResult.No Then
                Exit Sub
            End If
Random Solutions  
 
programming4us programming4us