Create a string for QRCode (Escape Key) - excel

I have some strings in non-adjacent cells that I collect to be able to create a QRCode for a reader. I have used vbTab to separate the fields of each string.
At some point, I need to use the Escape key (to make the reader click on Escape as I did with Tab key) but using vbKeyEscape doesn't work.
Any ideas?

Related

Blueprism Replace Characters in a collection

I have a collection with multiple columns. I want to search for any characters that have a fada/accent (eg. á) and replace them with the normal version of the character. So á would become a. This would be similar to ctrl f replace in excel.
Calculation stages have a "Replace" function available from the list under Functions>Text. To my knowledge, there is no standard feature available to do this once text is inside the collection. However, with this "Replace" function you should be able to have the fada/accents removed before the text goes into the Collection stage.
Ultimately I created an excel macro. The bot runs this macro and then reads the file into a collection

Automatic Replace Rule for Word?

I have a Word document which I use for Mailings and it is linked to an Excel file.
Lets say that this Excel file contains a Code (FA139, FA140, etc.) and I would like that the Word Document replaces the code with a string of text every time within the mailing feature. This means, that when I click next, it shall get the code from the Excel File and replace it with the text.
It is not purpose of the question to modify the excel file, but do all necessary changes (if possible) in the Word file.
All you need is a series of fields in Word coded along the lines of:
{IF{MERGEFIELD Code}= "FA139" "Green"}{IF{MERGEFIELD Code}= "FA140" "Blue"}
or:
{IF«Code»= "FA139" "Green"}{IF«Code»= "FA140" "Blue"}
where 'Code' is the field name.
Note: The field brace pairs (i.e. '{ }') for the above example are all created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practical to add them via any of the standard Word dialogues. Likewise, the chevrons (i.e. '« »') are part of the actual mergefields - which you can insert from the 'Insert Merge Field' dropdown (i.e. you can't type or copy & paste them from this message, either). The spaces represented in the field constructions are all required.

Searching in database as You type in Text Box and auto suggest

I want to fetch result from database as user type any text in text box. i have tried searching various examples and each examples carries code that fetch data from database on ON_load event and bind to data source of Text box, which is not required. I want to search only if i type and as long i am typing the result should get filtered.
In case of Text box data source, result get filtered only by starting characters or results having typed characters at start. i want to filter the results having that "typed characters" at any index of any data source item.
My database query is working fine and fetching result but if i call my function to key press event, the list behave in strange way and close down immediately after showing results and also it is only searching items starting by "Typed characters".
Is it possible to make a text box auto completion in this way?
any help or guidance will be appreciate.
Thank you.

OR query in eWAM - picker

So in a picker in eWam / wynsure the field usually gets passed directly to some sort of OQL statement.
Hence, if I want to search for a field whose value ends in "asdf", I enter "%asdf" into the picker field.
My question is thus: from the picker, is there anyway to specify 'I want all entries that end in "asdf" OR "qwer"'?
If not, I would recommend that this become a feature as it would be very useful to be able to enter all that right in the text field.
There is currently no way to search multiple strings in a single field beyond using wildcards. One can do this easily by creating multiple fields in the picker.
Alternatively one could customize the picker as follows:
use a presearch string (that the user fills out),
parse that string for some element (like a pipe),
Break the string up and put each part in to off screen search variables.
You are still using multiple fields, but the user get's a different experience. Keep in mind the dangers of parsing out the user input, using something like or would work out very badly splitting up words, & could show up in a company name...

Update fields on form from fields on another (Lotus Notes)

I have a list of printers stored in a printer keyword section that have fields like the serial of the ink they use for each of their colours and such. I want to make it so when I create a new user form and say that they have "X" Printer, it will grab that keyword form and pull all the ink types that it uses and save itself on the user form.
#GetDocField is the method I know I have to use but I do not know how to acquire the correct form saved from a list of forms based on a selection I make on which printer the user has.
Use #DbLookup to get the data from printer documents.
FIELD ink1 := #DbLookup(""; ""; "viewPrinters"; "XPrinter"; "ink1"; [FAILSILENT]);
The line above reads item "ink1" in printer's "XPrinter" document in view "viewPrinters" in current database and writes it to item "ink1" in current document. You would copy every field this way. The view "viewPrinters" has to to have a first sorted column with the printer names.
It might be more efficient to define all fields you want to grab in a column separated by a special character and get them all at once with
FIELD allFields:= #DbLookup(""; ""; "viewPrinters"; "XPrinter"; 2; [FAILSILENT]);
You can stay with #GetDocField too if you read the document ID of your printer document:
_docId := #Text(#DbLookup(""; ""; "viewPrinters"; "XPrinter"; "";
[RETURNDOCUMENTUNIQUEID]));
#If(#IsError(_docId); #Return(""); "");
FIELD ink1 := #GetDocField(_docId: "ink1");
It might be even more efficient to use LotusScript instead. But i assumed from your question you prefer a formula solution.

Resources