Click here to Skip to main content
15,913,115 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all visitors,

My customer work places is often no electronic to use. So when no electronic to use, their computer can't connect or insert data to Database (Display error message).
that time,their business is still running. What type of code should i use with no electronic work place like this?

Thanks

TONY
Posted

1 solution

What type of code should i use with no electronic work place like this?
their business is still running

Based on above statements, you sound like they don't have electricity but they are able to run their computer to carry on their work. Now, if that is true, simplest would be to have a local database on the same computer. This way, no internet connection would also be needed.
 
Share this answer
 
Comments
soeun tony 22-Jun-12 2:22am    
Hi Sandeep,
Let me sorry for unclear information.I have one Server at the Head Office and 3 Clients at shop.
At the Head Office is often no electronic and at the client side,they can use normally.When the Server at head office is no electronic mean that the connection also disconnect.When the client send data to server,it will display an error message about the connection.My question is that how do client still work even the server is disconnect?
Note: The client is using POS System.

TONY
Sandeep Mewara 22-Jun-12 2:39am    
Well, one of the ways could be to have a local temperory database based on which client systems work. Once electricity and connection to head-office-server is there - sync the db's!

soeun tony 22-Jun-12 3:38am    
Hi Sandeep,
You say about the local temporary database based on which client system.I don't understand about this.
You mean do we need to have 2 databases (One at server and one at client).
Thanks
TONY
Sandeep Mewara 22-Jun-12 3:47am    
Yes, that is one of the possible ways on how to work disconnected.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900