adhoustonj
Member
- Local time
 - Today, 00:18
 
- Joined
 - Sep 23, 2022
 
- Messages
 - 178
 
I have a table with 2 columns - email_group_id(integer) and email_group(long text), where email is a string of emails.
I have a saved query that selects from the table, and I open a recordset in VBA with the saved query, and assign a variable "Em" (dim as string) with the email field.
When passing through vba the long text field is truncated. Is there any solution? I tried "Dim Em as String * 1024" to increase the size, but it is still truncated.
I believe ideally the table would be email_id(integer), email_group_id(integer), and email(short text), and then I could cycle through and concat/string together my email string, but is there any solution to pass the long text through vba without the truncation?
Thanks
 I have a saved query that selects from the table, and I open a recordset in VBA with the saved query, and assign a variable "Em" (dim as string) with the email field.
When passing through vba the long text field is truncated. Is there any solution? I tried "Dim Em as String * 1024" to increase the size, but it is still truncated.
I believe ideally the table would be email_id(integer), email_group_id(integer), and email(short text), and then I could cycle through and concat/string together my email string, but is there any solution to pass the long text through vba without the truncation?
Thanks