Emulator Java ME SDK 3.0 Programming Mobile Development by johnnydarten …(ip); rdthr.run(A); B.STOREDATA(A.RETRIEVEDATA()); try { writedata(B.RETRIEVEDATA()); } catch (IOException ex) { ex.printStackTrace…(ip); rdthr1.run(C); if(B.RETRIEVEDATA()!=C.RETRIEVEDATA()) {textBox3=new TextBox("ERROR",&… need help with this error Programming Software Development by kiko11 … BankDBDriver.loadDriver(); BankDBDriver.makeConnection(); BankDBDriver.retrieveData(); } } public void retrieveData() { try { stmt= con.… catch(SQLException ex) { System.err.println("RetrieveData: " + ex.getMessage()); } } private… Please help me to solve Programming Software Development by stevelk … System.EventArgs) Handles MyBase.Load RetrieveData() End Sub Private Sub RetrieveData() Try aeps1DataSet = New epsDataSet … Login Details") conn.Close() insertData() RetrieveData() Else 'Dim frmMain As New frmMain 'frmMain… Re: need help with this error Programming Software Development by peter_budo … add new information Line 109 you are calling [icode]BankDBDriver.retrieveData();[/icode] is throwing error. I presume you have another class… above line mistake and you just wanted to call [icode]retrieveData()[/icode] that is on line 112? Re: need help with this error Programming Software Development by kiko11 that is only retrieveData(); i forgot to delete the BankDBDriver. before retrieveData(); Re: need help with this error Programming Software Development by mKorbel again that's nothing to do with GUI 1/ GUI in this form is Static, you are able to change it/set by method public void retrieveData() {, debug that and check which JComponent generated java.lang.NullPointerException 2/ hint: you have to initialize (set value) for your JComponents (TextComponents) sql query problem Programming Software Development by leo88 …"SerialNoTbl ON FautyScanTbl.ID = SerialNoTbl.ID" dt = AccessDb_Cmd.RetrieveData(SQLStr, Access_Db).Tables(0) [/CODE] the retrieve command method: [CODE…] Public Function RetrieveData(ByVal Cmd As String, ByVal mTrans As SQLClass) As DataSet… unexpected T_VARIABLE Programming Web Development by Stefano Mtangoo ….php'); die("Illegal action, contact admin!"); } } } public function retrievedata($conn, $table){ $query = 'SELECT * FROM $table'; $result = mysql_query($query); $row… Warning: Cannot modify header information Programming Web Development by Stefano Mtangoo …;); $db = new Connectdb(); $conn = $db->connect(); $data = $db->retrievedata($conn, 'articles'); if ($db->insertdata($conn, $values)){ echo("… Re: Warning: Cannot modify header information Programming Web Development by almostbob …;); $db = new Connectdb(); $conn = $db->connect(); $data = $db->retrievedata($conn, 'articles'); if ($db->insertdata($conn, $values)){ header('Location… Edit/Delete an article Programming Web Development by Stefano Mtangoo … $db = new Connectdb(); $conn = $db->connect(); $article = $db->retrievedata($conn, 'articles'); //loop in the result while ($row = mysql_fetch_object($article… PHP Variables into CSV format (not a csv file) Programming Web Development by benhowdle89 …;updatePachube ( $url, $data ); $pachube->debugStatusCode($update_status); $csv = $pachube->retrieveData ( $url ); echo "<br />"; echo "<… Re: PHP Variables into CSV format (not a csv file) Programming Web Development by benhowdle89 …;.$numrows1; $update_status = $pachube->updatePachube ( $url, $data ); $csv = $pachube->retrieveData ( $url ); $array = explode(',', $csv, 5); $value = $array[0]; echo $value… Read data from database table Programming Software Development by leo88 … IDTbl.ModelID,WIPTbl.WIP FROM IDTbl,WIPTbl"; dtPartNo = AccessDb_Cmd.RetrieveData(SQLStr, Access_Db).Tables[0]; FileStream fs = new FileStream("c… DataTable problem Programming Software Development by leo88 …,FautyScanTbl"; SQLStr = "SELECT * FROM ScannedPartNoTbl"; myTable = AccessDb_Cmd.RetrieveData(SQLStr, Access_Db).Tables[0]; string[] array = new string [20]; int… Passing object array parameters to string Programming Software Development by leo88 … = new DataTable(); string SQLStr = ""; // sql query dt = AccessDb_Cmd.RetrieveData(SQLStr, Access_Db).Tables[0]; string c1,c2,c3,c4,c5… JTabel AddRow() and rowRow() methods are giving an error in netbeans Programming Software Development by Ashley256 … is a snippet of the code block [CODE] private void RetrieveData () { try { int row = tmodel.getRowCount(); while(row > 0) { row… Re: JTable & MS Access Programming Software Development by Bugaya … c; } //****************************************** static Connection theConn; // public static String sql; public void retrieveData(String sql ) { try { // connection to an ACCESS MDB theConn = MyConnection… Re: PHP check variable change Programming Web Development by benhowdle89 …"; $pachube = new Pachube($api_key); $feed = xxxxx; $data = $pachube->retrieveData ( $feed, "csv" ); $array = explode(',', $data, 5); $value = $array… Re: PHP check variable change Programming Web Development by rajarajan2017 …"; $pachube = new Pachube($api_key); $feed = xxxxx; $data = $pachube->retrieveData ( $feed, "csv" ); $array = explode(',', $data, 5); $value = $array… Re: retrieve data from SQL tables Programming Web Development by Violet_82 … a screenshot of the Overview page as it is now) ![retrieveData.jpg](/attachments/large/2/db29cefe14f45752efed812feda3d598.jpg "align-center"… Re: need help with this error Programming Software Development by peter_budo Connection at line 115 is null because you did only call methods to establish connection, but never actually assigned to the one that you declared on 30. You just call for it with [code]BankDBDriver.loadDriver(); BankDBDriver.makeConnection();[/code] but that connections stays in your BankDBDrviver class. Give makeConnection() method return type of… Re: need help with this error Programming Software Development by mKorbel error(s) comings just from dbConnection, GUI is correct, Re: need help with this error Programming Software Development by kiko11 how should i do that it gives me an error because the makeConnection() method has void result type Re: need help with this error Programming Software Development by kiko11 the connection that i am using with my inserting gui to database and selecting gui to database are the same... but only the inserting gui is running without the same error.. BUT the selecting gui have that error.. Re: Please help me to solve Programming Software Development by kvprajapati Welcome stevelk. Please read [URL="http://www.daniweb.com/forums/announcement58-3.html"]http://www.daniweb.com/forums/announcement58-3.html[/URL]. Your source code must be surrounded by code tags. For example, [CODE=VB.NET] Sub How() Dim S as String s="Your source code must be placed with bb code" … Re: sql query problem Programming Software Development by sandeepparekh9 what is the error??? any error code or error text ??????? or screen shot of error?? Re: sql query problem Programming Software Development by leo88 [QUOTE=sandeepparekh9;1581884]what is the error??? any error code or error text ??????? or screen shot of error??[/QUOTE] hi, The program had run to catch statement(line 12) after line 8, then it flow to second catch statement which shows the error "Object reference not set to instance of an object", by the way the trigger of the… Re: sql query problem Programming Software Development by sandeepparekh9 i think you forgot a space. change [CODE] SQLStr = "SELECT FautyScanTbl.Model, FautyScanTbl.Version, FautyScanTbl.WIP, FautyScanTbl.ScanNo, FautyScanTbl.LotSize, FautyScanTbl.SerialNo, FautyScanTbl.PIC," & _ "SerialNoTbl.SetWeight, SerialNoTbl.AccesWeight, SerialNoTbl… Re: sql query problem Programming Software Development by leo88 It is works, thank you very much. But still have problem there, this time it can go to return ds (line 9), when it go to ds.dispose(line 15) in the finally statement, it go to the second catch statement which shows the "Object reference not set to instance of an object", what had happened? I thought just now is because of my query, but I …