Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffering question.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00049037
Message ID:
00049197
Vues:
52
>>>>>
>>>>>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?

Hi Collin,
Put a "suspend" in the click event of your "Add/Save" button and
use the "trace" tool to see step by step what the code is
actually doing, also use the "debug" window to track the value
of RECNO().That way you will know for sure if the pointer
is moving or not.
Hope this helps.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform