Quantcast
Channel: Modules & VBA
Viewing all articles
Browse latest Browse all 21

Outlook Appointment Subform records

$
0
0
Hi All,

I have a main form with a subform and I want to insert all records from the subform into an Outlook appointment/calendar entry. Everything works accept how the subfrom records are copied. I use the following code to grab the subform records:

Code:
Private Sub Outlook_Click()
 Dim rs As DAO.Recordset
 Set rs = Forms!Main!FrmSub.Form.RecordsetClone
 Dim strBody As String, i As Integer
strBody = strBody
rs.MoveFirst
Do Until rs.EOF
strBody = strBody
  For i = 0 To rs.Fields.Count - 1...

Read more

Viewing all articles
Browse latest Browse all 21

Trending Articles