Quote:My problem is that if I do not save the data immediately before entering the subform my values from the previous part of the form are not available for use in the subform.
Bob, I think this value should be available to subform without saving the MainFrom record. This might not be working now as expected because of communication problem between MainForm and SubForm in in version 1.0.1. I am also getting error when I try to get value in subform using the code mentioned below.
I tried out the following code in the MainForm and value available in the current record of MainForm without saving the record.
var n as Int
var vName as String
n = @FormResultSetCurrentPosition("Test1")
vName = @FormFieldValue("Test1", "Name", n)
Writeln (n + " is the current Position, and " + vName + " is the Name")
Where Test1 is the MainForm and Name is one of the elements in the MainForm.
Mark had given this code earlier stating that it might not work as well in version 1.0.1 but is working well in 1.0.2. So, hang in there without going through fustrations until version 1.0.2 is out.