I have 2 fields - 1) CreditCardNo (text 16) & 2) CreditCardNoBlob (Blob).
On Validate for CreditCardNo I want to push the text data to a blob - I understand you can use INSTREAM to do this - but I need help to get it right.
So far I have the following:
Definitions:
StreamInObj = DataType InStream
CreditCardNoProtect = BLOB
CreditCardNo = Text (16)
CreditCardNoProtect.CREATEINSTREAM(StreamInObj);
I am unsure what to do to get Credit Card No into the blob field.
Can someone show me what the code should be with an explanation on each line of how it actually works or what each line is doing. I looked at the example in the help text but not sure how much of it is relevant considering it seems to be writing messages.
Thanks
Kylea
0
Answers
Read Data from BLOB and write text in textvariable
Regards
So now I have my credit card info appearing as * in my blob field - in order to display it on a form I gather I would need to do the reverse to an InStream ie Blob to a text field so the user could see it. Is that correct.
Kylea
if you got the answere you can set the attributoption solved (go to the first post, press edit, set the attribute -> optionfield on top)
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
If you are on 2009 that's OK then, however you may still want to implement your change as a function in TempBLOB table, just like they are implemented now in post-2009 versions. If you use the same function names it will be a just a tiny bit easier to upgrade your system in the future.
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03