I'm trying to populate a listbox in code. The code that does this is ...
The bits of string are, for example ...
This does what I expected, and adds the following to the list box ...
But I don't want a semicolon in there after Party, I want a COMMA! Access won't let me have a comma within a string to assign to a row of a list box. It just ignores everything after the comma. I've tried
i.e. putting the comma in single quotes (which you can barely see here!) but it makes no difference. Is there any way of getting a comma in there?
(I won't ask you about how to get 10/5/09 instead of 10 5 09 because it's too pathetic and I will manage to find out by myself!)
Code:
strToAdd = rstSkeleton!SkeletonString & ": " & Me.EventTitle & "; " & dateStr Me.NewMailItems.AddItem strToAdd
Code:
rstSkeleton!SkeletonString = "Tickets" Me.EventTitle = "Garden Party" dateStr = Format(EventDate, "d m yy")
Code:
"Tickets: Garden Party; 10 5 09"
Code:
& "',' " &
(I won't ask you about how to get 10/5/09 instead of 10 5 09 because it's too pathetic and I will manage to find out by myself!)
Comment