I don't understand, I don't believe I have anything in my code which is making the records save mid-form, the users are filling in the form properly its just that if someone would say close the window mid way through we get a half filled in records and requires me to keep deleting these false records.
Here is the code I have so far:
Option Compare Database
Private Sub Form_Open(Cancel As Integer)
DoCmd.GoToRecord , , acNewRec
Call Form_reset
End Sub
Private Sub netacc_AfterUpdate()
If Netacc.Value = True Then
Page50.Visible = True
Else
Page50.Visible = False
End If
Call NewUserChk_Click
End Sub
Private Sub comacc_AfterUpdate()
If comacc.Value = True Then
Page51.Visible = True
Else
Page51.Visible = False
End If
End Sub
Private Sub NewUserChk_Click()
If NewUserChk.Value = True Then
Comexuse.Enabled = False
netexuse.Enabled = False
netnul.Enabled = True
comnul.Enabled = True
End If
If NewUserChk.Value = False Then
netnul.Enabled = False
comnul.Enabled = False
Comexuse.Enabled = True
netexuse.Enabled = True
End If
End Sub
Private Sub Command110_Click()
On Error GoTo Err_Command110_Click
If tncchk.Value = False Then
MsgBox "Please read the Network Standards and Policies"
Else
Call Value_Conversion
MsgBox "Your request has been submitted and labeled Request Number " & Val(requestno)
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.GoToRecord , , acNewRec
Call Form_reset
End If
Exit_Command110_Click:
Exit Sub
Err_Command110_Click:
MsgBox Err.Description
Resume Exit_Command110_Click
End Sub
Private Sub Value_Conversion()
date1.Value = Text61.Value
time1.Value = Text62.Value
diracc1.Value = Combo81.Value & " " & diracc1.Value
diracc2.Value = Combo83.Value & " " & diracc2.Value
diracc3.Value = Combo84.Value & " " & diracc3.Value
comp1.Value = comp1opt.Value & " " & comp1.Value
comp2.Value = comp2opt.Value & " " & comp2.Value
comp3.Value = comp3opt.Value & " " & comp3.Value
End Sub
Private Sub Form_reset()
Netacc.Value = False
Call netacc_AfterUpdate
comacc.Value = False
Call comacc_AfterUpdate
NewUserChk.Value = False
Call NewUserChk_Click
Combo81.Value = Null
Combo83.Value = Null
Combo84.Value = Null
comp1opt.Value = Null
comp2opt.Value = Null
comp3opt.Value = Null
tncchk.Value = False
End Sub
Pretty new to access, so learning as I go.
Hope someone can point me in the right direction, thanks again for all the help
Ryan.