S sheniece via AccessMonster.com Nov 18, 2007 #1 I have a memo field on a form, how can i show the first 30 characters and add 3 periods after the first 30 words.
I have a memo field on a form, how can i show the first 30 characters and add 3 periods after the first 30 words.
R Rene Nov 18, 2007 #3 Use the Split Ubound function to get the number of words in your memo. Dim strWords() As String Dim iNumber As Integer strWords = Split(YourMemoAsString, " ") iNumber = UBound(strWords) + 1 iNumber is how many words there are in your memo.
Use the Split Ubound function to get the number of words in your memo. Dim strWords() As String Dim iNumber As Integer strWords = Split(YourMemoAsString, " ") iNumber = UBound(strWords) + 1 iNumber is how many words there are in your memo.