PeteWalburn
Programmer
Hello,
I have a report which must UPDATE the database. I have tried this in 2 ways:
In the Fetch Function I call an update function which executes a SQL UPDATE statement. It the executes a COMMIT statement.
The other method I have tried is:
In the Fetch Function I build up arrays of the values that make the record unique. Then in the FinishReport Sub of the report, I execute the same UPDATE and COMMIT staements.
In both cases the tables are updated, but the report fails giving a message that no parameters were set.
I think that I really need to refresh the report once I have done the UPDATE, but am not sure.
Can anyone shed some light on this problem please?
Pete
I have a report which must UPDATE the database. I have tried this in 2 ways:
In the Fetch Function I call an update function which executes a SQL UPDATE statement. It the executes a COMMIT statement.
The other method I have tried is:
In the Fetch Function I build up arrays of the values that make the record unique. Then in the FinishReport Sub of the report, I execute the same UPDATE and COMMIT staements.
In both cases the tables are updated, but the report fails giving a message that no parameters were set.
I think that I really need to refresh the report once I have done the UPDATE, but am not sure.
Can anyone shed some light on this problem please?
Pete