Hi, Could you please tell us which db u r using and which db access components?
Try BDEs for single-tier DBs (paradox, DBase, access) and ADOs for multiple-tiers (sqlserver, oracle)... What happend when you set datasource.active = true ? Is this the moment u receive the error MSG? If u can set this TRUE u should retrieve data in real time before u even compile the project. It should work otherwise check the connection string. Sorry but if nothing of this works We will need more details. Reply it and we try to help Leonardo Cunha Sent from my iphone On 10/05/2010, at 12:12 PM, delphi-requ...@delphi.org.nz wrote: > Send Delphi mailing list submissions to > delphi@delphi.org.nz > > To subscribe or unsubscribe via the World Wide Web, visit > http://listserver.123.net.nz/mailman/listinfo/delphi > or, via email, send a message with subject or body 'help' to > delphi-requ...@delphi.org.nz > > You can reach the person managing the list at > delphi-ow...@delphi.org.nz > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Delphi digest..." > > > Today's Topics: > > 1. Database not set (Bob Pawley) > 2. Re: Database not set (Bevan Edwards) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 9 May 2010 15:55:40 -0700 > From: "Bob Pawley" <rjpaw...@shaw.ca> > Subject: [DUG] Database not set > To: "NZ Borland Developers Group - Delphi List" <delphi@delphi.org.nz> > Message-ID: <3aa5a0d0a9c94efca14a364634150...@desktop> > Content-Type: text/plain; charset="iso-8859-1" > > Hi > > I have a 'database not set' error. No further information is given > in the error message. > >> From what I can tell, all of the components that require a database >> to be set are OK. > > Is there some way of zeroing in on the actual problem? > > I've tried the debugging and map file provided by Delphi but I can't > relate the information to any real object. > > I would appreciate any help. > > Bob > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://listserver.123.net.nz/pipermail/delphi/attachments/20100509/b4b547c1/attachment-0001.html > > ------------------------------ > > Message: 2 > Date: Sun, 9 May 2010 23:06:38 +0000 > From: "Bevan Edwards" <be...@achieve.co.nz> > Subject: Re: [DUG] Database not set > To: "NZ Borland Developers Group - Delphi List" <delphi@delphi.org.nz> > Message-ID: > <162105548-1273446375- > cardhu_decombobulator_blackberry.rim.net-2043253776- > @bda005.bisx.prodap.on.blackberry> > > Content-Type: text/plain > > Hi Bob, > > Can you replicate the problem on a new application with perhaps just > one db connection and one dataset? > > If not, try adding datasets (one at a time, as you have them in your > current application) until you encounter the problem. > > Regards, > > Bevan > > -------------------------- > > -----Original Message----- > From: "Bob Pawley" <rjpaw...@shaw.ca> > Date: Sun, 9 May 2010 15:55:40 > To: NZ Borland Developers Group - Delphi List<delphi@delphi.org.nz> > Subject: [DUG] Database not set > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with > Subject: unsubscribe > > > > > ------------------------------ > > _______________________________________________ > Delphi mailing list > Delphi@delphi.org.nz > http://listserver.123.net.nz/mailman/listinfo/delphi > > End of Delphi Digest, Vol 79, Issue 9 > ************************************* _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe