Advertisement
Advertisement
| 05.27.2008 at 08:43AM PDT, ID: 23435214 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: |
Private Sub cmdApproval_Click()
On Error GoTo cmdApproval_Click_Error
For Each ctl In Me.Controls
If ctl.Tag = "C" Then
If IsNull(Me.ActiveControl) Then
Call MsgBox("There is Data Missing.", vbExclamation Or vbDefaultButton1, "Warning")
Me.ActiveControl.SetFocus
Me.ActiveControl.BackColor = 128
Me.ActiveControl.ForeColor = 16777215
Exit Sub
End If
End If
Next ctl
Set rs = Currentdb.OpenRecordset("Select * from [Emergent Work]")
If Not rs.EOF Then
With rs
.AddNew
!Tech_Grp_Person = Me.Tech_Grp_Person
!Task_Description = Me.Task_Description
!Requested_by = Me.Requested_by
!Work_Estimate = Me.Work_Estimate
!Planned_Start = Me.Planned_Start
!Planned_End = Me.Planned_End
!ECD = Me.ECD
!In_Support_of = Me.In_Support_of
!Work_Authority = Me.Work_Authority
!Status = 1
.Update
End With
End If
Set rs = Currentdb.OpenRecordset("Select Max(Seq_NO) as ID, Tech_Grp_Person from [Emergent Work]")
Do Until rs.EOF
gWR = rs.Fields("ID").Value
Debug.Print rs.Fields("Tech_Grp_Person")
gTP = rs.Fields("Tech_Grp_Person").Value
Loop
EmailMgmtApprReq
On Error GoTo 0
Exit Sub
cmdApproval_Click_Error:
MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure cmdApproval_Click of VBA Document Form_frmEmergentWork"
End Sub
|