is that not normal that can be empty(ParamName=Nothing)? please can you give me a hand
aguest
Posts
-
trouble in passing parameter in crystal document -
trouble in passing parameter in crystal documenti just found a property called ParamName and it's equal=Nothing. the other probelm happend with me when i work on windows 7 but when i worked with winXp i dont get this message error.
-
trouble in passing parameter in crystal documentsorry to bother you with an other problem,but now that i moved at home and i working on my pc (OS:windows 7)i got an error message with the same code :
An unhandled exception of type 'System.Exception' occurred in CrystalDecisions.CrystalReports.Engine.dll Additional information: Load report failed.
on this lineimpbonrecepReport.Load(reportPath)
-
trouble in passing parameter in crystal documentI coudnt find any thing cause the error hapend in this line
Dim myParameterFieldDefinition As ParameterFieldDefinition = myParameterFieldDefinitions(PARAMETER_FIELD_NAME)
i looked for numb or name and fieldname but nothing ???? -
trouble in passing parameter in crystal documenti fellowed the first part of this tutorial to set myParameterFieldDefinitions : LINK TO THE TUT and i have in my table(the table linked o the crystalReport Document) field called numb that i assigned it to PARAMETER_FIELD_NAME . and still dont know where is the error ???
-
trouble in passing parameter in crystal documentnow i getting a message error in the next line
Dim myParameterFieldDefinition As ParameterFieldDefinition = myParameterFieldDefinitions(PARAMETER_FIELD_NAME)
this is the error messageAn unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in CrystalDecisions.CrystalReports.Engine.dll Additional information: Index non valide. (Exception de HRESULT : 0x8002000B (DISP_E_BADINDEX))
-
trouble in passing parameter in crystal documenti am getting some trouble with a tutorial that i found on msdn web site : http://msdn.microsoft.com/en-us/library/ms227722.aspx. i would like to pass a parameter to my CrystalReport document,but i would like to send an integer value to my CR document and just one value(because in the tut its sending and array of string values). the code is the fellowing
Private Const PARAMETER_FIELD_NAME As String = "numb"
Private impbonrecepReport As ReportDocument Private Sub ConfigureCrystalReports() Dim myArrayList As ArrayList = New ArrayList() myArrayList.Add(999) Dim numbrecep As Integer numbrecep = 999 SetCurrentValuesForParameterField(impbonrecepReport, myArrayList) impbonrecepReport = New ReportDocument() Dim reportPath As String = Application.StartupPath & "\\" & "ImpBonReception.rpt" impbonrecepReport.Load(reportPath) CrystalReportViewer1.ReportSource = impbonrecepReport End Sub
Private Sub SetCurrentValuesForParameterField(ByVal myReportDocument As ReportDocument, ByVal myArrayList As ArrayList)
Dim currentParameterValues As ParameterValues = New ParameterValues() For Each submittedValue As Object In myArrayList Dim myParameterDiscreteValue As ParameterDiscreteValue = New ParameterDiscreteValue() myParameterDiscreteValue.Value = myArrayList.ToString() currentParameterValues.Add(myParameterDiscreteValue) Next Dim myParameterFieldDefinitions As ParameterFieldDefinitions = myReportDocument.DataDefinition.ParameterFields Dim myParameterFieldDefinition As ParameterFieldDefinition = myParameterFieldDefinitions(PARAMETER\_FIELD\_NAME) myParameterFieldDefinition.ApplyCurrentValues(currentParameterValues) End Sub
i got this error message
An unhandled exception of type 'System.NullReferenceException' occurred in GestionStock.exe
Additional information: La référence d'objet n'est pas définie à une instance d'un objet.in this line
Dim myParameterFieldDefinitions As ParameterFieldDefinitions = myReportDocument.DataDefinition.ParameterFields
can you help me to solve this problem? thank you ps: i am on VS2005 VB.NET -
trouble in passing parameter in crystal documenti am getting some trouble with a tutorial that i found on msdn web site : http://msdn.microsoft.com/en-us/library/ms227722.aspx. i would like to pass a parameter to my CrystalReport document,but i would like to send an integer value to my CR document and just one value(because in the tut its sending and array of string values). the code is the fellowing
Private Const PARAMETER_FIELD_NAME As String = "numb"
Private impbonrecepReport As ReportDocument Private Sub ConfigureCrystalReports() Dim myArrayList As ArrayList = New ArrayList() myArrayList.Add(999) Dim numbrecep As Integer numbrecep = 999 SetCurrentValuesForParameterField(impbonrecepReport, myArrayList) impbonrecepReport = New ReportDocument() Dim reportPath As String = Application.StartupPath & "\\" & "ImpBonReception.rpt" impbonrecepReport.Load(reportPath) CrystalReportViewer1.ReportSource = impbonrecepReport End Sub
Private Sub SetCurrentValuesForParameterField(ByVal myReportDocument As ReportDocument, ByVal myArrayList As ArrayList)
Dim currentParameterValues As ParameterValues = New ParameterValues() For Each submittedValue As Object In myArrayList Dim myParameterDiscreteValue As ParameterDiscreteValue = New ParameterDiscreteValue() myParameterDiscreteValue.Value = myArrayList.ToString() currentParameterValues.Add(myParameterDiscreteValue) Next Dim myParameterFieldDefinitions As ParameterFieldDefinitions = myReportDocument.DataDefinition.ParameterFields Dim myParameterFieldDefinition As ParameterFieldDefinition = myParameterFieldDefinitions(PARAMETER\_FIELD\_NAME) myParameterFieldDefinition.ApplyCurrentValues(currentParameterValues) End Sub
i got this error message
An unhandled exception of type 'System.NullReferenceException' occurred in GestionStock.exe
Additional information: La référence d'objet n'est pas définie à une instance d'un objet.in this line
Dim myParameterFieldDefinitions As ParameterFieldDefinitions = myReportDocument.DataDefinition.ParameterFields
can you help me to solve this problem? thank you -
reaching a database on networkhi i am on my pc on LAN and i woud like to make an application to reteive Data from a database located on the server of the LAN. i am programming with MFC,and i use the class CRecordset,and the method conssit to access to the database from ODBC (with ingres DATABASE), but when i add the the new class (MFC ODBC Consumer),i can't got the tables of the database(because when database is located on same PC,the ODBC give u the hand to show him the path of the database and the table that i would like to work with). can you help me ?
-
problem to get a member fuctions from iteratorhi i am working with VS2003 and i got a problem with accessing to list member functions. i have :
class company { public: CString comapany_name; int Number; list work; public: time_of_work(int ID); company(void); virtual ~company(void); }
and class worker{ public: CString name; int ID; int hours public: get_name(int ID); worker(void); virtual ~worker(void); }
when i try to get the member function from the a company iterator that don't work:list::iterator comp; **comp->.....** it give me just a list of company methods and variables
and if i try the dot('.')**comp.** i can get {iterator, operator+,operator-,operator*,operator= }
how can i get the list of the member functions ? -
Wizard Control in vc++ expresshi i am looking for Wizard Control that allow to make step by step interface.cause i don't find it in the vc++ Express?
-
listview and columnshi i am working with Listview,and when i insert some data in it it range them in many columns,and i would like that arrange them just in one columns with vertical scrollbare to reach the other data in the bottom.
-
TableLayoutPanel and cellshi i am using TableLayoutPanel ,and i have created some rows and columns and i want to work with cells. my problem is that i want to control one cell by changing it color when the cursor in on it.
-
reading from databasehi i just starting using cv++ express and i find a problem with DATABASE reading. i have an access database that i fill it with information ,but i got a problem to read from my database in the other version of vc++ i can use CRecordSet,but with vc++ express its not possible.i am lloking for help to read from my database? thank u
-
reading from databasehi i am programming with vc++ 2005 ,i use an acces database with ODBC.i can add data to the database ,but my problem is to read from my database . is there any idea that can help me ?
-
crystal reports 11hi i got a problem in installing crystal reports 11 it request a file called keycode.dll. can u help me ?
-
X25 networkhello i work in network when we use the X25 protocole to comunicate and i want to make an application to download files from others PCs of the network,and i have no idea how to do that,are there someone who can help me ?
-
execl and VC++hello i have a data base in prolog and i want to transfer it to excell and make some transformation ,i would like to know if there some API or command who can help me in this work?
-
from ASP to PHPi am making a e-trade website and i have for exemple 03 products 1) Product N°1 = 5$ 2) Product N°1 = 10$ 1) Product N°1 = 8$ and when the consumer choise one product one row of matrix will be created in an other page with the name of the product and the price ---------------- product1 / 5$ ---------------- and like that with the second product and the third . and i want to store this session in the PC of the client ,cause the client can delete a product after he choise it.
-
from ASP to PHPthe good in the Dictionary object is that can open a session in the client part(the pc of the client) and you can store the information. in the case that he refresh the page all the information still in his pc ,and that what i am looking for ,and i don't know if i can do that with PHP.