What does the FormulaVersion-parameter in Range.Replace do? I tried looking it up in Microsoft's documentation, but the page for Replace doesn't include this parameter.
Based on my limited testing, if you use xlReplaceFormulas then any dynamic array formulas that have a replacement made are converted to use the # operator and no longer spill. Using xlReplaceFormulas2 leaves them as spilling formulas. If you are trying to remove the # operator, you have to use xlReplaceFormulas2 or it just gets put back.
Related
How can I determine if a tree row in Tabulator is expanded or collapsed? I'm using version 4.9, the current. The best I could come up was digging into the implementation details:
row._row.modules.dataTree.open
But I'd prefer something using only the documented API. The best I could come up with was:
row.getNextRow().getTreeParent() === row
// (With special handling when getNextRow() is false)
I don't think there is currently a built-in method to check expanded state. You could row.getElement() and manually check for the dataTreeCollapseElement. You can also create a Github Issue to suggest the addition of one.
You are right to avoid referencing _row, as any properties beginning with an underscore are to be treated as private properties. These are undocumented and could change at any time, and aren't meant to be referenced outside Tabulator's source code.
Need a way to pass a value between to pages using URL query strings if possible. However everytime I add "?customquery=customvalue" at the end it ends up to the 404 page of the website.
I want to basically make it look like this.
https://example.com/somedepartment/sample.nsf/page/hello+world?customquery=customvalue
hello+world is a document that is equivalent to a webpage.
I tried this plus a javascript that collects the strings after the number sign and it works.
https://example.com/somedepartment/sample.nsf/page/hello+world#customvalue
However, I couldn't use the hash sign because they told me not to use it and use another unique symbol instead. I am not aware of any symbols that could work the same with hash sign. If there is, please enlighten me.
Apparently, I was able to find an answer.
https://example.com/somedepartment/sample.nsf/page/hello+world?OpenDocument&RandomParam=sample
Now I could pass values by means of this format. Basically it has to be preceded by "OpenDocument" parameter before putting custom ones.
This documentation also helps: http://www.ibm.com/developerworks/lotus/library/ls-Domino_URL_cheat_sheet/
Trying to create a Search Help Exit (to copy an old one actually).
My problem is that I can't declare Tables parameters for a function module (because they are obsolete and i can't get past the warning) BUT on checking by Function Module, an error tells me that I MUST use TABLES parameters - and every tutorial I found uses this method.
So is there a way to either:
Ignore the warning and use TABLES parameters or
Use CHANGING parameters and have the Function Module know i'm using those instead of the TABLES params?
[EDIT]: Actually the TABLES parameters can be used, it's just that you have to hit ENTER a lot of times
You have to use TABLES parameters in this case, even though they are obsolete - otherwise the calling program (deep down in the SAP basis) would have to be adapted, and that in turn would break all existing value help exits at once. As you said, just keep on hitting the Enter key until you've confirmed all of the warnings.
I managed to place text in my string indicator but what i wish to know is how to add text to it without deleting the previous text. I tried searching the web and i couldn't find anything useful.
You can reuse its value by using a local variable, and input in concatenate strings.
You can use Concatenate Strings to add two different strings to a single one. Then you still can use the first string without any change.
Sample from NI help
For an indicator or control, you can also use the Append String function as follows:
... and then wire the string you want to append to the input of that function:
The net result is the same as using the Concatenate Strings that others have mentioned, but is perhaps more elegant on account of not needing to wire in the original value on the block diagram.
Concatenate strings lets you concatenate multiple strings, and arrays of strings.
The Append String method appears to only let you concatenate a single string to a string control. I'm guessing it is more efficient, and better to use inside a loop.
Is there away to use find() to search for barcode that ends with the last digits 365478 I dont care what is in front
I thought something like this.
$db.find(array('barcode'=>*365478))
but that does not seem to work. am I missing something?
A regular expression of /365478$/ would provide the right filter.
Regex will work but you won't be able to use an index for the query. I'd suggest storing the last 6 digits in a separate field, put an index on it and use that.
This Works Well /$365478/ of course you can use regex but keeping it simple pays off.
You can use a regex for this but you have to store the barcode reversed if you want to be able to use an index (only rooted regex can use an index, see http://www.mongodb.org/display/DOCS/Advanced+Queries#AdvancedQueries-RegularExpressions)
If that is unpractical for you you will have to save the last X digits seperately and do exact matching. If your database is going to be relatively small you might be able to get away without indexing.
the regex should be like this: 365478$
using PHP for eg.
$regex = new MongoDB\BSON\Regex ( '365478$');