Quote:I am assuming that "On Form Change" would require me to make an entry into one (or more) of the LE's. If all I do is "enter" an "exit" a blank form will "on form change" programming come into play even in that instance?
Use the On Element Change event of the Form itself. This will run when you change any value without having to put the code in more than one place. The code will not occur simply because you arrive at and leave a Form unless you have On Form Entry or On Form Exit code that changes a value.
Quote:Can you point out what would be wrong with the change I proposed?
The main thing is that you are checking for ID = "" instead of using @IsBlank, which is type safe.
Quote:Also I am not clear as to why would I need the @isblank(First Name) = 0 ... when I don't need the = 0 for @isblank(ID).
Because it is the opposite condition. One checks for blank, the other checks for not blank.
These two lines do the same thing:
If @IsBlank(ID)
If @IsBlank(ID) = 1
And these two lines do the same thing:
If Not @IsBlank(ID)
If @IsBlank(ID) = 0
Quote:There were several other points, in my original message, that I would appreciate having addressed.
OK.
Quote: (1) If I search for and receive a "set" of six forms, and then advance to a "blank" form and, without having entered any data, then press F9, what will happen to the "blank" form (1) if it does have an initial value in one of the layout elements and (2) if it does NOT have an initial value in one of the LE's?
To answer your question, we need to distinguish between an Initial Value and a value set in programming On Form Entry.
If you F9 from a new record that has Initial Values, but no value has been changed, the blank will be discarded as it is considered to be unchanged. If you F9 from a new record that has values set On Form Entry, the record will be saved, because this counts as a changed (no longer blank and unmodified) record.
Quote:(2) Assuming that if I press F10 and then, before entering data, press F9, and I have used an initial value in one of the fields, the form will be "saved." If so, is there ever a time when I can use an initial value and not have the form saved under any circumstance, when that is the only field containing a value?
Again, initial values and values set On Form Entry are not the same thing. If you use Initial Values and they are not changed, the form will not be saved.