Solved

Retrieved CR Selected Data

Posted on 2007-04-01
4
191 Views
Last Modified: 2013-12-25
Hi,

I know that I asked this question before, and I was told that it's impossible to be done. But, here are some reply i have from Business Objects Support:

*******************************************************************************************************************************
Please note that it is not possible to directly edit the data which is in the Crystal Report by selecting the row and column at the runtime.


Please note if you click on a particular data which is in the Crystal Report, you can get the selected data by clicking on that data. This means that you can get the selected data which is in the report.


Please note you cannot directly modified the data, instead
1) You can select the data first.
2)  Get the selected data.
3) Use VB code to get the selected row from the database using "where condition".
4) Update the selected row using the VB code into the database.
5) Again assign the changed database to the report.


Please note that you can add database fields at runtime, you can change the database at runtime, you can modify the record selection, you can modify the formulas, groups, etc...


But, you cannot directly modify the data which is in the Report. You have to use VB code to update the data into the database.


Please note you can get the value of the selected data in the report when you click on the specific data.
****************************************************************************************************************************

From the reply, seems like it is possible for VB to retrieve the CR selected data. Any idea on how to handle this? Please...thanks.
0
Comment
Question by:cybeh
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
RickJ earned 500 total points
ID: 18835141
You can do it using the click event of the viewer.
I did it a while ago in Delphi, cant find the source right now...
But here is an example in VB
http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do;jsessionid=3E9F15060ADC97A6891DA9C58D241EA1?cmd=displayKC&docType=kc&externalId=c2006521&sliceId=&dialogID=360384&stateId=1%200%20356275

Show the value of the item clicked on.
0
 
LVL 22

Expert Comment

by:Ido Millet
ID: 18835376
Can you explain why you wish to do this (I've solved very similar use scenarios but the first step is to know what you are actually trying to achieve for the user).
0
 
LVL 1

Author Comment

by:cybeh
ID: 18836010
Simple reason, I would like my VB application will auto navigate to the selected records.
0
 
LVL 8

Expert Comment

by:RickJ
ID: 18839961
Thanks,
Glad to help.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB.NET return row from SQL to DataSet and get column values ? 3 49
how to Classify of email (pdf attachments) 7 35
get row value in vb.net 4 14
Sum of multiple formulas 6 17
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question