Does somebody knows how to put a password in this file type via fivewin and xharbour?
I can open read write and close the access table but i don't know how put a password to encrypt it
Thank for any help
password in access files
password in access files
Héctor García
México, D.F.
México, D.F.
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: password in access files
Code: Select all
FUNCTION MAIN()
LOCAL oJro := CREATEOBJECT( "JRO.JetEngine" )
LOCAL cConStr1 := "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=mymdb.mdb"
LOCAL cConStr2 := "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=newmdb.mdb;Jet OLEDB:Database Password=newpwd"
oJro:CompactDatabase( cConStr1, cConStr2 )
RETURN NIL
password in access files
sorry but I tried your solution and I have an ole error in compacdatabase instruction called by tole the name of the error is "error jro.jetengine/16389 sure I'm making something wrong
Héctor García
México, D.F.
México, D.F.
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: password in access files
I don't know. My sample works fine here.
EMG
EMG