Jade 7

Error 6090 - Cannot access protected property or method

The problem here is that you did not change the access for myBorrower from protected to public. A protected property in the Book class can only be accessed by a method of the Book class.

JadeScripts cannot access protected properties.

Instructions

  1. Select the Book class.
  2. Double click the myBorrower property.
    The Define Reference dialog is displayed.
  3. Select the public access option button.
  4. Click the OK button.
  5. Select the JadeScript class.
  6. Select the CheckOutBooks method.
  7. Select the Methods | Compile Method menu command.
    The status line in the Class Browser displays the message
    «Compilation complete - no errors»
  8. Select the Jade | Execute it menu command.
    The status line will then display the message
    «Execution complete»

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 Contents
 

For maximum reliability, security and performance of your JADE solution, JADE Care24 is our fully comprehensive systems management offering.