dear gurus,
I had written one dll file hereunder, just to perform the same actions
on all forms and i can call them from any where, means write once then
run everywhere:
+++++++++++++++++++++++++++++++++++++==
Public appAction As New Access.Application
Public Function ac_first()
appAction.DoCmd.GoToRecord , , acFirst
End Function
+++++++++++++++++++++++++++++++++++++
where on form i call like this:
+++++++++++++++++++++++++++++++++++++
Option Compare Database
Option Explicit
Dim objAction As Takaful.basAction
Private Sub btnFirst_Click()
Call objAction.ac_first
End Sub
+++++++++++++++++++++++++++++++++++++
now it does not works properly can any one helps me where i am doing a
mistake...basically i wanted to write all codes/logics/functions in dll
then call there... i had written other fucntions of calendar working
fine...but all action button using via com/automation giving me error
rgds,
shahzhad