Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buffering question.
Message
From
09/09/1997 14:11:09
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00049037
Message ID:
00049198
Views:
46
>>>>>
>>>>>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.
>
>where do you change the tooltips? any other code there?

Changing a value will fire ProgrammaticChange events.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform