Event Reference > Quick Reference for All Events > BeforeSQLGeneration Event (C1QueryFrame) |
C1QueryFrame_BeforeSQLGeneration ()
Arguments
None
Description
This event occurs when BuildSQL method is called. The BeforeSQLGeneration event in C1QueryFrame controls is triggered before SQLGenerationItem events (triggered for each query item) and before BeforeSQLGeneration in C1Query control to which they are attached.
The purpose of this event is to allow query items and syntax rules to change affecting the resulting SQL.
See Also
Changing Query Items for the Duration of SQL Generation