CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 customising WHERE clause

Print topic Send  topic

Author Message
timdw

Posts: 25
Posted: 10/10/2005, 3:35 PM

If I customise the WHERE in BeforeBuildSelect, does this get carried into the update stage? If not, where can I customise the WHERE clause so it applies across the board? The specific situation is limiting access to records for users in particular groups. The administrator can see/update everything, others can only see their own records, so an extra restriction is added to the WHERE clause for non-administrative users.

Thanks,

Tim
View profile  Send private message
timdw

Posts: 25
Posted: 10/10/2005, 3:46 PM

Actually, it's just struck me that record level security based on GET/POST parameters and the currently logged on user is best done in the page AfertInitialize event. All processing can be aborted if there's a problem.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.