Defining a Query in the onCreate Function


The following procedure shows you how to define a query in onCreate, which involves reading and inserting fields from a parent but without running a query.

To define a query in the onCreate function

  1. Define the fields that you want to write.
  2. Define the value to be inserted into those fields.