NetTalk Central

Author Topic: Format Text  (Read 4375 times)

Stan

  • Newbie
  • *
  • Posts: 13
    • View Profile
Format Text
« 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

mriffey

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • Email
Re: Format Text
« Reply #1 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