Re: D2005 Connection String Editor at runtime ???



Brian Bushay TeamB ha scritto:
I will like to give the user the ability to use the "Connection String Editor" for wath I know it's an ActiveX, but I can't find any reference on how to show it at runtime, any help will be appreciated :)
Thanks,



var CS : WideString; begin

   CS:= AdoConnection1.connectionString;
  //default to current connection string
   CS := PromptDataSource(Form1.Handle, CS)
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx

Wow, thanks a lot ... that was easy, I can't belive :)) Paolo L. .



Relevant Pages

  • Re: Cache Size and AsyncFetch
    ... Brian Bushay TeamB wrote: ... form set with the tables via an ADOConnection. ... Asnyc fetching is incompatible with serverside cursors and also with Delphi data ...
    (borland.public.delphi.database.ado)
  • Re: how to deal with multiple result sets in D6 ADO?
    ... Or do you need to extract data and stuff it into a TStrinGrid ... When you run sp_help in the Query Analyzer, ... Brian Bushay TeamB wrote: ...
    (borland.public.delphi.database.ado)
  • Re: TADOQuery master-details
    ... Brian Bushay TeamB wrote: ... >>My program is to extract athletics results from an access database. ... >>TDataSource - DataSourceAV ...
    (borland.public.delphi.database.ado)
  • Re: TADOQuery master-details
    ... Brian Bushay TeamB wrote: ... >>My program is to extract athletics results from an access database. ... >>TDataSource - DataSourceAV ...
    (borland.public.delphi.database.ado)
  • Re: ADO Connection in a Service App
    ... Brian Bushay TeamB wrote: ... Not associated with a trusted SQL Server Connection ... When I run the same service as an application the connection works fine. ...
    (borland.public.delphi.database.ado)