• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1082
  • Last Modified:

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.....
0
shurid
Asked:
shurid
1 Solution
 
vidruCommented:
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).

-dave
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now