Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2006
    Posts
    1

    Unanswered: Progress Database

    Good Day All, Im having trouble with a database im working on, Its a progress dBase. Can anyone help me resolve a way I can impkement an If ..Else Statement in progress syntax. I know in Oracle one would use the Decode function. If anyone can help, please.

  2. #2
    Join Date
    Feb 2006
    Location
    Hertfordshire, UK
    Posts
    24
    I am assuming you are using the Progress 4GL ...

    If this is the case then I would assume you are doing something like the following:

    FOR EACH <table> WHERE <condition> :
    IF <field1> = <value> THEN
    /* Do your conditional processing if true */
    ELSE
    /* Do your conditional processing if false */
    END.
    END.

    If not it maybe helpful to see a section of the code or more detailed example of what you are looking at acheiving.

    thanks,
    Jonathan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •