Hi,
I need to change a field from a browsebox. So by the button the value will change. For the example I put an OK button beside the update button (Insert,change,delete)
so from the button will change the value of a field that is selected from browsebox.
Does anyone can tell me how?
thx,
Hi,
I need to change a field from a browsebox. So by the button the value will change. For the example I put an OK button beside the update button (Insert,change,delete)
so from the button will change the value of a field that is selected from browsebox.
Does anyone can tell me how?
thx,
On Friday, October 19, 2018 at 10:46:20 PM UTC+7, Joe Tan wrote:
Hi,
I need to change a field from a browsebox. So by the button the value will change. For the example I put an OK button beside the update button (Insert,change,delete)
so from the button will change the value of a field that is selected from browsebox.
Does anyone can tell me how?
thx,
Hi Sean,
Sorry if the translation not good. I've put the hot field but it's still not working. Do you have any example of doing this?
thanks,
Joe
On 21/10/18 01:43, Joe Tan wrote:
On Friday, October 19, 2018 at 10:46:20 PM UTC+7, Joe Tan wrote:
Hi,
I need to change a field from a browsebox. So by the button the value will change. For the example I put an OK button beside the update button (Insert,change,delete)
so from the button will change the value of a field that is selected from browsebox.
Does anyone can tell me how?
thx,
Hi Sean,
Sorry if the translation not good. I've put the hot field but it's still not working. Do you have any example of doing this?
thanks,
Joe
Hi Joe
I'd like to help but I'm still not sure exactly what you want to do.
Could you explain a bit more
Sean H
On Monday, October 22, 2018 at 11:10:01 AM UTC+7, Sean H wrote:
On 21/10/18 01:43, Joe Tan wrote:
On Friday, October 19, 2018 at 10:46:20 PM UTC+7, Joe Tan wrote:
Hi,
I need to change a field from a browsebox. So by the button the value will change. For the example I put an OK button beside the update button (Insert,change,delete)
so from the button will change the value of a field that is selected from browsebox.
Does anyone can tell me how?
thx,
Hi Sean,
Sorry if the translation not good. I've put the hot field but it's still not working. Do you have any example of doing this?
thanks,
Joe
Hi Joe
I'd like to help but I'm still not sure exactly what you want to do.
Could you explain a bit more
Sean H
Hi Sean,
Firstly thanks for your help. Actually I have a browse box
Describe as below :
Sts Trans.ID Date Amount
0 ACC001 10-1-2018 2.80
1 ACC003 11-2-2018 3.00
Post insert change Delete
If the sts value is 0 then button will change into "Post".If the button were push the sts value will change into 1 and the button will change into "unpost". Hope you understand..
On 23/10/18 00:09, Joe Tan wrote:
On Monday, October 22, 2018 at 11:10:01 AM UTC+7, Sean H wrote:
On 21/10/18 01:43, Joe Tan wrote:
On Friday, October 19, 2018 at 10:46:20 PM UTC+7, Joe Tan wrote:
Hi,
I need to change a field from a browsebox. So by the button the value will change. For the example I put an OK button beside the update button (Insert,change,delete)
so from the button will change the value of a field that is selected from browsebox.
Does anyone can tell me how?
thx,
Hi Sean,
Sorry if the translation not good. I've put the hot field but it's still not working. Do you have any example of doing this?
thanks,
Joe
Hi Joe
I'd like to help but I'm still not sure exactly what you want to do.
Could you explain a bit more
Sean H
Hi Sean,
Firstly thanks for your help. Actually I have a browse box
Describe as below :
Sts Trans.ID Date Amount
0 ACC001 10-1-2018 2.80
1 ACC003 11-2-2018 3.00
Post insert change Delete
If the sts value is 0 then button will change into "Post".If the button were push the sts value will change into 1 and the button will change into "unpost". Hope you understand..
OK I think I've got it. I'm assuming this is using the ABC templates.
In the embed point for the browse (local objects -> Browse on yourrFile) TakeNewSelection
After Parent
Code will be:
IF sts = 0
?ButtonPost{prop:text}='Post'
ELSE
?ButtonPost{prop:text}='UnPost'
END
I think that should do it.
Sean H
On Tuesday, October 23, 2018 at 9:17:53 AM UTC+7, Sean H wrote:
On 23/10/18 00:09, Joe Tan wrote:
On Monday, October 22, 2018 at 11:10:01 AM UTC+7, Sean H wrote:
On 21/10/18 01:43, Joe Tan wrote:
On Friday, October 19, 2018 at 10:46:20 PM UTC+7, Joe Tan wrote:
Hi,
I need to change a field from a browsebox. So by the button the value will change. For the example I put an OK button beside the update button (Insert,change,delete)
so from the button will change the value of a field that is selected from browsebox.
Does anyone can tell me how?
thx,
Hi Sean,
Sorry if the translation not good. I've put the hot field but it's still not working. Do you have any example of doing this?
thanks,
Joe
Hi Joe
I'd like to help but I'm still not sure exactly what you want to do.
Could you explain a bit more
Sean H
Hi Sean,
Firstly thanks for your help. Actually I have a browse box
Describe as below :
Sts Trans.ID Date Amount
0 ACC001 10-1-2018 2.80
1 ACC003 11-2-2018 3.00
Post insert change Delete
If the sts value is 0 then button will change into "Post".If the button were push the sts value will change into 1 and the button will change into "unpost". Hope you understand..
OK I think I've got it. I'm assuming this is using the ABC templates.
In the embed point for the browse (local objects -> Browse on yourrFile) TakeNewSelection
After Parent
Code will be:
IF sts = 0
?ButtonPost{prop:text}='Post'
ELSE
?ButtonPost{prop:text}='UnPost'
END
I think that should do it.
Sean H
Hi Sean,
Great i'ts working..but if I want to change the sts value what should I do? Can I just put the formula like sts=1 on 'Post' and sts=0 on UnPost?
thx
On Tuesday, October 23, 2018 at 9:17:53 AM UTC+7, Sean H wrote:
On 23/10/18 00:09, Joe Tan wrote:
On Monday, October 22, 2018 at 11:10:01 AM UTC+7, Sean H wrote:
On 21/10/18 01:43, Joe Tan wrote:
On Friday, October 19, 2018 at 10:46:20 PM UTC+7, Joe Tan wrote:
Hi,
I need to change a field from a browsebox. So by the button the value will change. For the example I put an OK button beside the update button (Insert,change,delete)
so from the button will change the value of a field that is selected from browsebox.
Does anyone can tell me how?
thx,
Hi Sean,
Sorry if the translation not good. I've put the hot field but it's still not working. Do you have any example of doing this?
thanks,
Joe
Hi Joe
I'd like to help but I'm still not sure exactly what you want to do.
Could you explain a bit more
Sean H
Hi Sean,
Firstly thanks for your help. Actually I have a browse box
Describe as below :
Sts Trans.ID Date Amount
0 ACC001 10-1-2018 2.80
1 ACC003 11-2-2018 3.00
Post insert change Delete
If the sts value is 0 then button will change into "Post".If the button were push the sts value will change into 1 and the button will change into "unpost". Hope you understand..
OK I think I've got it. I'm assuming this is using the ABC templates.
In the embed point for the browse (local objects -> Browse on yourrFile)
TakeNewSelection
After Parent
Code will be:
IF sts = 0
?ButtonPost{prop:text}='Post'
ELSE
?ButtonPost{prop:text}='UnPost'
END
I think that should do it.
Sean H
Hi Sean,
Great i'ts working..but if I want to change the sts value what should I do? Can I just put the formula like sts=1 on 'Post' and sts=0 on UnPost?
thx
On 24/10/18 13:37, Joe Drive wrote:
On Tuesday, October 23, 2018 at 9:17:53 AM UTC+7, Sean H wrote:
On 23/10/18 00:09, Joe Tan wrote:
On Monday, October 22, 2018 at 11:10:01 AM UTC+7, Sean H wrote:
On 21/10/18 01:43, Joe Tan wrote:
On Friday, October 19, 2018 at 10:46:20 PM UTC+7, Joe Tan wrote:
Hi,
I need to change a field from a browsebox. So by the button the value will change. For the example I put an OK button beside the update button (Insert,change,delete)
so from the button will change the value of a field that is selected from browsebox.
Does anyone can tell me how?
thx,
Hi Sean,
Sorry if the translation not good. I've put the hot field but it's still not working. Do you have any example of doing this?
thanks,
Joe
Hi Joe
I'd like to help but I'm still not sure exactly what you want to do. >>>> Could you explain a bit more
Sean H
Hi Sean,
Firstly thanks for your help. Actually I have a browse box
Describe as below :
Sts Trans.ID Date Amount
0 ACC001 10-1-2018 2.80
1 ACC003 11-2-2018 3.00
Post insert change Delete
If the sts value is 0 then button will change into "Post".If the button were push the sts value will change into 1 and the button will change into "unpost". Hope you understand..
OK I think I've got it. I'm assuming this is using the ABC templates.
In the embed point for the browse (local objects -> Browse on yourrFile) >> TakeNewSelection
After Parent
Code will be:
IF sts = 0
?ButtonPost{prop:text}='Post'
ELSE
?ButtonPost{prop:text}='UnPost'
END
I think that should do it.
Sean H
Hi Sean,
Great i'ts working..but if I want to change the sts value what should I do? Can I just put the formula like sts=1 on 'Post' and sts=0 on UnPost?
thx
Do you want to change it in the file?
you can call a source procedure that updates that record. You might
need to refresh the browse after the change.
Sean H
On Thursday, October 25, 2018 at 6:16:13 AM UTC+7, Sean H wrote:
On 24/10/18 13:37, Joe Drive wrote:
On Tuesday, October 23, 2018 at 9:17:53 AM UTC+7, Sean H wrote:
On 23/10/18 00:09, Joe Tan wrote:
On Monday, October 22, 2018 at 11:10:01 AM UTC+7, Sean H wrote:
On 21/10/18 01:43, Joe Tan wrote:
On Friday, October 19, 2018 at 10:46:20 PM UTC+7, Joe Tan wrote: >>>>>>>> Hi,
I need to change a field from a browsebox. So by the button the value will change. For the example I put an OK button beside the update button (Insert,change,delete)
so from the button will change the value of a field that is selected from browsebox.
Does anyone can tell me how?
thx,
Hi Sean,
Sorry if the translation not good. I've put the hot field but it's still not working. Do you have any example of doing this?
thanks,
Joe
Hi Joe
I'd like to help but I'm still not sure exactly what you want to do. >>>>>> Could you explain a bit more
Sean H
Hi Sean,
Firstly thanks for your help. Actually I have a browse box
Describe as below :
Sts Trans.ID Date Amount
0 ACC001 10-1-2018 2.80
1 ACC003 11-2-2018 3.00
Post insert change Delete
If the sts value is 0 then button will change into "Post".If the button were push the sts value will change into 1 and the button will change into "unpost". Hope you understand..
OK I think I've got it. I'm assuming this is using the ABC templates. >>>>
In the embed point for the browse (local objects -> Browse on yourrFile) >>>> TakeNewSelection
After Parent
Code will be:
IF sts = 0
?ButtonPost{prop:text}='Post'
ELSE
?ButtonPost{prop:text}='UnPost'
END
I think that should do it.
Sean H
Hi Sean,
Great i'ts working..but if I want to change the sts value what should I do? Can I just put the formula like sts=1 on 'Post' and sts=0 on UnPost?
thx
Do you want to change it in the file?
you can call a source procedure that updates that record. You might
need to refresh the browse after the change.
Sean H
Hi Sean,
I have put an syntax on the buttom :
IF PRH:sts=0 then
PRH:sts=1
Access:prheader.update()
BRW1.ResetSort(1)
BRW1.UpdateWindow
End
IF PRH:sts=1 then
PRH:sts=0
Access:prheader.update()
BRW1.ResetSort(1)
BRW1.UpdateWindow
End
But it still not working, do you have any suggestion to solve the problems?
thx,
Joe
Hi,
I need to change a field from a browsebox. So by the button the value will change. For the example I put an OK button beside the update button (Insert,change,delete)
so from the button will change the value of a field that is selected from browsebox.
Does anyone can tell me how?
thx,
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 50:42:08 |
Calls: | 6,649 |
Calls today: | 1 |
Files: | 12,200 |
Messages: | 5,330,212 |