Delphi shared data modules does not function properly

i have developed a POS software using delphi XE3 and MSSQL. I have started developing another delphi project for accounting purpose. My accounting package uses same data module from POS software. when i started developing the accounting package at first my accounting software displays the shared data from POS software but later after i have added some forms from POS software to accounting software the shared forms does not work, it does not display any data in the form. My accounting application also have a data module (accDM) all the queries in my accDM is connected to POS software ADO Connection in the data module. the queries in accDM works fine but when i call a query in POS software data module it does not display any data. can someone please help me in identifying the issue in this project.
LVL 1
thooloonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jimyXCommented:
> i have added some forms from POS software to accounting software the shared forms does not work

You did not tell how you added the forms!
How did you add the Forms from POS to the accounting project?

If you click View Forms (Shift+F12) or from Delphi menu, View -> Forms..., do you see all your forms?

Also if you go to Project -> Options under Forms do you see all your forms there? Are they auto-create, available, or not there?
thooloonAuthor Commented:
I added using projects-add to project
Yes all the forms are there in the project-options-forms
Geert GOracle dbaCommented:
data will only be displayed if the connections and data objects are active

if you pull the network cable from your pc, the connection objects switch active to false
then save your app, and the connection will remain closed

you need to program the opening of all the datasets and connections
to prevent such a autosave not-active connection
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Geert GOracle dbaCommented:
if you have master-detail grids,
the lookups need to open first, then the masters, then the child

and in reverse order for closing
thooloonAuthor Commented:
the dataset gets opened but no data is fetched.
i do not use master detail grids.
thooloonAuthor Commented:
i have recreated the project and added all the forms and its working now

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
thooloonAuthor Commented:
self test
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.