Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does DO CASE allow comments and IF statements?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00211627
Message ID:
00211656
Vues:
23
Brenda,

I'm assuming that you are manually changing the value in the grid? What method does the do case reside in?

BTW: The skip, skip -1 will not force a record update, since when you use a grid control table buffering is used instead of row buffering.

>Believe now that the problem does not lay with the DOCASE. It is with the table refreshing with the current value. Paytemp is the recordsource for a grid. I change the value of column.textbox whose controlsource=paytemp.int_pmt. Change paytemp.int_pmt from 0 to 2. If I let execution run, I end up at the ASSERT .F., which is the first statement inside the:
>
>"CASE EMPTY(paytemp.PRIN_PMT) AND EMPTY(paytemp.INT_PMT)"
>
>I can see in the debugger that paytemp.int_pmt is 2. If I SET NEXT STATEMENT to execute the DOCASE again, it will not stop in the CASE statement.
>
>Now if I execute the entire method in the debugger, I never go in the CASE. The table value is not refreshing until the debugger window becomes active. I tried SKIP, SKIP -1 before the DOCASE but that did not help.
>
>Any ideas.
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform