Link to home
Start Free TrialLog in
Avatar of sonalchouhan
sonalchouhan

asked on

backup

well i am making a software now what i want is that
i am entering the records and if the power is off or the system gets reseted i should get the backup


how do i come to know wethere a particular from is printed or no

sorry lack of ponts


thanks
Avatar of sonalchouhan
sonalchouhan

ASKER

Edited text of question.
Well I can't find a software solution for this. But, you can solve this problem,

"Buy a UPS or a generator."

You can buy one online at

www.amazon.com. if you don't have enough money go for a second hand at
www.auctions.com.

yours electrically,
Saradhi.

I am serious mind you!

What you want to do is store all records on disk instead of memory. This way you will loose nothing if the power is down (or what happens more often.. Windows freezes).

Check out files open for random access.. Should work if you work with records.
well saradhi this is not a solution to it
sraradhi dont give such stupid ans for buying generator or ups

try to ans properly

sorry no hard feelings
Well! It all depends on what kind of questions you ask.
well it is a really a question
see if i have 25 entries in a screen and if the light goes i cant take a backup well all softwares like word and excel give the backup facility

it is possible

so this is not a stupid question but yes a stupid ans to buy ups or generator

just a suggestion


Thanks to Word and Excel. But, the file is not restored always, it is restored only if Word calls it's AutoSave for AutoRecovery command. It is not necessary that this is called always.

Recovery for such applications does seem to be important.

I am afraid that this doesn't serve any kind of purpose in your application except an acertained hype.

Your thought of saving files for recovery is really obnoxious.
well you think so

dont ans if u dont know


sorry if hurt
Avatar of Bob Learned
Are you trying to do data entry on a form, and if the power goes off, and when it returns, be able to tell if the form was printed?
yes exactly TheLearnedOne  well any ans

thanks
Well, one way would be to create a temporary file that would hold the information that was filled out from the data entry form

Maybe an INI file would be the easiest implementation.  In the file could contain the field names and values for each entry, and a flag as to whether the form was successfully printed.  

The file could then be deleted when no longer needed, or a new form is being processed.


ASKER CERTIFIED SOLUTION
Avatar of AndySulz
AndySulz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
CopyFile C:\BLAA\MYDB.mdb", "a:\MYDB.mdb", False

will go in your command button