Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: Passing parameters to forms using standard templates 1998-09-18 -- Viggo Kleven You should find reference to the updateproc in the ThisWindow.run method of
the browse window. Just skip the original code by OMIT() and add your own
code for calling the update:
ThisWindow.Run PROCEDURE(USHORT Number,BYTE Request)
ReturnValue BYTE,AUTO
! Start of "WindowManager Method Data Section"
! [Priority 5000]
! End of "WindowManager Method Data Section"
CODE
! Start of "WindowManager Method Executable Code Section"
! [Priority 2500]
ReturnValue = PARENT.Run(Number,Request)
! [Priority 6000]
OMIT('***') ! Skip the original code
GlobalRequest = Request
UpdateSITE
ReturnValue = GlobalResponse
! [Priority 8500]
!*** Here comes the new code to call the update with parameters..
GlobalRequest = Request
UpdateSITE (parameters)
ReturnValue = GlobalResponse
! End of "WindowManager Method Executable Code Section"
RETURN ReturnValue
Today is December 3, 2024, 11:44 am This article has been viewed 35206 times.
|
|