Error Occured ..."Creation Feature Not Enabled" ...Crystal Report 9.2 Advanced

Posted on 2005-04-07
Last Modified: 2008-01-09
Crystal Report 9.2 Advanced ....Error Occuring "Creation Feature Not Enabled" why how to solve that...

Dim fld As FieldObject
Dim strCnn As String
' Open the data connection
 Set cnn1 = New ADODB.Connection
    strCnn = "Provider=MSDASQL;Persist Security Info=False;Data Source=Xtreme Sample Database9;Mode=Read"
    cnn1.Open strCnn

    ' Create a new instance of an ADO command object
    Set datcmd1 = New ADODB.Command
    Set datcmd1.ActiveConnection = cnn1
    datcmd1.CommandText = "Customer"
    datcmd1.CommandType = adCmdTable

    ' Add the datasource to the report
    m_Report.Database.AddADOCommand cnn1, datcmd1      '----->Error Occured ..."Creation Feature Not Enabled"

    ' Add a new field object to the report and set the field object to use
    Set fld = m_Report.Section3.AddFieldObject("{ado.Customer Name}", 0, 0)          '---->Error Occured ..."Creation Feature Not

in crystal reports example "ADO Connection Methods" this error is also comming.....
Question by:shurid
    1 Comment
    LVL 13

    Accepted Solution

    The AddADOCommand method is part of the Report Creation API.  Without the specific RCAPI license, or an Advanced Developer version, you can't use anything that's considered part of the RCAPI.  In CR 8.5, you could at least test the RCAPI calls, but you'd get a nag screen.  With CR 9, you can't use them at all - even in testing - without a valid license.

    The same behavior occurs with CR 10 Developer, but not with the Developer version of CR XI (they have removed some of the licensing contraints).


    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Suggested Solutions

    Introduction While answering a recent question ( in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
    If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
    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…

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now