NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: astahl on October 29, 2016, 05:46:06 AM

Title: Running a Procedure when adding a new record
Post by: astahl on October 29, 2016, 05:46:06 AM
I would like to run a procedure that would generate a pdf report before the user presses the save button
so I can display a progress bar when generating the report. Here is the catch I need the data from the form to
produce the report.

Can one save the insert record to the table, then generate the report and then a button to close the form or
is there a better way to do this?



Ashley
Title: Re: Running a Procedure when adding a new record
Post by: terryd on October 29, 2016, 09:57:49 PM
Hi Ashley
All the values in the form are stored as Session Vaues so I would imaging you could do something like having a memory table that you populate from the session values and then generate the report using the memory table
Title: Re: Running a Procedure when adding a new record
Post by: astahl on October 30, 2016, 04:59:15 AM
Hi Terry,

That just may work! I have to check on whether the primary key is being used any place. We still are using auto increment primaries.


Thanks,

Ashley