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"
Displaying related data in a subform is a very fundamental
procedure in database applications. If this does not work,
is there another way to start a subform, such as
parameter passing while opening the form?
Thanks for any help
Egbert.
---------------------------------
Yahoo! Answers - Get better answers from someone who knows. Tryit now.-------------------------------------------------------------------------
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