>When I tried that it still seemed to allow adding only one record. Also, what would be the proper syntax for the Refresh statement?
>
>Thanks much for your help.
Yes, you will only be able to add one record at a time (eg. per call to ThisForm.oBizObj.New() ). If you need more records, you'll need to make more calls to New(). If it's row-buffered, you'll also have to call ThisForm.oBizObj.Save() after adding each new record. You could modify the code called by your Next button to look something like:
IF ThisForm.oBizObj.IsChanged()
ThisForm.oBizObj.Save()
ENDIF
ThisForm.oBizObj.New()
Again, I'm assuming the table/view is row-buffered.
As far as the refresh, I'm not even sure it's necessary. If the controls don't reflect a new record (that is, they're empty), call the refresh method of the controls' container (for example, ThisForm.pgfBizObj.Page2.Refresh()).