Posting to multiple tables (AREV Specific)
At 25 SEP 1998 10:25:57PM [email protected] wrote:
Running AREV 3.12, new to AREV, need to know how to post info from one table into another at the time of save. I have an application
with several tables, one of the tables will essentially be used
as an index, whereby you can search the central index table
to see if a name exists in any of the tables in the system.
Any help greatly appreciated
![]()
At 26 SEP 1998 12:27AM Matt Sorrell wrote:
If you're entering the data from a window, you can place a pre-save or a post-save hook onto the window, and write the data to the other table at the same time.
That's the only way I know of to write an identical record to two tables at once.
Matt Sorrell
At 26 SEP 1998 09:38AM danshane wrote:
Is that something thats covered in the documentation?
At 26 SEP 1998 11:54PM Matt Sorrell wrote:
Absolutely!!!
Therre is a section called "About window processing", in the chapter "Creating windows using Paint."
It discusses how to handle all of the processing a window does.
Matt Sorrell
At 28 SEP 1998 05:30PM Aaron Kaplan wrote:
Writing the duplicate from a window works only if you never create records through another process. If you have import routines or some other process that writes out new records, you'll probably have to go to an MFS.