Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PROBLEM: Using MODI COMM with a CASE statement
Message
De
01/05/2006 11:45:38
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
01/05/2006 11:04:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01118042
Message ID:
01118060
Vues:
22
>I'm running the following CASE statement in VFP, but cannot figure out why it will not executed the DO command within the CASE statement:
>
>pdTodaysdate = date()
>
>DO CASE
> CASE pdTodaysdate = {4/3/2006};
> or pdTodaysdate = {5/1/2006};
> or pdTodaysdate = {5/29/2006};
> or pdTodaysdate = {7/3/2006}
> SELE OLDCATREQS
> ZAP
> store .F. to llNewReq
> WAIT WINDOW "UPDATE BOTH REQUEST TTO'S - SUSPENDING PROGRAM" nowait
> DO UPDTTO
>ENDCASE
>
>PROC UPDTTO
>
>MODI COMM REQUESTS.TTO
>MODI COMM REQTEST.TTO
>
>ENDPROC
>
>I realize that I could just stick the MODI COMM commands within the CASE statement, but the example above has been greatly abbreviated, and does not contain the additional CASE statements and OTHERWISE commands being used. Any assistance in resolving the above would be appreciated.
>
>Thanks.
>
>Gil

It would execute, I think problem is something else (ie: another procedure called updtto is being called).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform