Example   Source
  Menu  | 
<<
>>
 |  Run as  
The onRecordValidate event allows you to validate updates to the database on the server before they are applied and suppress if necessary. In this example no new products can be added for Suppliers from France. The sample also demonstrates use of the client-side executeSingletonQuery method which can be used to return database information directly to the client.