Re: How to select another DatabaseName while running



You may get the list of available aliases using Session.GetAliasNames method

--
With best regards, Mike Shkolnik
E-mail: mshkolnik@xxxxxxxxxxxxx
WEB: http://www.scalabium.com

<pjwolters@xxxxxxxxx> wrote in message
news:1114714297.070753.297010@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I want to be able to select another database for my query while running
> a form. Does anyone know if this is possible. In this case I don't mean
> hardcoding it like: qry1.DatabaseName := 'XXX';
> What I actually need is pull down list with the avaiable data sources,
> just like u get in the Object Inspecter. Please help.
> Thanx,
>
> Peter
>


.



Relevant Pages

  • Re: Scalabium?
    ... PS: better to post such messages to our newsgroups or mailing list:-) ... With best regards, Mike Shkolnik ... >> With best regards, Mike Shkolnik ... >>> Ole ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: looking for a normal enhanced grid control !
    ... For standard TStringGrid I personally draw everything what I need in custom ... With best regards, Mike Shkolnik ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Cant able to create user with DOTS in their name?
    ... can just as easily set up aliases for their email. ... this server will be used as Mail Server (as i already mentioned ...
    (RedHat)
  • Re: TDbPathImage
    ... Just use the OnGetText/OnSetText events for TField and load/save image from ... With best regards, Mike Shkolnik ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: DB Grids choice
    ... But anyway check our freeware TSMDBGrid: ... With best regards, Mike Shkolnik ... > especially on data navigation and DB event management. ...
    (borland.public.delphi.thirdpartytools.general)