Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditional logic problem
Message
 
 
To
07/08/2007 16:26:47
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01246593
Message ID:
01246610
Views:
28
>Yes it will. It's in a FOR loop, line-by-line.
>
>>You may give us a bit more code to work with, because you're still talking riddles (for me, at least).
>
>Sorry Nadya, guess I'll just work though it on my own. I mentioned "Everyone" earlier hoping to be more responses. It's not so much riddles as a simple logic that I can't quite figure out how to know I'm done with a message because I only know that when I'm starting a message, but it could be the first message, so that would not be a good time to say an update was successful because the first message has not been processed yet.
local lnMessagesCount, lnProcessedMessages

store to lnMessagesCount, lnProcessedMessages
for ...
  lnProcessedMessages = m.lnMessagesCount
  case  
    ...

   endcase
  
   if m.lnProcessedMessages <> m.lnMessagesCount
        Display Message - we processed a new message
   endif
next
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform