Quantcast
Channel: Active questions tagged return-value - Stack Overflow
Browsing all 207 articles
Browse latest View live

Return the contents of an EXEC from a stored procedure

I have the following which returns a string produced by the EXEC in the output when running the stored procedure directly but I need to pass this string back to a calling stored procedure.This stored...

View Article


Odd Excel Search

I'm stumped. I need Excel to look at the value in M2 and find an exact match in column K. When it finds an exact match in column K, I need it to copy the contents of the cell 3 to the right of the...

View Article


How to get return value of Invoke-Expression in Powershell

So this is my code$result = Invoke-Command -Session $session -FilePath $ps1How do I get the result given by $ps1?The code of that function is supposed to give a true false result like in the...

View Article

How do I Exit a Process if a Child Fails?

The program I'm working with requires a secondary executable to run (for asset compression). For error handling reasons, I need the return value of the child process. According to the system man...

View Article

Returning current URL in WordPress

I am trying to implement canonical and hreflang tags in WordPress, but I cannot retrieve the current URL of the visited page.I tried :<?php echo site_url(); ?>But it returns...

View Article


Mysqli num_rows() returns nothing/null after executing INSERT query [duplicate]

I´ve read many topics with the same problem, but neither of any solved my problem.I´ve got following code: $connection = mysqli_connect('...');if(mysqli_connect_errno()) { die('Connect...

View Article

Typescript Json get value [duplicate]

I'm getting from api {"bmw":[{"year":2022, "color": "black", "perfs":{"bmw":{"model": "x5", "county": "Germany"}}, "price":35000}]}How can I get the values of the model and country by the typescript,...

View Article

How to get the value in a rich text field in Dynamics 365

I am trying to return the string value from a rich text field in Dynamics 365 using a javascript function. This does not work the normal way since the field is formatted to rich text and instead...

View Article


Directly access element by index from explode()'s returned array [duplicate]

How can I get the following code to work?$a = explode('s', $str)[0];I only see solutions looking like this:$a = explode('s', $str);$a = $a[0];

View Article


Retorno do método save() do JPA Repository retorna as classes de composição...

Criei a seguinte entidade e DTO:@Entity@AllArgsConstructor@NoArgsConstructor@Datapublic class Lancamento {@Id@GeneratedValue(strategy = GenerationType.AUTO)private long...

View Article

Get return value from stored procedure

I'm using Entity Framework 5 with the Code First approach. I need to read the return value from a stored procedure; I am already reading output parameters and sending input parameters, but I don't know...

View Article

Function output recursion

please tell me how to rework the function so that its output is the opposite. When entering the value -105, it should output (7 5 3), but for me it outputs (3 5 7).#include <stdio.h>void...

View Article

How i can find missing values in column and convert them into null in...

Missing values were incorrectly entered as zeroes, and i need to change them to null values before look for trends. The code i am using to do this is returning an error message. How to solve thisHow to...

View Article


How do I look up all the instances of a word in one column and return the...

I am building a teacher roster that I can use to quickly know which of my guild members are able to teach any particular class. I'm sharing the link to a sample spreadsheet.In Col A, you can see what...

View Article

php built-in function is return value or print the value? [closed]

is the built-in function return value or just print the value?we have built-in function like str_repeat() does the value is returned or just printedwhen we implement the func should we return the value...

View Article


Return value in a Bash function

I am working with a bash script and I want to execute a function to print a return value:function fun1(){ return 34}function fun2(){ local res=$(fun1) echo $res}When I execute fun2, it does not print...

View Article

how do I get a complicated python function with nested functions inside it to...

I am trying to create a combined set of functions (so functions inset in other functions) to create an input field using Python play. I want this input field function to be fully standing on its own....

View Article


How can I use the result of a function which has multiple return types,...

This question is in the context of Python 3.12 (so, making use of the latest type hinting features of the language) and the current version of mypy for static type checking.Consider the example...

View Article

how to get value from an input

I would like to retrieve the start and end date value and apply it to two other date fields<Formik initialValues={{ date_debut: '', date_fin: '',validationSchema={SubmitFormValidation}...

View Article

What would return if you sent a string value in parentheses next to another...

Im reading some psuedocode and im really rusty/not very knowledgeable on programming. In a funtion though its asking what would return for something like "return String2(String1)" where say string1 is...

View Article
Browsing all 207 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>