Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check for occurrences of specific letters?
Message
De
31/08/2003 15:03:40
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00824943
Message ID:
00824952
Vues:
24
>Can you provide more details?

Hi Sergey:

Thank you for your kind response.

The purpose is to calculate an age premium, which is as follows:

- If age is less than 2 yrs , then it is 25% of the rate for a code
- If age is greater than 2 and less than 6, then it is 10% of the rate for a code

Codes that are eligible for this are 003 to 011C to T and some other single codes.

What I had in mind was:
Do Case
  Case 1
    If msFeeCode is between 003 to 011C to T
      and age less than 2
        Do this...
    else
      if msFeeCode is between 003 to 011C to T
        and age is greater than 2 but less than 6
          do this.....
      endif
    endif
  Case 2
    ..........
Otherwise
EndCase
Thanks Sergey
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform