Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox In A Grid Causing problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Checkbox In A Grid Causing problem
Miscellaneous
Thread ID:
00906095
Message ID:
00906095
Views:
53
I have a checkbox in a grid bound to a field called 'selected'

The table is generated and the grid built dynamically.

The checkbox interactivechange calls the code below.

When the checkbox is clicked, the wait winddow shows False

Any ideas?
WITH ThisForm

  cAlias = .cAlias
  SELECT (cAlias)

  IF Selected 
    REPLACE &cAlias..Status WITH STAT_MODE_RECONCILE NEXT 1
  ELSE
    REPLACE &cAlias..Status WITH STAT_MODE_NONE  NEXT 1
  ENDIF

WAIT WINDOW TRANSFORM(&cAlias..Selected) NOWAIT AT 10,10


  .grdInvoice.Refresh()


  IF oApp.nAppMode = APP_MODE_RECONCILE
    .SumData()
  ENDIF

ENDWITH

RETURN
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform