Need help with error msg 1120: Access of undefined property

I am not a coder, so I need coding help. Any help would be greatly appreciated.
I'm doing a Flash banner that has clickTAG instructions from Google. The code they said to put on the button is:
ClickTAG parameter code for ActionScript 3:
import flash.events.MouseEvent;
import flash.net.URLRequest;
someButton_or_displayObject_to_receive_mouseClick.addEventListener(
      MouseEvent.CLICK,
      function(event: MouseEvent) : void {
      flash.net.navigateToURL(new URLRequest( root.loaderInfo.parameters.clickTAG), "_blank");
Replace someButton_or_displayObject_to_receive_mouseClick with the actual name of button that will receive the click.
Note that it's not necessary to specify the destination URL for the ad anywhere in this code; this is taken care of through the usage of clickTAG. Also, depending on the structure of your Flash ad, it may be necessary to prepend "_root." or "_level0." to "clickTAG" above, resulting in "_root.clickTAG" or "_level0.clickTAG". It is strongly recommended to upload the ad into your account and verify that the ad is behaving normally prior to it going live, allowing time for any necessary changes.
And this is the code I put in (btnClickTag is the name of my button):
import flash.events.MouseEvent;
import flash.net.URLRequest;
btnClickTag.addEventListener(
      MouseEvent.CLICK,
      function(event: MouseEvent) : void {
      flash.net.navigateToURL(new URLRequest( root.loaderInfo.parameters.clickTAG), "_blank");
and this is the error I got:
Scene1, Layer 'actions', Frame 1, 1120: Access of undefined property btnClickTag. btnClickTag.addEventListener(

First, make sure you have assigned that name to the button via the properties panel, then, be sure to adjust the code so that it is not spread out over several lines... normally it needs to be on one line.  You should not nest the function in the event listener either, so try the following (no need for the import statements)...
btnClickTag.addEventListener(MouseEvent.CLICK, tagClick);
function tagClick(event:MouseEvent):void {
      navigateToURL(new URLRequest( root.loaderInfo.parameters.clickTAG), "_blank");

Similar Messages

  • Error Code 1120 access of undefined property...help please

    I am fairly new to Flash - I have CS4 and am not sure if I am in the right place to get help.
    I am trying to build a click through gallery with small buttons that you click on and it switches the larger image out as you click through.
    I copied over a gallery I had successfully built with 10 images.  The new gallery has 20 images.
    Basically the movie just runs continuously without being able to click on the thumbnails.
    I am getting the following compiler errors
    Scene1 Layer 'actions', Frame 1, Line 42 1120:Access of undefined property btn11_btn Source - btn11_btn.addEventListener(MouseEvent.CLICK, showimage11);
    I get this for image 11 through 20
    The following is my code
    stop();
    btn1_btn.addEventListener(MouseEvent.MOUSE_OVER, showimage1);
    function showimage1(event:MouseEvent):void {
    gotoAndPlay("label1");
    btn2_btn.addEventListener(MouseEvent.CLICK, showimage2);
    function showimage2(event:MouseEvent):void {
    gotoAndPlay("label2");
    btn3_btn.addEventListener(MouseEvent.CLICK, showimage3);
    function showimage3(event:MouseEvent):void {
    gotoAndPlay("label3");
    btn4_btn.addEventListener(MouseEvent.CLICK, showimage4);
    function showimage4(event:MouseEvent):void {
    gotoAndPlay("label4");
    btn5_btn.addEventListener(MouseEvent.CLICK, showimage5);
    function showimage5(event:MouseEvent):void {
    gotoAndPlay("label5");
    btn6_btn.addEventListener(MouseEvent.CLICK, showimage6);
    function showimage6(event:MouseEvent):void {
    gotoAndPlay("label6");
    btn7_btn.addEventListener(MouseEvent.CLICK, showimage7);
    function showimage7(event:MouseEvent):void {
    gotoAndPlay("label7");
    btn8_btn.addEventListener(MouseEvent.CLICK, showimage8);
    function showimage8(event:MouseEvent):void {
    gotoAndPlay("label8");
    btn9_btn.addEventListener(MouseEvent.CLICK, showimage9);
    function showimage9(event:MouseEvent):void {
    gotoAndPlay("label9");
    btn10_btn.addEventListener(MouseEvent.CLICK, showimage10);
    function showimage10(event:MouseEvent):void {
    gotoAndPlay("label10");
    btn11_btn.addEventListener(MouseEvent.CLICK, showimage11);
    function showimage11(event:MouseEvent):void {
    gotoAndPlay("label11");
    btn12_btn.addEventListener(MouseEvent.CLICK, showimage12);
    function showimage12(event:MouseEvent):void {
    gotoAndPlay("label12");
    btn13_btn.addEventListener(MouseEvent.CLICK, showimage13);
    function showimage13(event:MouseEvent):void {
    gotoAndPlay("label31");
    btn14_btn.addEventListener(MouseEvent.CLICK, showimage14);
    function showimage14(event:MouseEvent):void {
    gotoAndPlay("label14");
    btn15_btn.addEventListener(MouseEvent.CLICK, showimage15);
    function showimage15(event:MouseEvent):void {
    gotoAndPlay("label15");
    btn16_btn.addEventListener(MouseEvent.CLICK, showimage16);
    function showimage16(event:MouseEvent):void {
    gotoAndPlay("label16");
    btn17_btn.addEventListener(MouseEvent.CLICK, showimage17);
    function showimage17(event:MouseEvent):void {
    gotoAndPlay("label17");
    btn18_btn.addEventListener(MouseEvent.CLICK, showimage18);
    function showimage18(event:MouseEvent):void {
    gotoAndPlay("label18");
    btn19_btn.addEventListener(MouseEvent.CLICK, showimage19);
    function showimage19(event:MouseEvent):void {
    gotoAndPlay("label19");
    btn20_btn.addEventListener(MouseEvent.CLICK, showimage20);
    function showimage20(event:MouseEvent):void {
    gotoAndPlay("label20");
    Any advice would be great
    I dont know if I have to start from scratch - which would be a pain for sure
    Thanks

    I feel foolish - I solved my own problem!
    I figured out that I had not given buttons 11 - 20 an instance name
    Once I did that - voila problem solved
    Sorry for bothering you all.

  • Flash CS3 Compiler in Strict Mode errors out 1120: Access of undefined property

    Hi,
    I am following a code example in a book and have the final fla and as files, so I know the project works when fully coded.
    This is my problem:
    In the book, it tells me I can test the movie to make sure that it is working so far. When I do that, I get the error 1120: Access of undefined property.
    The "property" is a component instance. If I take the example completed code and remove everything up to the point I am at, I receive the same errors, so I know it's not a spelling/syntax mistake.
    I have a feeling it is the Compiler in Strict Mode. But, when I change it to Standard Mode, then I get error 5001: The name of package 'com.foundastionAS3.ch12' does not reflect the location of this file. etc.
    So, in the end, I feel if I can't check my code until everything is completely finished, how do I check it as I am working?
    Can someone help?
    Thanks.
    note:: attached is a file of the compiler when it gives me multiple 1120s.

    It's funny. I checked the code from the book, it does not have it imported, but it still works. When I complete the code without the import, it works.
    When I do add the import (which is the first thing I did when the errors were thrown) while building the code, it removes that error, but the same 1120's are there. I checked the properties of the components to make sure they are runtime, and also the properties of the actionscript is runtime, so what is it?
    All of the more complex examples in the book are throwing these errors while building the code. The problem is, how do I check my code while creating it... That's why when I found this post "http://forums.adobe.com/message/2844566#2844566" I replied.

  • Error while updating account: need help with error msg

    Hi all,
    when I try to change the AccountOwner of an Account via Web Service I sometimes get the following error:
    <faultstring>Method 'WriteRecord' of business component 'Account' (integration component 'Account') for record with search specification '[External System Id] = "27446"' returned the following error:"The selected record has already been added to the list. Please add another record or close the pop-up list and continue.(SBL-DAT-00357)"(SBL-EAI-04375)</faultstring>
    Can anyone please help me to interprete this fault?
    Thanks
    Michael

    Looks like you are creating an Account Team member who already exists in the account team vs just updating the Account owner

  • Need help with error message-Element SENDERBUSINESSNAME is undefined in MSG

    Hi,
    I am brand new to ColdFusion and am using a pre-built form for a contact form on a client's site.  I added the additional field business name and must have missed something - any ideas on where I would need to define the element would be appreciated.
    Thanks
    Maggie

    Troubleshooting technique number 1 - look at your data.  In this case, either msg doesn't exist, or it doesn't contain anything named senderbusinessname.  Run the following line somewhere before the error occurs.
    <cfdump var="#msg#">

  • GotoAndStop error 1120:Access of undefined property on MC's loaded from .swc

    I am trying to tell a MovieClip added from a .swc library to do simple things like "gotoAndStop()" and all I get is a red X error message 1120: Access of undefined property whenever I do.
    I can add the MovieClip to the application and position it without any problem. I cannot make it do anything. In my Flash IDE library the CustomCheckBox()'s base class is
    import flash.display.MovieClip;
    import mx.flash.UIMovieClip;
         //  **** TRIED EACH IMPORT STATEMENT AND BOTH**** (NEITHER of which work at all).
    private var _checkPlaylist:MovieClip = new CustomCheckBox();
    private var _checkClassroom:MovieClip = new CustomCheckBox();
    _checkPlaylist.gotoAndStop(1);
    _checkClassroom.gotoAndStop(2);
    I can declare my CustomCheckBox as a MovieClip and in my Symbol Properties panel it's base class is — mx.flash.UIMovieClip — and it shows up just fine. I just can't make the thing stop or do anything else a MovieClip is supposed to be able to do.
    One of the other developers here who is way more advanced than I am also cannot get a ******* movie clip to stop either.
    I am new to Flash Builder — yet have been using Flash and AS3 for years and I have never had a more difficult time getting up to speed with a new technology than Flex / Flash Builder has become for me. I feel stupid that I keep spending days on end just trying to figure out basic things like this.

    I keep answering my own questions. When I added a gotoAndStop command to the referenced MC inside of the init function it stopped throwing that error at me. I was trying to initialize the button states after declaring them as MC variables, but the compiler did not like that.

  • Error, please help? 1120: Access of undefined property event

    I have ActionScript 3 in two frames of my piece. In this 2nd frame, I get an error: "1120: Access of undefined property event" for "myXML=XML(event.target.data);" Can anyone help? I am not sure how to fix this.
    var myloader:URLLoader=new URLLoader();
    myloader.dataFormat=URLLoaderDataFormat.VARIABLES;
    myloader.addEventListener(Event.COMPLETE, guestBookWriteFunc);
    function guestBookWriteFunc(e:Event):void{
              var loader:URLLoader=URLLoader(e.target);
              var vars:URLVariables=new URLVariables(loader.data);
              var url:String="makexml.asp";
                   var sendloader:URLLoader=new URLLoader();
                   var request:URLRequest=new URLRequest(url);
                   trace("xml page created");
    var urlRequest:URLRequest=new URLRequest("makexml.asp");
    var urlLoader:URLLoader=new URLLoader();
    urlLoader.addEventListener(Event.COMPLETE, fileLoaded);
    urlLoader.load(urlRequest);
    //Setting up the XML
    var myXML:XML=new XML();
    myXML.ignoreWhitespace=true;
    var xmlList:XMLList;
    //Setting up the data holder Arrays
    var theUserName:Array=new Array();
    var theUserEmail:Array=new Array();
    var theUserComment:Array=new Array();
    function fileLoaded(e:Event):void{
         myXML=XML(event.target.data);
         xmlList=myXML.children();
         for (var i:int=0; i<xmlList.length(); i++){
              var xmlName:String=xmlList[i].username;
              var xmlEmail:String=xmlList[i].useremail;
              var xmlComment:String=xmlList[i].usercomment;
              theUserName.push(xmlName);
              theUserEmail.push(xmlEmail);
              theUserComment.push(xmlComment);
              if(i==xmlList.length()-1){
                   updateText();
    //Populating the text field to display messages
    var maximumMessages:Number=5;
    var currentMessages:Number=0;
    function updateText(){
         guestText.htmlText="";
         for (var i=currentMessages; i<maximumMessages; i++){
                   guestText.htmlText+=("<b><u>Name:</u></b>" + theUserName[i]);
                   guestText.htmlText+=("<b><u>Email:</u></b>" + theUserEmail[i]);
                   guestText.htmlText+=("<b><u>Comment:</u></b>" + theUserComment[i]);
                   guestText.htmlText+=(".................................");
                   currentMessages=i;
                   myScroller.scrollTarget=guestText;

    You are more likely to get a reply if you ask in the Flash or ActionScript forum.

  • Need help with error message 213:8

    Need help with error message 213:8, this error message prompted after re-installing CS5.5 on the same machine (W7 Pro)
    Thanks.

    Hi TKA_,
    Please try the solutions mentioned on following forum thread.
    http://support.muse.adobe.com/thread/1305941?start=0&tstart=0
    Let me know if it works?
    Regards,
    Sumit Singh

  • Getting the very lovely 1120: Access of undefined property...

    Hi Guys n Gals,
    I’m getting the "1120: Access of undefined property texttwo_mc." error I've done this code before and no issue.
    What I’m doing is simple, click a button and it will go to a movie clip within a movie clip to start the label named "_go", and this error accrued. The MC I’m calling is on the beginning of the timeline.
    Thanks
    BTW for some odd reason my SWF keeps deleting it self, thats on 2 differnt PC's ones CS5 and CS4.

    Hi Ned,
    Ok ill be as detailed as possible.:
    In the main stage I have a MC with a instance name of texttwo_mc, within that i have a mocvie clip "about button" that acts like a button and its on 5 on the timeline.
    The "about button" is not viable till timeline 5 but there's a stop on timeline 1 and it goes to timeline 5 (to make itself viable) when its told to in action scripting. And there's a button on the main stage that makes it go from 1 to 5 in action scripting.
    and thats where the eror is.
    BTW the "about button" is on timeline 1..just not viable till 5.

  • Need help with error: No bootable device -- insert boot disk and press any key

    Hello, I need help will my laptop and the error, the message says "no bootable device ", I have tried taking out the hard drive but it still doesn't work. My laptop is a Satillite C55D-A5372. I need help with this; if you know about this ans know how to fix it please reply or email me @ [email protected]
    If needed more clarifications ask me.
    Thank you,
    Jkmano

    if you got into the bios/uefi and have determined that the hdd is being detected then that is good.  At least the hdd is operating to some extent, although still may be corrupt OS or the like.
    Eagle asked you what OS your using (i.e., Windows 8.1 64-bit, Windows 7 32-bit, etc.).  I see that English is not your native language so we'll just have to work with that as best we can. 
    Did you make any changes to the operating system (OS) as a result of the link you posted, and what were they? 
    L305-S5955, T9300 Intel Core 2 Duo, 4GB RAM, 60GB SSD, Win 7 Ultimate 64-bit

  • Need help with error code 150:30

    need help with finding out what error code 150:30 is and how to fix it

    See the following:
    Error 150:30 - Error "Licensing has stopped working" | Mac OS :
    http://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac-os.html

  • Need help with error: XML parser failed: Error An exception occurred! Type:......

    <p>Need help with the following error.....what does it mean....</p><p>28943 3086739136 XML-240304 3/7/07 7:13:23 PM |SessionNew_Job1<br /><font color="#ff0000">28943 3086739136 XML-240304 3/7/07 7:13:23 PM XML parser failed: Error <An exception occurred! Type:UnexpectedEOFException, Message:The end of input was not expected> at</font><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM line <7>, char <8> in <<?xml version="1.0" encoding="WINDOWS-1252" ?><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <DSConfigurations><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <DSConfiguration default="true" name="Configuration1"><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <case_sensitive>no</case_sensitive><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <database_type>Oracle</database_type><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <db_alias_name1>ODS_OWNER</db_alias_name1><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <db_ali>, file <>.<br />28943 3086739136 XML-240307 3/7/07 7:13:23 PM |SessionNew_Job1<br />28943 3086739136 XML-240307 3/7/07 7:13:23 PM XML parser failed: See previously displayed error message.</p><p>Any help would be greatly appreciated.  It&#39;s something to do with my datasource and possibly the codepage but I&#39;m really not sure.</p><p>-m<br /></p>

    please export your datastore as ATL and send it to support. Somehow the internal language around configurations got corrupted - never seen before.

  • Need help with error

    Need help figuing out why I'm getting the following error
    message trying to launch a training CBT and what to do to fix
    it...?
    Adobe Flash Player Security
    Adobe Flash Player has stopped a potentialy unsafe operation.
    Teh follwoing local application on your computer or netwrok:
    X:\XXXXXX\XXXXXX....\XXXXX
    is trying to communicate with this Internet-enabled location:
    X:\XXXXXX\XXXXXX....\XXXXX
    To let this application communicate with the Internet, click
    Settings,
    You must restart the application after changing your
    settings.

    <itunes:category text="TV & Film">
    <itunes:category text="TV & Film/></div>
    The two lines I've quoted above should be replaced with:
    <itunes:category text="TV & Film" />
    The "TV & Film" category has no subcategories so should be closed on it's own. See the example feed at http://www.apple.com/itunes/store/podcaststechspecs.html#_Toc526931673 which uses the TV & Film category.
    Hope this helps,
    Greg

  • Please help with Error #1009 Cannot access a property

    Hi All,
    I have a simple flash movie where play_btn should go to a label on a timeline where I have a video playing and a stop_btn should go back to a first frame (label "start") and thus give an illustion of stopping the movie.
    I have no problem with the play_btn, however stop_btn doesn't work and when I test the movie I get the following error message:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at FSV_header1_fla::MainTimeline/frame1()
    below is my code - any help is very appreciated!
    stop();
    play_btn.addEventListener(MouseEvent.MOUSE_DOWN, playMovie);
    close_btn.addEventListener(MouseEvent.MOUSE_DOWN, stopMovie);
    function playMovie(event:MouseEvent):void {
        trace("Play!");
        gotoAndPlay("start");
    function stopMovie(event:MouseEvent):void {
        trace("Close!");
        gotoAndStop("stop");
    Thank you!!

    Thank you!!
    I was able to fix it by putting all the buttons on the first frame and toggling visibility on/off. Here's the code:
    stop();
    close_btn.visible = false;
    play_btn.addEventListener(MouseEvent.MOUSE_DOWN, playMovie);
    close_btn.addEventListener(MouseEvent.MOUSE_DOWN, stopMovie);
    function playMovie(event:MouseEvent):void {
        trace("Play!");
        gotoAndPlay("start");
        play_btn.visible = false;
        close_btn.visible = true;
    function stopMovie(event:MouseEvent):void {
        trace("Stop!");
        gotoAndPlay("stop");
        close_btn.visible = false;
        play_btn.visible = true;

  • New to Java and need help with error message!

    I have just installed the oracle jdbc driver and am now getting the following error message when trying to use the jbdc driver instead of the jdbc:odbc wrap driver...
    See com.borland.dx.dataset.DataSetException error code: BASE+47
    com.borland.dx.dataset.DataSetException: Chain of 2 or more Exceptions occurred
         at com.borland.dx.dataset.DataSetException.a(Unknown Source)
         at com.borland.dx.dataset.DataSetException.throwExceptionChain(Unknown Source)
         at com.borland.dx.sql.dataset.q.a(Unknown Source)
         at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)
         at com.borland.dx.sql.dataset.Database.createPreparedStatement(Unknown Source)
         at com.borland.dx.sql.dataset.o.a(Unknown Source)
         at com.borland.dx.sql.dataset.o.d(Unknown Source)
         at com.borland.dx.sql.dataset.o.f(Unknown Source)
         at com.borland.dx.sql.dataset.QueryProvider.e(Unknown Source)
         at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)
         at com.borland.dx.dataset.StorageDataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.open(Unknown Source)
         at com.borland.dbswing.JdbTable.bindDataSet(JdbTable.java:2749)
         at com.borland.dbswing.JdbTable.setDataSet(JdbTable.java:819)
         at myframes.ClaimView.btnSQL_actionPerformed(ClaimView.java:279)
         at myframes.ClaimView_btnSQL_actionAdapter.actionPerformed(ClaimView.java:440)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Chained exception:
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at com.borland.dx.sql.dataset.q.a(Unknown Source)
         at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)
         at com.borland.dx.sql.dataset.Database.createPreparedStatement(Unknown Source)
         at com.borland.dx.sql.dataset.o.a(Unknown Source)
         at com.borland.dx.sql.dataset.o.d(Unknown Source)
         at com.borland.dx.sql.dataset.o.f(Unknown Source)
         at com.borland.dx.sql.dataset.QueryProvider.e(Unknown Source)
         at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)
         at com.borland.dx.dataset.StorageDataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.open(Unknown Source)
         at com.borland.dbswing.JdbTable.bindDataSet(JdbTable.java:2749)
         at com.borland.dbswing.JdbTable.setDataSet(JdbTable.java:819)
         at myframes.ClaimView.btnSQL_actionPerformed(ClaimView.java:279)
         at myframes.ClaimView_btnSQL_actionAdapter.actionPerformed(ClaimView.java:440)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Here is the code causeing the error;
    void btnSQL_actionPerformed(ActionEvent e)
    try
    String GET_DATASET = txtSQL.getText().trim();
    Display("Executing...");
    try
    MyDisplayTable.setDataSet(null);
    catch (DataSetException ex)
    Display("ERROR 1: " + ex.toString());
    try
    queryDataSet1.close();
    catch (DataSetException ex)
    Display("ERROR 2: " + ex.toString());
    try
    queryDataSet1.setQuery(new com.borland.dx.sql.dataset.QueryDescriptor(
    database1, GET_DATASET, null, true, Load.ALL));
    catch (DataSetException ex)
    Display("ERROR 3: " + ex.toString());
    try
    if (!queryDataSet1.isOpen()) {
    queryDataSet1.open();
    catch (DataSetException ex) {
    Display("ERROR 5: " + ex.toString());
    try {
    queryDataSet1.refresh();
    catch (Exception ex) {
    Display("ERROR 5.5: " + ex.toString());
    try {
    Display("setDataSet");
    MyDisplayTable.setDataSet(queryDataSet1);
    Display("DONE setDataSet");
    catch (DataSetException ex) {
    Display("ERROR 6: " + ex.toString());
    Display("Query: ' " + GET_DATASET.trim() + " ' was executed successfully");
    catch (Exception ex)
    Display(ex.toString());
    Please let me know if more information is required. I am completely at a loss as to what more I need to do to get this to work using the new driver.
    Thank you all in advance,
    Malcolm Diaz
    Application Developer
    [email protected]
    PlanVista Solutions Inc.
    419 E.Main St.
    Middletown NY 10940
    845-346-2692

    this is more of a jdbc question rather than an internationalization. You might be able to get more help if you post it in java programming section.

Maybe you are looking for