StiMobileDesigner - sql with parameters
StiMobileDesigner - sql with parameters
Hi,
I have defined a valid SQL with 2 parameters(@orno, @cntn), added 2 parameters(first one is type text, size 9, second one is type int). In expression, I set expresion to {'100000013'} for a first one and {1} for a second one.
When I clicked "retrieve data", I got a dialog "SQL expressions" that requested parameter values from me. After entering parameter data(don't know why is this necessary?), I see only "wait" image(rotating circle)
If I define SQL without parameters, data are returned without any problems.
Looks like parametrers are not working. Also "expression" field is very small and has no drag/drop possibility to set or link value of parameter.
ver: 2015.2
Rgds,
Frenk
I have defined a valid SQL with 2 parameters(@orno, @cntn), added 2 parameters(first one is type text, size 9, second one is type int). In expression, I set expresion to {'100000013'} for a first one and {1} for a second one.
When I clicked "retrieve data", I got a dialog "SQL expressions" that requested parameter values from me. After entering parameter data(don't know why is this necessary?), I see only "wait" image(rotating circle)
If I define SQL without parameters, data are returned without any problems.
Looks like parametrers are not working. Also "expression" field is very small and has no drag/drop possibility to set or link value of parameter.
ver: 2015.2
Rgds,
Frenk
Re: StiMobileDesigner - sql with parameters
Hello,
Can you please send us your report which reproduce the issue for analysis.
Thank you.
Can you please send us your report which reproduce the issue for analysis.
Thank you.
Re: StiMobileDesigner - sql with parameters
hi,
I can't save dataset with parameters because i get "busy" rolling circle in the middle. Connection to DB is MSSQL. I prepared printscreens: SQL in green (withaout "where" part)executes perfectly and returns data. After adding data, I defined 2 parameters one string and one int. When clicking "OK" I am just getting "busy screen", as on picture: .
After some time(e.g. 5 mins), "busy" screen dissapears without any message.
I can't save dataset with parameters because i get "busy" rolling circle in the middle. Connection to DB is MSSQL. I prepared printscreens: SQL in green (withaout "where" part)executes perfectly and returns data. After adding data, I defined 2 parameters one string and one int. When clicking "OK" I am just getting "busy screen", as on picture: .
After some time(e.g. 5 mins), "busy" screen dissapears without any message.
Re: StiMobileDesigner - sql with parameters
Hello, Frenk.
You shouldn't use Braces {} in Expression.
You should use double quotes when you set string value.
Also we have noticed that the Designer hangs and we need make an improvement.
The fix will be available in our next prerelease build.
Thank you.
You shouldn't use Braces {} in Expression.
You should use double quotes when you set string value.
Also we have noticed that the Designer hangs and we need make an improvement.
The fix will be available in our next prerelease build.
Thank you.
Re: StiMobileDesigner - sql with parameters
when applying fix, can you please add button for selecting expression as is in other designers? It will help a lot.
regarding brackets, I was not sure but I tried all versions(single quoted, double quoted, inside brackets) and neither worked. Thank you for this info.
regarding brackets, I was not sure but I tried all versions(single quoted, double quoted, inside brackets) and neither worked. Thank you for this info.
Re: StiMobileDesigner - sql with parameters
Hello,
The issue is fixed. The fix will be available in the next build at this week.
Also for the string values in the expression you need use double quotes - "100000013"
Thank you.
The issue is fixed. The fix will be available in the next build at this week.
Also for the string values in the expression you need use double quotes - "100000013"
Thank you.
Re: StiMobileDesigner - sql with parameters
can I get this patch immediately, please? It is a showstopper for me.
Re: StiMobileDesigner - sql with parameters
Frank,
Please send a request to support@stimulsoft.com asking for the patch. We will prepare this for you.
Thank you.
Please send a request to support@stimulsoft.com asking for the patch. We will prepare this for you.
Thank you.
Re: StiMobileDesigner - sql with parameters
updated to latest beta. Parametric search now works. Thanks.
Re: StiMobileDesigner - sql with parameters
Hello.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.