I have D2007 on Windows 7, as far as I know I haven't used a Data module on
yet. However I have used a data module in a project running inside a VMWare
XP virtual PC on the Windows 7 box definitely with no problem accessing
databases. I do recall that the 'Database Not Set' might be caused by some
settings (loaded from an ini file) not yet being in place when the Form Create
runs, so you might want to make sure this is not what is behind it. I had
similar problems which were due to that.
If you are still stuck let me know, I could try a quick project - but I have
D2007 not 2006.
John
Hi
I've just installed my BDS 2006 based project on Windows 7.
I have data aware components on a form communicating with datasets and tables
on a Data Module Form (DM1).
I have no problem when the database is empty. I can compile the project, enter
information into the databases and close the project and the information is
distributed properly.
However, when I attempt to re-open the project (with the database containing
information) it gives me a 'database not set' error and fails to compile.
When I move the dataset and table to the component form and reconnect them to
the components on the same form, the project compiles and I can add and delete
information and re-compile with no problem.
It seems that the problem may lay in a communication problem from the DM1 to
the components.
Is this possible??
Bob
--------------------------------------------------------------------------------
_______________________________________________
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
_______________________________________________
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