CallHbFunc
good Afternoon
So I have a function that does a search on my database. Thanks to CALLHBFUNC command I can use it in FASTREPORT.
When I do a simple search, passing only one parameter to my function returns me the correct value. When I have to pass a double parameter, COD + TIP, my function returns the empty value.
example:
[CallHbFunc ('Search', [["100" + <Group of Produto."PRO_FAMCOD">], 'TABARRAY', 'TAB_NOM', 'Code'])] it returns blank.
[CallHbFunc ('Search', [[<Group of Produto."PRO_FAMCOD">], 'TABARRAY', 'TAB_NOM', 'Code'])] - it returns correct.
I need to pass the parameter 100 (of character) to find the correct value in my database "TABARRAY."
My search function has the following parameters.
1 - the variable
2 - Database
3 - what field of return.
4 - Index
Thanks for the help.
Diogenes A. Gutierrez
Brazil - SP
So I have a function that does a search on my database. Thanks to CALLHBFUNC command I can use it in FASTREPORT.
When I do a simple search, passing only one parameter to my function returns me the correct value. When I have to pass a double parameter, COD + TIP, my function returns the empty value.
example:
[CallHbFunc ('Search', [["100" + <Group of Produto."PRO_FAMCOD">], 'TABARRAY', 'TAB_NOM', 'Code'])] it returns blank.
[CallHbFunc ('Search', [[<Group of Produto."PRO_FAMCOD">], 'TABARRAY', 'TAB_NOM', 'Code'])] - it returns correct.
I need to pass the parameter 100 (of character) to find the correct value in my database "TABARRAY."
My search function has the following parameters.
1 - the variable
2 - Database
3 - what field of return.
4 - Index
Thanks for the help.
Diogenes A. Gutierrez
Brazil - SP
Comments
Google group for discussions - http://groups.google.com/group/fastreport_..._harbour/topics