I have a form with text boxes (I'm great I know)
However they are often locking up (cannot get focus and type in them), it seems if i click on some other text boxes then click back in the locked up one it lets me in... not sure what the issue is.
Any idea what it could be? It does not happen on any other forms.
Regards,
---
code:
However they are often locking up (cannot get focus and type in them), it seems if i click on some other text boxes then click back in the locked up one it lets me in... not sure what the issue is.
Any idea what it could be? It does not happen on any other forms.
Regards,
---
code:
Code:
Option Compare Database
Option Explicit
Dim msgAnswer
Private Sub Command107_Click()
search.Visible = True
TabCnt.Value = 0
Course.Visible = False
End Sub
Private Sub Command98_Click()
If Programme <> "" Then
Course.Visible = True
TabCnt.Value = 1
search.Visible = False
cCODE = CourseCode
cTITLE = CourseTitle
Prog = Programme
Exit Sub
Else
msgAnswer = MsgBox("You have not selected a Programme, do you wish to continue?", vbQuestion + vbYesNo, "Please check")
If msgAnswer = vbNo Then
Exit Sub
Else
Course.Visible = True
TabCnt.Value = 1
search.Visible = False
cCODE = CourseCode
cTITLE = CourseTitle
Prog = Programme
End If
End If
End Sub
Private Sub Command109_Click()
On Error GoTo Err_Command109_Click
If Me.Dirty Then Me.Dirty = False
DoCmd.Close
Exit_Command109_Click:
Exit Sub
Err_Command109_Click:
MsgBox Err.Description
Resume Exit_Command109_Click
End Sub
Private Sub Command110_Click()
On Error GoTo Err_Command110_Click
If Me.Dirty Then Me.Dirty = False
If STARTDATE <> "" And ENDDATE <> "" And FUNDING <> "" Then
Me.ID = OpenArgs
DoCmd.Close
Else
MsgBox "You must enter a start date, end date and funding stream before adding a course.", vbOKOnly, "Course Information Incomplete"
Exit Sub
End If
Exit_Command110_Click:
Exit Sub
Err_Command110_Click:
MsgBox Err.Description
Resume Exit_Command110_Click
End Sub
Private Sub Command121_Click()
On Error GoTo Err_Command121_Click
If Me.Dirty Then Me.Dirty = False
DoCmd.Close
Exit_Command121_Click:
Exit Sub
Err_Command121_Click:
MsgBox Err.Description
Resume Exit_Command121_Click
End Sub
Private Sub Form_Close()
Forms!frontend!Learndirect.Form.Requery
End Sub
Private Sub Form_Load()
DoCmd.GoToRecord , , acNewRec
End Sub
Private Sub txtSearch_Change()
txtSwap = txtSearch.Text
TITLE.Requery
End Sub