no, that just tells me if its the runtime version of access running. alot of
the sites have the full version of access installed because they use access
for other things. I need to test if its the mde (which is what we give to
clients) or the mdb (which is what we use to develop) running
Regards,
Richard
"Marshall Barton" <(E-Mail Removed)> wrote in message
news

(E-Mail Removed)...
> Richard Krupa wrote:
>
> >Does anyone know of a way i can check that the access file in use is an
mde
> >or mdb? i have some code that i wanted executed for example disbale the
> >shift bypass only on the mde. (obviously dont want to lock myself out of
the
> >mdb!) At present i'm using a hidden flag to set if i want to disable some
of
> >these options.
>
> Does SysCmd(acSysCmdRuntime) do what you want?
>
> --
> Marsh
> MVP [MS Access]