Z
Zach
SAY I HAVE THE FOLLOWING HYPOTHETICAL SITUATION:
A file with three fields: a, b, and c .
A form-class with two buttons (one calling a data-entry-class, one calling
an adding-up class).
A form-class with a data-entry routine (a and b to the file).
A non-form-class with an adding-up routine (c in the file = a in the file +
b in the file).
GIVEN
This configuration.
I know how to do the data-entry and the adding up in the file.
I have an inkling of how I should do locking and waiting.
QUESTION
How would I get the adding-up routine running in the back-ground? (I.e, I
want to run through the file doing c = a + b, while I am entering a and b.)
Alternatively, where should I look for leads to the answer of my question?
Many thanks,
Zach.
A file with three fields: a, b, and c .
A form-class with two buttons (one calling a data-entry-class, one calling
an adding-up class).
A form-class with a data-entry routine (a and b to the file).
A non-form-class with an adding-up routine (c in the file = a in the file +
b in the file).
GIVEN
This configuration.
I know how to do the data-entry and the adding up in the file.
I have an inkling of how I should do locking and waiting.
QUESTION
How would I get the adding-up routine running in the back-ground? (I.e, I
want to run through the file doing c = a + b, while I am entering a and b.)
Alternatively, where should I look for leads to the answer of my question?
Many thanks,
Zach.