I can access the properties of a bound object within an RDLC report by using an expression such as.
Fields!MyField.Value
How can I access the bound object itself so I can access properties and methods on it?
It seems you can't. Hence I decided to not use RDLC reports.
However, DataDynamics ActiveReports provides several ways to bind to data and make the data accessible from code.
Related
Here is the scenario. Two networks need to talk to eachother. I have an app that has a local database in our environment that the app talks too. It is using bound controls on a datagrid using vb.net. Now we want to move the database to the other network and the only way we can have access is this network is using web services. I have a datagrid that is bound to a database and employee table. The vb.net code using the fill function and dataset embedded sql to display. The save function has code such as me.validate() and .endedit() and then uses the update method to update the database from the grid. I need to strip this out and put it in web methods. What is the easiest way to do this. I know the fill is basically a select statement i can retrieve and return a datatable from the web service, but what would be the easiest way to save from the web method. any ideas would be appreciated. unfortunately this is the way it has to be from the network standpoint.
I've read that the attachment data type in MS Access should only be used if the database will be use within SharePoint.
Could someone recommend an alternative to this data type? I'm developing a database for users to submit entries and they would like the option to attach notes/pictures with some of the entries.
Generally, I find that storing a path to the file you want to attach is the best option, if it is viable.
If they are images, the image control now has a ControlSource property, so you can bind it to a field in the table that contains the path.
When in the 'Modify' mode of a Web-intelligence report inside Business Objects, when using the Formula Editor with an object is it possible to identify the CUID from this in a Web Intellience Report?
I wish to display the CUID on each report, and was hoping there is some variable I can just refer to and it displays accordingly to whatever report I have open.
I don't believe there is a way for this to occur.
The reason is you are looking at 2 different items of data from the way Business Objects is internally structured. The CUID is part of the metadata stored in the repository database, while the data in the Web Intelligence Report (WebI docs) is store in the actual file that resides on the IFRS. When working with WebI docs via the SDK, they are 2 very different objects that are manipulated that relate to these different parts.
It might be possible to work around this using the SDK, but I have not tried it.
Recently found a guide to create universe on top of the BusinessObjects CMS database. Web Intelligence XI 3.x - Reporting off the BusinessObjects Enterprise CMS Via Data Access DDK Once you have the universe for the CMS database, you will then need to bring in all document names and the CUID. Then in the WebI report, you then filter the list of CUIDs using the DocumentName() function.
I wrote a note on CUID... May it help many
http://arkaandbi.blogspot.com/2013/07/a-note-on-cuid.html
I have a dynamic pivot request I would like to present in a report of Reporting Services.
As it is dynamic, the number of columns of the result is variable (as is the name of the columns). How could I create a report showing a table handling this variable number of columns ?
You can also use the Matrix control to pivot the results in the report instead of in the query. This way you don't have to use any custom solution.
You will need to implement a dynamic report definition file. Here is a link that will help you get started. It is a VS Project that dynamically creates a RDLC file with a table, via a datatable. I used it as the base of my current report system.
C# Version
VB.NET Version
If you have any questions about this, let me know. I've been generating RDLC files for quite a while now, and encountered pretty much every issue you could think of :)
I want to create a program that could generate reports from an ms access database and place it on ms word, how can I do that. Please help, I dont have any idea on how to do this.
If you're doing this from vb.net, it seems to me that it would be simpler to automate Word, which has no difficulty utilizing Jet/ACE data as data source. I don't see any reason to involve the Access application in this, unless you have complex logic that needs to be executed within Access to get correct results in Word. For instance, Word doesn't do parent/child data display very well, but Access reports do that very easily.
Another question is the final disposition of the results. It may be that you don't need Word at all, e.g., if you're using Word for nothing more than generating PDFs. In that case, it might make more sense to create Access reports and output those to PDF (there's an add-in available for for A2007, and in previous versions, you can use the VB automatable PDFCreator, which is free).
In short, my conclusions would be:
if you're just merging data in Word from a Jet/ACE data store, then automate Word.
if you need to execute complex logic, it's probably better to automate Access and either output Access reports directly, or automate Word from Access.
In neither case, I believe, would you be automating both Word and Access directly from your VB.NET application.
You should connect to the Access Database using a Typed Dataset.
Right-click the project, click Add New Item, select Typed Dataset, and follow the wizard.
To control Word, add a reference to Microsoft.Office.Word and use the Application class.
You can build reports in MS Access that have the Export to Word functionality built into them.
You can invoke the report from your code and then call the export functionality and give it parameters so that it will export to a .doc file that you name. You can then invoke MS Word and open the .doc file up for display.