I want to run a source procedure from a betwebbrowse button
I created my button and onclick I put the name of the procedure. When I run my website I get a message that the page is not found.
What I want to do is add a button to a browse (I think I figured this out) call my source (not sure i understand how this works) and have my source re serve the browse it was called from.
Ideally an example app i can look at would be fantastic!
Here is my source.
UpdateMSCCLSource PROCEDURE (NetWebServerWorker p_web) ! Declare Procedure
FilesOpened BYTE(0)
CODE
DO OpenFiles
MSCCS:SystemGUID = p_web.GetSessionValue('MSCCS:SystemGUID')
IF Access:MSCCS.Fetch(MSCCS:SystemGUIDKey) = Level:Benign AND MSCCS:SessionState <> 'Inactive'
MSCCS:Action = 0
Access:MSCCS.Update()
END
DO CloseFiles
OpenFiles ROUTINE
Access:MSCCS.Open()
Access:MSCCS.UseFile()
FilesOpened = True
CloseFiles ROUTINE
IF FilesOpened THEN
Access:MSCCS.Close()
FilesOpened = False
END
Thank You.