Re: Password
- From: "Kamran" <k_a_q@xxxxxxxxx>
- Date: Sat, 4 Nov 2006 23:32:36 -0500
You are using single quotes for empty password. Instead, use back quotes ``
Kamran
"Princy" <noname@xxxxxxxxxxxxxxxxx> wrote in message
news:E6FBF6AB-B3CD-4F96-B00F-1F99CE3A1BE8@xxxxxxxxxxxxxxxx
I tried this way from VFP and also within Access2003 SQL
cSql = "ALTER USER admin PASSWORD pass1 ''"
=SQLEXEC(cnnSinaiPay, cSql)
Error generated as "Syntax error in ALTER TABLE"
Is this the right way to use?
--
Regards
WT
"Kamran" wrote:
Hi,
If you want this programmatically then sending this statement using
pass-thru may work (substitute mypassword):
"ALTER USER admin PASSWORD mypassword ``"
Kamran
"Princy" <noname@xxxxxxxxxxxxxxxxx> wrote in message
news:C6C67469-7D40-408C-99C9-C4BE0434B566@xxxxxxxxxxxxxxxx
Friends,
How to reset or change the password of MS Access database using VFP?
The reason is that I tried to compact a MDB database and it does not
work
with password protection. So I need to remove the password and then
compact
and then set password back
Any help would be appreciated
--
Regards
WT
.
- Follow-Ups:
- Re: Password
- From: Princy
- Re: Password
- References:
- Re: Password
- From: Kamran
- Re: Password
- Prev by Date: Re: Password
- Next by Date: Re: Password
- Previous by thread: Re: Password
- Next by thread: Re: Password
- Index(es):
Relevant Pages
|