Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PROBLEM: Using MODI COMM with a CASE statement
Message
From
01/05/2006 11:45:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
01/05/2006 11:04:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01118042
Message ID:
01118060
Views:
25
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform