system.argumentException; Column 'id ' does not belong to table T

D

douglas

I am taking to figure out how to solve this problem:

I am getting the error "system.argumentException; Column ' ' does not
belong to table Table. At System.Data.GetDataColumn( string columnname0
at system.data.datarow.get_item(string columnName).

This error is occuring right after I get the parametervalues in the report
object of the Crystal report by woring with a vb.net 2005 windows form
application.
The code that is used is:
repDoc.SetParameterValue("@1d1", 91334)
repDoc.SetParameterValue("@id2", 0)

The value for the first paramter @1d1 value to the crystal report version
11 is correct. However, when trying to access the second parameter value to
the crystal report @id2 value is not correct.

Can you tell me what is causing the problem?

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top