Thedon123
Registered User.
- Local time
- Today, 04:36
- Joined
- Sep 11, 2002
- Messages
- 98
can anyone decipher this code for meOption Compare Database
Private Sub SearchAssembly_AfterUpdate()
Me![Component].Requery
End Sub
Private Sub Section_AfterUpdate()
Me![SearchAssembly].Requery
End Sub
Private Sub Component_AfterUpdate()
Me![SearchComp].Requery
End Sub
Private Sub SelectSRO_Click()
Dim SRO As String
Dim currentRec As Long
[Form_Modify Claim].FLT_CODE_FLT_CODE_ID = Me!SearchComp.Value
[Form_Modify Claim].refresh_descriptions
currentRec = [Form_Modify Claim].CurrentRecord
DoCmd.Close acForm, "FC_Search"
'[Form_Modify Claim].Requery
DoCmd.GoToRecord , , acGoTo, currentRec
End Sub
Private Sub Close_Click()
On Error GoTo Err_Close_Click
DoCmd.Close
Exit_Close_Click:
Exit Sub
Err_Close_Click:
MsgBox Err.DESCRIPTION
Resume Exit_Close_Click
End Sub
The code is the backend of 3 combo boxes.
I want to add a fourth one and i am stuck at this code.
Private Sub SearchAssembly_AfterUpdate()
Me![Component].Requery
End Sub
Private Sub Section_AfterUpdate()
Me![SearchAssembly].Requery
End Sub
Private Sub Component_AfterUpdate()
Me![SearchComp].Requery
End Sub
Private Sub SelectSRO_Click()
Dim SRO As String
Dim currentRec As Long
[Form_Modify Claim].FLT_CODE_FLT_CODE_ID = Me!SearchComp.Value
[Form_Modify Claim].refresh_descriptions
currentRec = [Form_Modify Claim].CurrentRecord
DoCmd.Close acForm, "FC_Search"
'[Form_Modify Claim].Requery
DoCmd.GoToRecord , , acGoTo, currentRec
End Sub
Private Sub Close_Click()
On Error GoTo Err_Close_Click
DoCmd.Close
Exit_Close_Click:
Exit Sub
Err_Close_Click:
MsgBox Err.DESCRIPTION
Resume Exit_Close_Click
End Sub
The code is the backend of 3 combo boxes.
I want to add a fourth one and i am stuck at this code.