Advertisement
Advertisement
| 02.06.2008 at 07:53AM PST, ID: 23141569 |
|
[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: |
Private Sub btnSaveChange_Click()
Select Case Me!FrameOptions
Case 1
DoCmd.Close
Case 2
If [LstItems].Value <> 0 Then
Dim OldItems As New ADODB.Recordset
OldItems.Open "Supplier", CurrentProject.Connection, _
CursorType:=adOpenKeyset, LockType:=adLockBatchOptimistic
Do While Not OldItems.EOF
If OldItems("ItemID") = [LstItems].Value Then
OldItems("ItemID") = [lstFreeItems].Value
OldItems.Update
End If
OldItems.MoveNext
Loop
Else
MsgBox ("No items are assigned to this contact")
End If
DoCmd.Close
Case 3
Dim Items As New ADODB.Recordset
Items.Open "Supplier", CurrentProject.Connection, _
CursorType:=adOpenKeyset, LockType:=adLockBatchOptimistic
Do While Not Items.EOF
If Items("ItemID") = [LstItems].Value Then
Items.Delete
Items.Update
End If
Items.MoveNext
Loop
DoCmd.Close
End Select
End Sub
|
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 02.06.2008 at 08:01AM PST, ID: 20833052 |
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: |
Private Sub btnSaveChange_Click()
Select Case Me!FrameOptions
Case 1
DoCmd.Close
Case 2
If [LstItems].Value <> 0 Then
Dim OldItems As New ADODB.Recordset
OldItems.Open "Supplier", CurrentProject.Connection, _
CursorType:=adOpenKeyset, LockType:=adLockBatchOptimistic
Do While Not OldItems.EOF
If OldItems("ItemID") = [LstItems].Value Then
OldItems.Edit
OldItems("ItemID") = [lstFreeItems].Value
OldItems.Update
End If
OldItems.MoveNext
Loop
Else
MsgBox ("No items are assigned to this contact")
End If
DoCmd.Close
Case 3
Dim Items As New ADODB.Recordset
Items.Open "Supplier", CurrentProject.Connection, _
CursorType:=adOpenKeyset, LockType:=adLockBatchOptimistic
Do While Not Items.EOF
If Items("ItemID") = [LstItems].Value Then
Items.Delete
End If
Items.MoveNext
Loop
DoCmd.Close
End Select
End Sub
|
| 02.06.2008 at 08:19AM PST, ID: 20833244 |
| 02.06.2008 at 08:38AM PST, ID: 20833410 |
| 02.06.2008 at 08:50AM PST, ID: 20833513 |
| 02.06.2008 at 09:11AM PST, ID: 20833722 |