Advertisement
Advertisement
| 07.22.2008 at 02:55PM PDT, ID: 23586757 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: |
Try
Dim oAccess As New Access.ApplicationClass
oAccess.OpenCurrentDatabase(filepath:=eAccessPath, Exclusive:=False)
strWhere = "nMemoID = " & CURRMEMO & " AND " & "lPropertyID = " & CURRPROP
oAccess.DoCmd.OpenReport(ReportName:="prMemo", View:=Access.AcView.acViewNormal, WhereCondition:=strWhere)
oAccess.Quit()
oAccess = Nothing
Catch ex As Exception
MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning)
Finally
End Try
|