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

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.....
Who is Participating?
vidruConnect With a Mentor Commented:
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).

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.