The connection string would be stored in the datamodule .dfm file. Even using a "Data Link File", if you open the connection in design mode the string gets stored in the ADOConnection.ConnectionString property. I always add the code below to my data module create method to redirect the connection through the Data Link.
Connection.Close; Connection.ConnectionString := 'FILE NAME=LinkFile.udl'; Connection.Open; HTH Roger C. Morgan II --- In [email protected], "a.j. welmers" <[EMAIL PROTECTED]> wrote: > when i use in my datamodule in the DataModuleCreate procedure: > ConnectionString := ''; > ConnectionString := 'Provider=Microsoft.Jet.OLEDB.4.0;Password=""'+ > ';User ID=Admin;'+'Data Source=H:\A\D\BkpRules.mdb;'+....{and so on] > > Q= then where is this information stored? > i find some references in > the registry related to MsOffice and to Delphi. > > I am wondering what happens when i copy a folder H:\A to C:\A (with > all the files) and open delphi from the C:\A folder and why the > connectionstring still points to H:\A\D\BkpRules.mdb; and i get an error. > i searched in a lot of good books and websites but cannot find a clue. > > ajw ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/i7folB/TM --------------------------------------------------------------------~-> ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

