how to write a function

  • Thread starter Thread starter boliao via AccessMonster.com
  • Start date Start date
B

boliao via AccessMonster.com

how to write a function that will perform the below everytime i goto the next
record or goto previous record

i want it to perform the following codes

if chka=-1 then txta.enable = true else if chka=0 then txta.enable = false
if chkb=-1 then txtb.enable = true else if chkb=0 then txtb.enable = false

what coding should i write and where to put it.. please give me a step to
step guide
thank you for your help....
plx help!!!
 
Put this code in the Current event of your form:

Me.txta.Enabled = Me.chka
Me.txtb.Enabled = Me.chkb
 
thank you very much i go try it out !!!
cheers

Put this code in the Current event of your form:

Me.txta.Enabled = Me.chka
Me.txtb.Enabled = Me.chkb
how to write a function that will perform the below everytime i goto the next
record or goto previous record
[quoted text clipped - 8 lines]
thank you for your help....
plx help!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top