I think there must be a couple of functions missing from that code, namely the underlined :
Code:
strFilter = ahtAddFilterItem(strFilter, _
"Access Database(*.mdb;*.mda;*.mde;*.mdw) ", _
"*.mdb; *.mda; *.mde; *.mdw")
and
Code:
fGetMDBName = ahtCommonFileOpenSave(Filter:=strFilter, _
OpenFile:=True, _
DialogTitle:=strIn, _
Flags:=ahtOFN_HIDEREADONLY)
because i get compiler errors.
Also i'm not really sure that's what i want. I simply want to specify a different path (to the backend) depending on whether it's my laptop or the "client's" desktop pc that it's running on.