|
| Checkbox can not be cleared |
| Iniciado por guest, 21,feb. 2018 16:20 - 4 respuestas |
| |
| | | |
|
| |
| Publicado el 21,febrero 2018 - 16:20 |
Hi,
mysterious behavior: I have a simple Checkbox control. Could be selected and cleared by the mouse and be used by programming (if CBOX_xx = true) all correct. But clearing by program does not work (CBOX_xx = false). Tried CBOX_xx[1] as well, no difference. Any ideas?
g
Erik |
| |
| |
| | | |
|
| | |
| |
| Publicado el 21,febrero 2018 - 17:04 |
| Maybe obvious, but is it linked to a databasefield by accident ?? |
| |
| |
| | | |
|
| | |
| |
| Publicado el 21,febrero 2018 - 22:18 |
Hi Aad,
no, it's not linked to anything.
thx
Erik |
| |
| |
| | | |
|
| | |
| |
| Publicado el 21,febrero 2018 - 23:03 |
Have you tried placing Trace(CBOX_xx) multiple times in the code to try and track down when it changes to the incorrect value? I would trace it immediately after setting the checkbox to make sure that worked correctly, then trace periodically throughout the code that runs to pinpoint when it changes.
CBOX_xx = False Trace(CBOX_xx) |
| |
| |
| | | |
|
| | |
| |
| Publicado el 22,febrero 2018 - 08:09 |
Hi Curtis,
your test lead me to the solution. Just before the code has been a procedure, which contained a 'returntocapture', so the code never executed (I'm getting old!)
Thanks
Erik |
| |
| |
| | | |
|
| | | | |
| | |
|