Advertisement

05.27.2008 at 04:49PM PDT, ID: 23436707
[x]
Attachment Details

Where can I find the Access code for ahtCommonFileOpenSave and ahtAddFilterItem function

Asked by Karl001 in Access Coding/Macros, Microsoft Access Database

From a previous  question (Relink access table),  I received the code below where 2 functions are missing.
ahtAddFilerItem and ahtCommonFileOpenSave

Where can I find the code for those function?

Carol

Function fGetMDBName(strIn As String) As String
'Calls GetOpenFileName dialog
Dim strFilter As String

    strFilter = ahtAddFilterItem(strFilter, _
                    "Access Database(*.mdb;*.mda;*.mde;*.mdw) ", _
                    "*.mdb; *.mda; *.mde; *.mdw")
    strFilter = ahtAddFilterItem(strFilter, _
                    "All Files (*.*)", _
                    "*.*")

    fGetMDBName = ahtCommonFileOpenSave(Filter:=strFilter, _
                                OpenFile:=True, _
                                DialogTitle:=strIn, _
                                Flags:=ahtOFN_HIDEREADONLY)
End FunctionStart Free Trial
[+][-]05.27.2008 at 04:53PM PDT, ID: 21656634

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Access Coding/Macros, Microsoft Access Database
Sign Up Now!
Solution Provided By: nexusnation
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628