Egbert Eissing schrieb:
> I have been working with databases for years, but I am new to Knoda
> and hk_classes.
>
> An example on the Knoda webpage (scripting tutorial) shows the syntax
> to open a subform as follows:
> subform=hk_thisform.get_pyvisible("mysubform")
> subform.clear_depending_fields()
> subform.add_depending_fields("subfield","masterfield",False)
> subform.set_name("Subformname")
> subform.activate_subform()
>
> I can not make this work, the first line returns
> the following error message:
> "Line 4: NULL result without error in PyObject_Call"
>
The error means that the line
'subform=hk_thisform.get_pyvisible("mysubform") ' did not find an object
named "mysubform". Probably your subform has another name (e.g.
capitalized letters etc)
Horst
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Hk-classes-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hk-classes-discuss