I have a piece of SKILL code in cdba that used 2 database data:
which now returns nil in OA.
I want to check whether this schematic needs to checkNSave (extract) again.
What is the equivalent functions in OA?
for the lastSchematicExtraction you can use the following function under OpenAccess:
I think for the instancesLastChanged property, cellview counters are used instead - the function dbSetConnCurrent() can be used to bring the counter up to date.
In reply to skillUser:
By the way. dbIsConnCurrent() also works in CDB versions (it was added a few years ago), so the best thing is to always use that, and then it will work with either underlying database.
In reply to Andrew Beckett:
The function dbIsConnCurrent( cv ) is what I am looking for.