🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16063

Stupid DataSet question

#16063
From: Erik Hultgren
Date: Wed, 31 Mar 1999 00:00
23 lines
1284 bytes
ok, this is should be a really easy thing to do, but I am tearing my hair
out trying to get it to work..
All I want to do is insert a row in a QueryDataSet(by pushing a button),
but I get errors from the compiler..this is what I have:

      try {
    queryDataSet1.insertRow();
          }
    catch (Exception ex) {
      DataSetException.handleException(ex);
      }

where queryDataSet1 is my QueryDataSet which is properly tied back to a
database...I get the error:
method insertRow() not found in class borland.sql.dataset.QueryDataSet.

Now, the QueryDataSet is derived from dataSet, which has the insertRow()
method, (right?), so why won't this work???


Thanks,
Erik Hultgren
QCS, Inc.
Technical Details
Message-ID: <01be7bbd$2f28f000$850b77d1@hultgren.raex.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,84ef2c148cc56bf0,start
X-Google-Attributes: gidf74b3,public
From: "Erik Hultgren" <hultgren@stratos.net>
Subject: Stupid DataSet question
Date: 1999/03/31
Message-ID: <01be7bbd$2f28f000$850b77d1@hultgren.raex.com>
X-Deja-AN: 461289146
X-Complaints-To: newsabuse@remarQ.com
X-Trace: 922912034.960.72 KHQZIQS5S0B85D177C usenet1.supernews.com
Organization: Posted via RemarQ Communities, Inc.
NNTP-Posting-Date: Wed, 31 Mar 1999 20:27:14 GMT
Newsgroups: borland.public.jbuilder.java.language