Question Michael Lundberg · Aug 15, 2022 SQL insert/update removes spaces Hi! I have a question regarding SQL insert/update from the mananger portal's SQL window. I am trying to do an insert with a value that contains multiple spaces ($32) between two words. This is needed for a comparative reason. But the spaces are automatically trimmed away all the time. How should I write to keep these? Example: Insert into TableA(MyColumn) Values('xxxx yyyy') then the spaces are trimmed away and it becomes: 'xxxx yyyy' But I want to keep the spaces. How do I get around the problem? Regards,Michael #SQL #HealthShare 0 4 0 137
Question Michael Lundberg · Apr 26, 2022 Save attached file to disk from Email Hello We have a solution with an EnsLib.EMail.InboundAdapter as services that scan a mailbox on incoming mail with attachments. When a new email arrives, the service sends the request (with a property %Net.MailMessage) to the process. In the process, we try to loop through and retrieve part 2 which we assume is the file. set Part = pRequest.Mail.Parts.GetAt (2) We can read out the file name:Set FileName = Part.FileName But how, and is it possible, to save the attached file to disk drive? #Ensemble 0 4 0 198