I have the problem below.
When I want to get the result with "querystring" from other cell,it just return the string type result.
When I get the "querystring" from B10,it just show the
=filter(B2:B5,B2:B5 = "John")
It's not incorrect,but I want the result "John".
How can I solve it to get the result directly or it need to put double quotation,single quotation at somewhere?
you need to add = in front of the formula
it kind of does not make sense what you ask, however, try to press:
which will trigger formula mode view to on/off
Related
IMPORTDATA("https://min-api.cryptocompare.com/data/price?fsym=DOGE&tsyms=INR")
I have the above given function, and I have to call this function again with different parameters i.e. "DOGE" and "INR" will have to be replaced with a new set of parameters.
But I am not able to figure out how to reference cell within the url here.
Column_Reference The column which has to be iterated over looks like this.
I tried using cell reference directly, string manipulation but it didn't work as it didn't recognise it as a formula.
IMPORTDATA("https://min-api.cryptocompare.com/data/price?fsym=A2&tsyms=INR")
IMPORTDATA("https://min-api.cryptocompare.com/data/price?fsym=LEFT(A2,10)&tsyms=INR")
Please use this formula and drag down
=IMPORTDATA("https://min-api.cryptocompare.com/data/price?fsym="&B2&"&tsyms=INR")
I am having some trouble with this.. I see that we are supposed to be using the property:
predicateForSelectionOfProperty
for determining which properties get 'selected', and I'm actually kind of bummed for there not being a
predicateForEnablingProperty
because I only want phone numbers, for my use case.
That said, nothing I use for predicateForSelectionOfProperty seems to do what I want. What I want is, when I select a contact's phone number, it should call the delegate callback.. but instead, right now, it is calling them!
Maybe I'm just completely missing something, because I would actually rather just have a list of my contacts, with phone numbers, and only show the phone numbers.. maybe I'm not even heading in the right direction with this.
Thanks for any help you can offer!
If you don't want it to call the number, you should:
specify the peoplePickerDelegate; and
implement peoplePickerNavigationController:didSelectPerson:property:identifier:
don't specify a predicateForSelectionOfProperty (or if you do, make sure it returns true, e.g. NSPredicate(value: true))
Obviously, if you don't even want it to show you unrelated information about contacts, specify the displayedProperties array, e.g.
controller.displayedProperties = [NSNumber(int: kABPersonPhoneProperty)]
Alternatively, if you wanted to customize this UI further, you could just use the AddressBook.framework to extract the phone numbers from the address book and present whatever UI you want.
I want to replace some string in my url like this
request.RawUrl.ToString().Replace("sometext566666", "othertest")
but it s not working why is it so?
For example, the original url is like
/sometext4554544454.aspx
and I want it like this
/sometext.aspx
I'm guessing that this is .NET. If so, you should be aware the String.Replace() returns a new string containing the result of the replacement (as do all other methods that purport to modify a string).
So you need to assign the result to a variable or field to hold the result. In some circumstances, you might assign the result back to the same place you obtained the original string from. But you're not allowed to overwrite RawUrl (and, it would be potentially confusing for you to do so).
The statement you are using is working, but you are not assigning the result of the replace function, just executing it.
request.RawUrl.ToString().Replace("sometext566666", "othertest")
If you want to keep the result, you will need to assign it to a string.
e.g.
String result = request.RawUrl.ToString().Replace("sometext566666", "othertest");
Otherwise, you can assign it to the same RawURL but I think that is a URI so you'll need to use a new URI, something like:
request.RawUrl = new URI(request.RawUrl.ToString().Replace("sometext566666", "othertest"));
Nevertheless, I'm not sure if you can actually edit that property.
I have made a custom interceptor to display the error messages in my own format. It is successful to an extent.
But i would like to know can we get label of any textfield directly from invocation object?
Thanks in advance
If your field labels are localized, then yes, you can get the label text. Otherwise, no, since they would just be a string literal in the JSP.
Assuming you have a localized property:
field.firstName = First Name
You can get that from your interceptor using:
LocalizedTextUtil.findDefaultText(
"field.firstName",
invocation.getInvocationContext().getLocale()
);
However, if you provide more details on what you are trying to do, we may be able to offer better solutions.
I don't know whether any out there uses Navision?! but we've recently been lumbered with it and I'm trying to pass a field name dynamically to a function.
Instead of
ModelRec.SETCURRENTKEY(ModelRec.Transmission);
I want to do something like ...
ModelRec.SETCURRENTKEY(ModelRec("FieldName"));
where the string FieldName = "Transmission"
Can anyone point me in the right direction please?
I think you need to write a little more code. In you function, you can say
CASE varFieldname Of
Rec.FIELDNAME(FieldName1):
Rec.SETCURRENTKEY(Fieldset1);
Rec.FIELDNAME(FieldName2):
Rec.SETCURRENTKEY(Fieldset2);
END;
If I understand correctly, you can use: Record.FIELDCAPTION(Field). This will return the name of your field.