Hi NB Team.
Is there a way i can set a function when a selection is made in the Grid Table (PickList) from field properties
I have my table displayed in the grid this way
id | Hour | Time
Then in the Hour field i added a PickList (Day,Night,Other]
I want to set a function where and when if a user makes choice in Hour field
It could automatically update the Time Field
Please is this possible?
Thanks
Pick List
Moderator: Neosoft Support
- HackinHoodLogicsTm
- Posts: 131
- Joined: Wed Aug 28, 2013 7:03 am
- Location: Ghana
- Contact:
Re: Pick List
HackinHoodLogicsTm :
You can use the subroutine specified in dbpOpenTable ...
When the user picks another value for Hour, this subroutine can check the new value ... and update the Time field accordingly.
Of course, this subroutine will be called for other field changes too ... but that should not adversely affect the value set in the Time field.
You can use the subroutine specified in dbpOpenTable ...
Code: Select all
dbpOpenTable "database id" "table" "subroutine"
Of course, this subroutine will be called for other field changes too ... but that should not adversely affect the value set in the Time field.
- HackinHoodLogicsTm
- Posts: 131
- Joined: Wed Aug 28, 2013 7:03 am
- Location: Ghana
- Contact:
Re: Pick List
Thanks Gaev