This topic is locked
[SOLVED]

 Update without actual update

7/25/2011 11:11:50 AM
PHPRunner General questions
W
Webmaster .at. CS author

I have a custom-view based on one table (with a where-clause). This table contains List-Of-Values for different types.

For each type I created a custom view. Now I want to update (and insert) per type in a seperate function/screen.

For the update it is necessary to replace the update function with own code which is performing the update on the underlaying table.

I realized that in the before-update, however, the application still want to perform the update. Can I disable this actual update (on a custom-view).

I tried returning false in the before-update-event, but this does not work.
How is this done? E.g. is it possible or should I take another approach?
TIA, Mark.

C
cgphp 7/25/2011

It could work, but we need to see your code to advise you. Post it here.

W
Webmaster .at. CS author 7/25/2011



It could work, but we need to see your code to advise you. Post it here.


THX cgphp for your reply,

I found an answer, turned out to be a misconfiguration in the database, problem is solved.