Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Table Password
Sat, Jun 23 2007 8:25 AMPermanent Link

"GregF"
How do I set the table password so that I am not prompted for
it when the application starts up

I am using a Local session only and don't have a server running

oh  DBISAM 4 btw
gF

Sat, Jun 23 2007 11:30 AMPermanent Link

Eryk Bottomley
GregF


> How do I set the table password so that I am not prompted for
> it when the application starts up
>
> I am using a Local session only and don't have a server running
>
> oh  DBISAM 4 btw


Session.AddPassword

Eryk
Sat, Jun 23 2007 2:39 PMPermanent Link

Jon Lloyd Duerdoth
You may also find it useful to suppress the normal
default password dialog

Put this in before connect:
      OnPassword       := Password;  // disable default dialog

and use this:

procedure TdmDataModule.Password(Sender: TObject; var Continue: Boolean);
begin
   // this routine is called whenever
   // any table is opened that does not have a
   // password added to the session
   // An error message will be displayed however
   // prevents default password entry being displayed
   continue := false;
end;


GregF wrote:
> How do I set the table password so that I am not prompted for
> it when the application starts up
>
> I am using a Local session only and don't have a server running
>
> oh  DBISAM 4 btw
> gF
>
>
Mon, Jun 25 2007 3:53 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Greg,

<< How do I set the table password so that I am not prompted for it when the
application starts up

I am using a Local session only and don't have a server running >>

As Eryk stated, AddPassword is what you want:

http://www.elevatesoft.com/dbisam_faqt_7.htm

--
Tim Young
Elevate Software
www.elevatesoft.com

Image