NetTalk Central

Author Topic: Can not get code to run after OpenFiles  (Read 3148 times)

Bill Quesse

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
Can not get code to run after OpenFiles
« 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"
Bill Quesse

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Can not get code to run after OpenFiles
« Reply #1 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.

Bill Quesse

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
Re: Can not get code to run after OpenFiles
« Reply #2 on: November 11, 2010, 04:18:22 PM »
I used the LoadRelatedRecords embed and it works.
Bill Quesse