Echo Screen
  • Greg

    Echo Screen

    by Greg » Fri Nov 11, 2011 4:11 pm

    I have extended my script and just want to echo to the screen

    “Quantity prices available for this $3.00 for 12 or more”

    I get the text to the screen at the right time but don’t know the correct syntax for inserts a record amount where in this example $3.00 is

    Echo “Quantity prices available for this stock line Staux000->J for staux000->Qtynumber!,”

    At the moment the words Staux000->J appears on the screen not $3.00 ( in this example)

    Any assistance would be appreciated
  • COBS Tech Support
    Posts: 682
    Joined: Fri Sep 09, 2005 8:23 am

    by COBS Tech Support » Fri Nov 11, 2011 4:12 pm

    Try this:

    Code: Select all

    Echo("Quantity prices available for this stock line " + NTrim(Staux000->J) + " for " + NTrim(Staux000->Qtynumber") + "!")

    The above, all on one line.

    The above script assumes that you've setup Qtynumber as a numeric field. Otherwise you'll most likely get a type mismatch error.

Who is online

Users browsing this forum: No registered users and 5 guests