I can open the database and get to the right form but I haven't been able to figure out the button.
I receive a run-time error '438':
Object doesn't support this property or method
I appreciate everything that anyone can do for me.
KirkT
This is my code.
Expand|Select|Wrap|Line Numbers
- Public Sub RVS_Q53()
- Dim strDB As String
- ' Initialize string to database path.
- Const strConPathToSamples = "O:\Requirements " _
- & "Group\Working Folder\Kirk Wallace\Databases\RVS Q53 test RMD\"
- strDB = strConPathToSamples & "MASTER RVS Q-53 V3 FE.accdb"
- ' Create new instance of Microsoft Access.
- Set appAccess = _
- CreateObject("Access.Application")
- ' Open database in Microsoft Access window.
- appAccess.OpenCurrentDatabase strDB
- ' Open Orders form.
- appAccess.DoCmd.OpenForm "Admin_Main"
- Forms.Admin_Main.Backup_Click
- End Sub