Hi,
I am experimenting with Cache-Python binding. In the following piece of Python code
import intersys.pythonbind3
conn = intersys.pythonbind3.connection( )
conn.connect_now('localhost[1972]:SAMPLES', '_SYSTEM', '123', None)
samplesDB = intersys.pythonbind3.database(conn)
p10 = samplesDB.openid("Sample.Person",'10',-1,-1)
p10.run_obj_method("PrintPerson",[])
I am opening the 10th record of Sample.Person class and then I am calling an object method (PrintPerson).
Method PrintPerson()
{
Write !, "Name: ", ..Name
Quit
}
Hi,I am experimenting with Cache-Python binding. In the following piece of Python codeimport intersys.pythonbind3conn = intersys.pythonbind3.connection( )conn.connect_now('localhost[1972]:SAMPLES', '_SYSTEM', '123', None)samplesDB = intersys.pythonbind3.database(conn)p10 = samplesDB.openid("Sample.Person",'10',-1,-1)p10.run_obj_method("PrintPerson",[])I am opening the 10th record of Sample.Person class and then I am calling an object method (PrintPerson).