14-04-21 06:14 PM
Hello Community,
Hope you're fine! Just started to learn applying OLE DB in BP... I've studied online how to configure queries and I think that I'm understanding it well. However, this is not working and BP answers with this error: "Internal: Could not execute code stage because exception thrown by code stage: Invalid argument."
What I want to do is to extract a single column without headers from excel file... Is anything worng in my query? Could you guys help me out here?
Also, if you know some tutorial content that I should see, I appreciate it!
Thanks for your atention,
Rita
14-04-21 06:38 PM
14-04-21 08:59 PM
Hello Pablo,
Thanks for your answer and advises!! I'm working for a company that has its' own OLE DB code, so I can not change it... I thought that I had inserted the screenshot, my bad -.-
I'm doing as you said, "In the query, replace "*" for the column name that you want to ask." But somehow the error stills...
15-04-21 08:01 AM
15-04-21 09:59 AM
Hello Pablo,
I don't know what is going wrong with screenshot... Im'm sorry... but basicaly my query is: "SELECT * FROM [sheetName$]"
The original BO that I'm using of OLE DB has no errors or warnings, so looks that everything is fine...
I have some questions:
1) are these steps really necessary? I haven't found those settings in BP System [- add the DLL reference System.Data.OleDb.dll; - add the Space Name System.Data.OleDb (el de la libreria)]
2)I have created a new BO with Set Connection, Open, Get Collection and Execute. Then added the code that you told me, but it appeared 43 errors... apparently a lot of that code strings are not "declared" and due to the high level of protection... what do you think?
Thanks again for your help!!
20-04-21 12:56 PM