Advertisement
Advertisement
| 05.02.2008 at 10:44AM PDT, ID: 23372411 |
|
[x]
Attachment Details
|
||
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 05.02.2008 at 11:14AM PDT, ID: 21488802 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: |
Dim db As NotesDatabase
Dim view As NotesView
Dim nav As NotesViewNavigator
Dim entry As NotesViewEntry
Dim doc As NotesDocument
Dim count As Integer
Set doc = Source.Document
Set db = doc.ParentDatabase
Set view = db.GetView("VIEW_NAME")
Set nav = view.CreateViewNav
Set entry = nav.GetFirstDocument
Do While (Not entry Is Nothing)
count = count + 1
Call doc.ReplaceItemValue("FIELD_" & count & "_CHOCIES", entry.Document.GetItemValue("CHOICE_VALUE")(0))
Set entry = nav.GetNextDocument(entry)
Loop
|
| 05.02.2008 at 11:40AM PDT, ID: 21489033 |
| 05.02.2008 at 01:38PM PDT, ID: 21489899 |
| 05.02.2008 at 01:43PM PDT, ID: 21489914 |
| 05.05.2008 at 06:24AM PDT, ID: 21499804 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: |
Set view = db.GetView("topten")
Set nav = view.CreateViewNav
Set entry = nav.GetFirstDocument
Do While (Not entry Is Nothing)
If (count = 0) Then
Call doc.ReplaceItemValue("SubmissionList_Choices", entry.Document.GetItemValue("Subject")(0))
Else
Call doc.ReplaceItemValue("SubmissionList_" & count & "_Choices", entry.Document.GetItemValue("Subject")(0))
End If
count = count + 1
Set entry = nav.GetNextDocument(entry)
Loop
|
| 05.06.2008 at 06:22AM PDT, ID: 21507028 |
| 05.06.2008 at 07:41AM PDT, ID: 21507656 |
| 05.06.2008 at 08:54AM PDT, ID: 21508385 |
| 05.06.2008 at 10:01AM PDT, ID: 21509015 |
| 05.06.2008 at 10:31AM PDT, ID: 21509270 |
| 05.06.2008 at 11:20AM PDT, ID: 21509625 |
| 05.06.2008 at 01:39PM PDT, ID: 21510844 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: |
Sub LoadCheckboxChoices(Source As NotesUIDocument)
Dim db As NotesDatabase
Dim view As NotesView
Dim nav As NotesViewNavigator
Dim entry As NotesViewEntry
Dim doc As NotesDocument
Dim count As Integer
Set doc = Source.Document
Set db = doc.ParentDatabase
Set view = db.GetView("topten")
Set nav = view.CreateViewNav
Set entry = nav.GetFirstDocument
Do While (Not entry Is Nothing)
If (count = 0) Then
Call doc.ReplaceItemValue("SubmissionList_Choices", entry.Document.GetItemValue("Subject")(0))
Else
Call doc.ReplaceItemValue("SubmissionList_" & count & "_Choices", entry.Document.GetItemValue("Subject")(0))
End If
count = count + 1
Set entry = nav.GetNextDocument(entry)
Loop
End Sub
|