Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Different behavior when debugging
Message
From
01/02/2005 12:42:40
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00982681
Message ID:
00982748
Views:
19
>Hi everybody!
>
>I have a situation in which the following piece of code behaves in different ways depending if I am debugging it(stepping through the lines of code) or not.
>
>
>* ZAP the table that holds the current configuration
>* New configurable items will be added.
>go_SQL.cmpA_tmpf14.m_Zap()
>WITH THISFORM
>  x_Loadbom(lcBomno, lcRevlev, lcLoctid, lcLintype, lnLevel, lnQtyUsd, .T.)
>  x_LoadCfgItems()
>  * GOTO TOP IN a_tmpf13
>  go_SQL.cmpA_tmpf13.m_MoveRecord(Cn_TopRec)
>  * GOTO TOP IN a_tmpf14
>  go_SQL.cmpA_tmpf14.m_MoveRecord(Cn_TopRec)
>  .grdCfg.refresh()
>ENDWITH	
>
>
>The form has a grid that doesn't get refreshed when running normally, but it is when I am debugging it. This grid should show changes made to its recordsource (a_tmpf14). What could be causing this behavior? Any clue? Any workaround?
>
>Thanks everybody!

try
  ....
  .grdCfg.setFocus
ENDWITH	
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform