Omnis 4 to 10 difference

Andrew McVeigh surfway at
Wed Sep 21 02:07:52 UTC 2022

Just found a weird difference in execution of the same code in Omnis 4 and Omnis 10 (not using SQL)

The coding is probably not the best but anyway

Calculate DTPAID as 10 	##DTPAID is a field in the Main Data File
Prepare for Edit 			##This rereads the CRB and DTPAID becomes zero

This is what happens in Omnis 4

In Omnis 10 the DTPAID field maintains it’s value of 10 when you do the Prepare for Edit 

Is this meant to happen?

Andrew McVeigh
Surfway Real Solutions
Phone 02 44412679 Mobile 0418428016

More information about the omnisdev-en mailing list