Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. BigCalm

    random generator

    Not in 4gl - you'll have to call a C function.
  2. BigCalm

    Grouping by Acc No. and getting a total from another column

    I see you're using a tetra/sage system (on C-ISAM version?): select plsuppm.supplier, plsuppm.name, ytd_sales,supplier_category,sum(vat_amoun t) va,sum(currency_amount) ca from plsuppm, plinvm...
  3. BigCalm

    Grouping by Acc No. and getting a total from another column

    Can you post your current sql? That might help. I'd imagine something like this: select account_no, sum(order_value) from customers, orders where [joins] and [conditions] group by 1 order by 1
  4. BigCalm

    How to force a field to be an INTEGER in form ?

    If the above doesn't sort the problem, then you could get it entered as text and use the following function to check if it's a number: #------------------------------------------------------------------------------ # Takes a string and works out whether it's a number or not... FUNCTION...
  5. BigCalm

    get the name of the source that is raning.

    You can use arg_val(0) which contains the program name. Other variables that might help: SQLCA.SQLCODE - error status of last SQL SQLCA.SQLERRD[2] - ISAM status for last SQL err_get() - get description for error (uses finderr) Note the module is recorded in the log file whenever you have...
  6. BigCalm

    String LENGTH

    Nope, informix always pads strings with spaces (for some unfathomable reason).
  7. BigCalm

    select into variable values (in cursor loop)

    You should check whether you've received values from the second select: if sqlca.sqlcode = 100 then # not found else # found end if

Part and Inventory Search

Back
Top