NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Bill Quesse on November 11, 2010, 08:37:39 AM

Title: Can not get code to run after OpenFiles
Post by: Bill Quesse on November 11, 2010, 08:37:39 AM
I need to get a record from a file and set radio button text and values

I have created a routine and place the call to the routine in the "Beginning of Procedure, After Opening Files" embed.  It will not run.

Any Ideas?


OpenFiles  ROUTINE
! Start of "Beginning of Procedure, Before Opening Files"
! [Priority 5000]

! End of "Beginning of Procedure, Before Opening Files"
  p_web._OpenFile(VManagement)
  p_web._OpenFile(Vendors)
  FilesOpened = True
! Start of "Beginning of Procedure, After Opening Files"
! [Priority 4000]
   Do GetVMData   !<------- This code will not run
! End of "Beginning of Procedure, After Opening Files"
Title: Re: Can not get code to run after OpenFiles
Post by: kevin plummer on November 11, 2010, 03:32:25 PM
Is it a form or a browse? With either you should try moving to a new embed point. Pre-update and pre-insert are my favorites on forms. p_web._trace('message') and Debug View you will find is also an essential debugging tool.
Title: Re: Can not get code to run after OpenFiles
Post by: Bill Quesse on November 11, 2010, 04:18:22 PM
I used the LoadRelatedRecords embed and it works.