NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Stan on August 30, 2007, 09:54:41 AM

Title: Format Text
Post by: Stan on August 30, 2007, 09:54:41 AM
Which embed can I use to format text before saving to file (on Insert).  I don't care if user enters improper text field data as long as I can fix before saving to file.

Example: LEFT(UPPER(p_web.GetSessionValue('FIL:ProdCode')))

I just want to save it formatted properly (no leading spaces, uppercase letters in Code, etc.)

Cheers,
Stan
Title: Re: Format Text
Post by: mriffey on August 30, 2007, 05:40:06 PM
ValidateRecord routine. Because...see below:

Mark


ValidateInsert  Routine
  do ValidateRecord
  ! Start of "On Insert : Form ends : before disk write"
  ! [Priority 5000]

  ! End of "On Insert : Form ends : before disk write"

ValidateUpdate  Routine
  do ValidateRecord