how to get BDE Alias path 
Author Message
 how to get BDE Alias path

Hi,

I would like to retrieve the path which belongs to a specified BDE Alias  
name. I tried as described in the online help:

var
  myList: TStrings;
begin
  ...
  Session.GetAliasParams('myAliasName', myList);
  ...
end;

Generally, always when I call one of the TSession methods I get a GPF.

Can you help me?

Michael
--




Wed, 04 Feb 1998 03:00:00 GMT
 how to get BDE Alias path

: I would like to retrieve the path which belongs to a specified BDE Alias  
: name. I tried as described in the online help:

: var
:   myList: TStrings;
: begin
:   ...
:   Session.GetAliasParams('myAliasName', myList);
:   ...
: end;

: Generally, always when I call one of the TSession methods I get a GPF.

You need to use a TStringList object, not a TStrings object. Further, you
would need to create the TStringList object before accessing it, otherwise
a GPF will result.

  var
    myList: TStringList;
  begin
    myList := TStringList.Create;
    ...
    Session.GetAliasParams('myAlias', myList);
    ...
    myList.Free;
  end;

--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Steve Koterski               _/   The opinions expressed here are    _/

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/



Sat, 07 Feb 1998 03:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Db gets slower

2. getting resultset of a sp programmatically?

3. Attaching / Detaching in TRUE path having some problem.

4. Getting unique number

5. help required - problem getting data out using BCP

6. Getting children to perform

7. Getting SQL Names

8. alias to sa

9. Incorrect column name with reuse of computed field alias

10. Emergency help needed - WTS serving thin client VB app with local MDB, Roaming Path setting causes app to hang.

11. Getting Hardcopy

12. Getting a query plan from inside a sproc


 
Powered by phpBB® Forum Software