![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
#6
| |||
| |||
|
#7
| |||
| |||
|
#8
| |||
| |||
|
#9
| |||
| |||
|
|
I am currently using Paradox 8. I have a status field. Users can change this status via a table lookup (ctrl+space). My problem is that I want to add a log each time it's changed. My choice was to put the code into the changeValue event but it seems the event does not even get triggered when changing the value via ctrl+space. It will get triggered if I actually type in the new status as long as I type something that's in the lookup. Am I just completely missing something? changevalue code is below but it is never executed upon changing the field via the lookup. method changeValue(var eventInfo ValueEvent) var strOldValue, strNewValue String endVar strOldValue = self doDefault strNewValue = self AddLog("Status changed from " + strOldValue + " to " + strNewValue) endMethod |
#10
| |||
| |||
|
|
I am currently using Paradox 8. I have a status field. Users can change this status via a table lookup (ctrl+space). My problem is that I want to add a log each time it's changed. My choice was to put the code into the changeValue event but it seems the event does not even get triggered when changing the value via ctrl+space. It will get triggered if I actually type in the new status as long as I type something that's in the lookup. Am I just completely missing something? changevalue code is below but it is never executed upon changing the field via the lookup. method changeValue(var eventInfo ValueEvent) var strOldValue, strNewValue String endVar strOldValue = self doDefault strNewValue = self AddLog("Status changed from " + strOldValue + " to " + strNewValue) endMethod |
![]() |
| Thread Tools | |
| Display Modes | |
| |