Hello Dan,
Thanks, I'll take a look at it :) --- In [email protected], GreatDayDan <[EMAIL PROTECTED]> wrote: > Good Morning! > > I have a freeware app that uses the methods I > mentioned earlier. > www.GreatDayDan.com/VirtualHat%20Ver%201.2.1.1%20Source.zip > > Dl the source, extract to a folder of your > choosing. The DB and connection work is in > dmVirtualHat.pas. The ODBC code that I found in the > ng's is in uODBC_Functions.pas. > > To compile it, create a project and add the units > to it. > > HTH...Dan'l > > --- GreatDayDan <[EMAIL PROTECTED]> wrote: > > > > Good Morning! > > > > First, let me refer you to this web page: > > http://delphi.about.com/od/database/l/aa072401a.htm > > It will explain how to use ADO to create an > > Access > > db. > > > > Second, look here: > > > http://groups- beta.google.com/group/comp.lang.pascal.delphi.databases/browse_thread /thread/a4e79b103b45b212/f8857b9e3275dfd5? q=delphi+create+odbc&rnum=4#f8857b9e3275dfd5 > > This is code and some explaination on how to > > create > > an ODBC connection. (If you cannot find this, let me > > know. I have it saved.) > > > > This is not the way I do it because I am using > > propritary code, but the propritary code eventually > > calls the same external function: > > SQLConfigDataSource. > > > > What I do is first check for the mdb file. If not > > there, then I create it. (Use ADOCommand component, > > not ADOQuery, to create the objects.) Then I create > > the ODBC connection. It will simply replace an > > existing connection or create a new one. > > > > HTH...Dan'l > > > > > ____________________________________ > Every day is a Great day, but > some days are GREATER than others! > > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > http://smallbusiness.yahoo.com/resources/ ----------------------------------------------------- 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/

