>>>
>>>what is the code in the add/save button?
>>
>>The Add/Save button contains the following:
>>IF THIS.PARENT.Editbtn.ToolTipText="Edit Record" && Not in edit mode
>> mnaddcurrecschedule=RECNO()
>> APPEND BLANK
>> THISFORM.NullDisplayFields
>> THISFORM.Refresh
>>ELSE
>> Below the ELSE is the code for saving. I'm assuming you needed to see only the Add portion. In a nutshell, if you need to know, it ensures required fields are filled in, does a TABLEUPDATE and disables the fields.
>>ENDIF
>
>with row buffering, moving off the row does a tableupdate. are you sure there's nothing in the nullDisplayFields or Refresh that do this?
The NullDisplayFields contains the following:
ThisForm.Rtgpageframe1.Page1.txtDescription.Value=""
ThisForm.Rtgpageframe1.Page1.cboLname.Value=""
ThisForm.Rtgpageframe1.Page1.cboLname.DisplayValue=""
ThisForm.Rtgpageframe1.Page1.txtFname.Value=""
ThisForm.Rtgpageframe1.Page1.txtCompany.Value=""
The Refresh method is the default. No extra code has been added.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.