coding missing for next record

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

boliao via AccessMonster.com

i believe i short of a few coding plx help

checkbox = chkA
textbox = txtA (in properities enable = 0)

Private Sub chkA_Click()
If chkA = -1 Then txtA.Enabled = True Else txtA.Enabled = False
if chka = 0 then txta.value = null
End Sub

this is the coding i have .. but when i check the chkA and go to the next
record the txtA is enabled.. which is what i dont want.
i need txta to be enable =0 until chkA is check for diff records..
plx help!!!!!
 
K

Klatuu

Look to see if there is any code in the form Current event that may be
changing properties for txtA.
Once you set a property in code, it will stay that way until something
changes it, so somewhere in you code, it is changing. The most likely place
is the Current event.
 
B

boliao via AccessMonster.com

Klatuu said:
Look to see if there is any code in the form Current event that may be
changing properties for txtA.
Once you set a property in code, it will stay that way until something
changes it, so somewhere in you code, it is changing. The most likely place
is the Current event.
i believe i short of a few coding plx help
[quoted text clipped - 10 lines]
i need txta to be enable =0 until chkA is check for diff records..
plx help!!!!!

sorry still dont undertstand can show me the codings??
i am not a programmer juz got to learn how to use access...
plx help..
thanks.
 
Top