Subject Re: [IBO] Login Params
Author Helen Borrie
At 12:35 PM 27-02-01 -0800, you wrote:
>This is my login procedure :
>procedure Tdm.MyLogin(const USERNAME, PASSWORD, SQLROLE: WideString);
> myList : TStringlist;
>mylist := TStringList.Create;
>myList.Add('user_name=' + USERNAME);
>mylist.Add('password=' + PASSWORD);
>mylist.Add('sql_role_name=' + SQLROLE);
> begin
> If db.Connected then db.Disconnect;
> db.Params.Clear; <--- this clears out ALL params, including the database connection ones!

To see the params you need, inspect the form in text mode and look at the params that get assigned at creation. Here's a sample from a Paradox to IB conversion program I'm working on:

object IB_Connection1: TIB_Connection
LoginPrompt = True
Params.Strings = (


All for Open and Open for All
InterBase Developer Initiative ยท