ener.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Object does not have a value
■ The object specified does not have the right type value.
 
■ More than one condition can cause this error. For exammple:
 
  • PRINT Command1
 
    In this statement, Command1 is the name of a command
    button; it it does not have a "printable" value. Use
    the PRINTFORM method to print a form and its visible
    controls.
 
  • SHOW Form2
 
    This syntax is not valid. Use Form2.SHOW to show Form2.
 
  • MyButtonParent$ = Command1.Parent
 
    The Parent property can be used to reference an object's
    properties, events, and methods. The value of the Parent
    property is not available at run time.
 
■ If you need additional help, move the cursor to a keyword
  and press F1 to open the Help window.