Hi,
I'm using Stimulsoft Reports.NET and want create a report where I've to split a string.
The database is a MS Access-DB. So, Access normally don't support the function 'split' in a statement/query, but you can write your own split-function(vba) to use it in a statement/query.
I write my own function and it works how I want it. My problem is now in the report, stimulsoft search for this function and don't find it.
So, how can I use the SQL-Split function (in the statement) in Stimulsoft and/or how can I use the function within the Access database.
thanks in advance!!
How to use split function in SQL Statement with MS Access DB
How to use split function in SQL Statement with MS Access DB
- Attachments
-
- StimulsoftTest.zip
- The database should be in the "C:\Users\Public\Documents" directory
- (17.79 KiB) Downloaded 326 times
-
- Report.mrt
- (26.83 KiB) Downloaded 307 times
Re: How to use split function in SQL Statement with MS Acces
Hello.
As a way you could write your split function in the report on the Code tab in the Designer. Thank you.
As a way you could write your split function in the report on the Code tab in the Designer. Thank you.
Re: How to use split function in SQL Statement with MS Acces
Hi Aleksey,
thank you for your answer!
That's good, but how can I use this function in my statement/query in stimulsoft (please see the statement of "Query" in the Access-DB)?
I always get the error "undefined function 'Split' in expression"
thank you for your answer!
That's good, but how can I use this function in my statement/query in stimulsoft (please see the statement of "Query" in the Access-DB)?
I always get the error "undefined function 'Split' in expression"
Re: How to use split function in SQL Statement with MS Acces
Hello.
Your function is running by Access.Application object which is not created when report engine is connecting to the Base using ADO.
So it's impossible to use your function in the query.
Thank you.
Your function is running by Access.Application object which is not created when report engine is connecting to the Base using ADO.
So it's impossible to use your function in the query.
Thank you.