How to change the QueryRowSet in early access 2?

hi everybody,
I do know how to change the query but I want to add a condition on a variable got from a text field, and use by button action.
I don't know where to initialize this variable exactly?
provided that the query is created in the session bean.
please, reply as soon as possible.
thanx.

Hi,
The tutorials under the section Access Databases will answer your question. In particular the tutorial "Using Databound Components to Access Databases". These tutorials can be found at:
http://developers.sun.com/prodtech/javatools/jscreator/ea/jsc2/learning/tutorials/index.html
Please post any further Creator 2 EA 2 related queries at:
https://feedbackprograms.sun.com/login.html
Cheers
Giri

Similar Messages

  • How to change the path of an Access .mdb file @ runtime in Visual Studio 2012

    Hello,
      I'm hoping my question is simple enough to merit a quick answer.  I will lay out the details:
      I am writing a WindowsForms App in VB 2012.  I have a Crystal Report that points to an Access .mdb at design time in order to get the proper structure and layout correctly.
      However, during runtime, I need to point to a completely different .mdb file with the same identical structure.  How do I do this?  I've tried everything I could find on the net with no success and mostly because the answers are for C programmers.  I mean, I can pretty much decipher it, but have gotten zero results.
      Thank you for your time.
    -Mike

    ok. The code needs some small modifications.
    I gave it a quick try and here is the InProc RAS SDK code which works for me. Add the assembly references to the app for all those assemblies used in the 'imports' statements in the code.
    Imports CrystalDecisions.ReportAppServer.ClientDoc
    Imports CrystalDecisions.ReportAppServer.DataDefModel
    Imports CrystalDecisions.ReportAppServer.ReportDefModel
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Web
    Imports CrystalDecisions.Shared
    Partial Class _Default
        Inherits System.Web.UI.Page
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Dim ClientDoc As ISCDClientDocument
            Dim logonPb As New CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag()
            Dim table_Old As New CrystalDecisions.ReportAppServer.DataDefModel.Table()
            Dim table_New As New CrystalDecisions.ReportAppServer.DataDefModel.Table()
            'Open the report object to initialize the ReportClientDocument
            Dim rd As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
            rd.Load("C:\Users\Administrator\Desktop\Report1.rpt")
            ClientDoc = rd.ReportClientDocument()
            table_old = ClientDoc.Database.Tables(0)
            'Clone the original table in the report
            table_new = table_old.Clone(True)
            ' Get the connection information from the report document for the first table in the collection.
            logonPb = table_new.ConnectionInfo.Attributes("QE_LogonProperties")
    'set the path for new mdb
            logonPb.Item("Database Name") = "C:\Users\Administrator\Desktop\New folder\efashion1.mdb"
            ' Set a new table for the report, set the old table to the new one.
            ClientDoc.DatabaseController.SetTableLocation(table_old, table_new)
            'view the report
            CrystalReportViewer1.ReportSource = rd
        End Sub
    End Class
    Hope this clears the doubts

  • How to change the fields order by pushing the TAB button?

    Hello.
    I have 4 input fields on a screen that i have build.
    When i'm running the screen, I can move from one field to
    another by the TAB button.
    I need to set a different moving order that is performed by the TAB button.
    For example: the fields are 1,2,3,4. if I use the TAB button to move from one field to another- the order is 1->2->3->4.
    I want it to be 1->3->2->4.
    Is it possible??
    Thanks, Barak.

    Hi Barak Sahar,
    a) set the initial cursor at dynpro level
    b) set the cursor positions dynamically using codeSET CURSOR[/code]
    Here are the online help links I found:
    http://help.sap.com/saphelp_470/helpdata/EN/9f/dbac0b35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_470/helpdata/EN/9f/dba47e35c111d1829f0000e829fbfe/frameset.htm
    Go through below thread...
    How to change the sequence of fields accessed with the tab key on a dynpro;�
    Hope it will solve your problem
    <REMOVED BY MODERATOR>
    Thanks & Regards
    ilesh 24x7
    Edited by: Alvaro Tejada Galindo on Dec 25, 2007 9:13 AM

  • HT1918 Created an apple I'd using a wrong e-mail address. Can't access the e-mail to varify the Apple ID in order to be able to change the account settings. Any idea how can change the account information without having to varify the account through the e

    Created an apple I'd using a wrong e-mail address. Can't access the e-mail to varify the Apple ID in order to be able to change the account settings. Any idea how can change the account information without having to varify the account through the e-mail?

    You are trying to find a loophole to circumvent a basic rule that prohibits the transfer of purchased content from one Apple ID to another.
    Content tied to an Apple ID are bound to that Apple ID forever. You can not merge or trade accounts. Well, not (officially) anyway...

  • How changing the criterion for an access query in java?

    Hi @ all
    I would like to change a criterion for an access-query in java. I know how to run a access-query in java. How can I change the criterion in my access query in java without running the query it selfs? Can anybody help me?
    Thx
    Dario

    I would like to change a criterion for an
    access-query in java. I know how to run a
    access-query in java. How can I change the criterion
    in my access query in java without running the query
    it selfs? Can anybody help me?
    You can't.
    The database processes the query and then returns the result to you. Thus to change the query you must run the query again.
    You can of course add code do do the same thing. But unless it is very simple it is going to take a lot of code and might even be slower than doing the database call.

  • How to change the OraSSO login link in webcache/load balance

    Hi
    we have 10gAsR1 installed as a Portal instance. We have 6-server
    load balancer => webcache as loadbalancer (listening port 80)
    Wb ch1 and wb ch2 => webcache (listening port 7777)
    portal1 and portal2 => Portal listening 7778
    infra =>Infrastruture with repository Portal/Oracle SSO (listening 7777)
    This set up is working fine for our intranet setup, now we need to open this for couple of external clients. Well initially we need to open on the load balancer server on port 80 for external team to access, it works fine when we make it publc access.
    Now when we need to make it SSO (siteminder) enables, when users click on login link it first goes oracle sso then it internally redirects the page to site minder sso.
    Well, I have noted that the sso server details are mentioned in global setting sso/oid details. Since we need to open this for external client we have to add a DNS entry for this so that we can allow its access over firewall..
    Now I have made DNS name change at my infrserver level, now I need to update the change at the load balancer server (where wheb chache is running).
    Any one know how to chang the URL at load balancer.
    I am struck at this point please suggest how should i proceed..
    Thanks,

    Extract from Personalization Guide - Page Footer - Personalization Considerations
    * If you wish to personalize the URL that points to the Privacy Statement for a page that displays a standard Copyright and Privacy (that is, its Auto Footer property is set to true), set the Scope to OA Footer, in the Choose Personalization Context page of the Personalization UI.
    * If you wish to personalize the URL that points to the Privacy Statement for a page that displays a custom Copyright and Privacy (that is, its Auto Footer property is set to false), set the Scope to Page in the Choose Personalization Context page of the Personalization UI. In the following Page Hierarchy Personalization page , identify and personalize the Privacy page element.

  • How to change the default Layout Of the Error Page (to hide Home link)?

    How to change the default Layout Of the Error Page (to hide Home link)?
    If a user want to view some page that he/she don't have access to view it, a error page with this message will be displayed.
    "You do not have permission to perform this operation. (WWC-44131)"
    The error page, have in the Upper right page, Home link and Help link.
    My question is, How to Hide HOME link and HELP link in the Page?
    I try to find the template of the page, but failed to do that.
    Can anybody help?..it urgent.
    Thanks.

    Modifying the error page is not supported in the current release of Portal (9.0.2). You will be able to do this in the upcoming 9.0.2.6 release, planned for the end of May.
    Regards,
    Jerry
    PortalPM

  • How to change the default servcie port number to be checked for the IPS sig

    Dear
    i have an AIP-SSM (IPS) installed in a an ASA firewall.
    i have configured an access-list in the firewall to forward the traffic coming from the internet toward the internal server to be checked by the IPS module.
    but the case is that the services have to be checked is not the default services port numbers.
    http port is 8081
    oracle port is 2006
    and many other services.
    the question now, is how to change the default service number in the IPS in order to be checked by the corresponding service signatures?
    Thanks

    You would set those as part of the signature variables.
    http://www.cisco.com/en/US/docs/security/ips/6.1/configuration/guide/cli/cli_signature_definitions.html#wp1040009

  • How to change the 'Default operating mode' of a mapping on the repository and not from the client

    Hi everybody,
    I am using OWB 11.2.0.3 and under the mapping's configuration property, I have the necessity to change the Run time parameter "Default operating mode" to SET_BASED in almost all my mappings.
    Because I have 745 mappings in which the Default operating mode is different from SET_BASED, instead to open 745 times the 'Configure' and update manually the value, is there a way to update safely these values (with an oracle predefined script) directly on the repository ?
    I know that exists a view called CMPSTRINGPROPERTYVALUE_V based on a table called CMPSCOPrpClasses, but changing this table it's very complicated for me because contains only keys and then I don't know in which way is connected with all the other structures....
    If somebody knows a method more efficient to do these updates on the repository and not from OWB client I will appreciated it!
    Thanks in advance
    Alessandro

    Urgent... help!!! Thanks
    in short, my server log says transaction access mode is "read only", so my calling home.create() always triggers a transaction rollback. How to change the access mode to "read write"?
    Is possible to work out through one of the descriptor files? Or ini settings of the underlying pointbase database? Or any other way around?

  • I recently changed my apple ID but my previous apple ID is associated with my icloud account. I'm setting up my new iphone 6 and cannot complete the set up until I can sync my icloud account. Does anyone know how to change the icloud id?

    I recently changed my apple ID but my previous apple ID is associated with my icloud account. I'm setting up my new iphone 6 and cannot complete the set up until I can sync my icloud account. Does anyone know how to change the icloud id?

    Do the following:
    Make sure you are signed into iMessage and FaceTime with your current ID.  If they are signed into the old ID, go to Settings>Messages>Send & Receive and Settings>FaceTime, tap the ID, sign out, then sign back in with your current ID.
    Then temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  (You should not have to verify the old email account so it doesn’t matter if you no longer have access to it.)  Now go to Settings>iCloud, turn off Find My iPhone and enter your current password when prompted (even though it prompts you for the password for your old ID).  Then go to Settings>iCloud, tap Sign Out and choose Delete from My iPhone when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address back to the way it was.  Now you can go to Settings>iCloud and sign back in with your current iCloud ID and password (your data will download back to your phone).

  • How to change the colour of chart in WAD.

    Hi,
    I have problem with web report. The web report with bar charts used to show with different colours earlier. Now when I execute the web report, the chart displays in single colour (All the rectangular bars in the charts are displayed in single colour say for example red). customer would like to see the chart with different colours. Please put some lights on it how to change the colour of chart in the report.
    Thanks,
    Sravan.

    Hi Krish,
    I have followed the steps which you suggested, but I am unable to see the changes when I execute the web report.
    I could able to see the colour changes to the bars in the chart in the preview (i.e when I select the series 1 and change the colour for series 1 under Area properties). Like that I have done for all the 5 series, then I have clicked on Complete button, saved the web template and executed it, and I could able to see the changes in the preview but not in the report after execution.
    I have two charts in my case, one is <b>Job function</b> chart and the other is <b>Job type</b> chart. The Job function chart is displaying with different colours from the begining, but the job type chart is displays all the columns in RED colour.
    Is there any setting I need to do after selecting the colour at the series level.
    Please correctt me if I am worng in doing the procedure.
    Please update me how to do it...It is usefull if you can come back to me ASAP .
    Thanks,
    Saravanan.
    Message was edited by:
            SARAVANAN PAYANI
    Message was edited by:
            SARAVANAN PAYANI
    Message was edited by:
            SARAVANAN PAYANI

  • How to change the email of the existing nokia acco...

    I have forgotten the password of my existing nokia account password...and can't open the email which is associated with that account because I have forgotten that password too...how to change the existing account email id as I couldn't use the nokia music subscription because of this

    If you have included a verified phone number, you can reset the password of your nokia account by entering your registered mobile number on the Forgot Password site. Once you have reset the password and access your Nokia account, you can now change the primary/associated e-mail address.
    go to account.nokia.com>Sign in account>Personal Information>E-mail address>Edit>Input your password and email address (new email address)> Add. 
    To make it your primary email, under E-mail, click on Edit , select the new email address as your primary email and click on Set as primary.

  • Does anyone know how to change the copy on a pdf made in Indesign?  I don't have that software on my Mac

    Does anyone know how to change the text on a pdf made in Indesign when my Mac doesn't have that software?   Thanks,

    If you don't have access to Acrobat Pro or Nitro PDF Pro,  see this article:
    http://www.labnol.org/software/edit-pdf-files/10870/

  • How to change the images dynamically in a table.

    Hai,
                     How to change the images dynamically in a table based on the condition in webdynpro abap.
    Edited by: Ravi.Seela on Oct 13, 2011 2:17 PM

    This has been much discussed earlier. Do search posts.
    For your scenario i would do the following.
    inside your node which is binded to the table, i create a new node image with cardinality 1 ..1 and a attribute called path of type string.
    create a  supply function for the node image .
    Supply method now has a Element (Parent element ) and node.
    Based on your record in element, set the right image source to path attribute and bind the node.
    This will make sure that the framework calls the image supply function for every row in a table.

  • How to change the source ip address

    hi all,
    i got the problem that how to change the source ip address when i
    get a website's page!
    i mean i want to change the source ip address when i access the
    remote website, sure i know when change the source ip, i can not get
    the result correctly when changing the source ip address, but it is not
    important to get the result i just want to send out a "click" event to the website by calling a post method in the site!
    does anybody have some ideas?
    Best Regards,
    Eric Gau

    Here's some code that connects to google and does a get:
    import java.io.*;
    import java.net.*;
    public class HTTPTest {
        private Socket sock;
        private BufferedReader in;
        private BufferedWriter out;
        private boolean running = false;
        HTTPTest() {
        private void go(String site) {
            try {
                sock = new Socket(site, 80);
                in = new BufferedReader(new InputStreamReader(sock.getInputStream()));
                out = new BufferedWriter(new OutputStreamWriter(sock.getOutputStream()));
                System.out.println("Connected");
                out.write("GET / HTTP/1.1\r\n\r\n");
                out.flush();
                doRead();
            } catch (IOException e) {
                e.printStackTrace();
        private void doRead() {
            running = true;
            String line;
            System.out.println("Read started");
            while (running) {
                try {
                    line = in.readLine();
                } catch (IOException e) {
                    e.printStackTrace();
                    line = null;
                if (line == null) {
                    running = false;
                } else {
                    System.out.println(line);
            System.out.println("Socket closed");
        public static void main(String [] args) {
            String site;
            if (args.length > 0) {
                site = args[0];
            } else {
                site = "google.ca";
            new HTTPTest().go(site);
    }

Maybe you are looking for

  • Adding new column in an existing report which was build using Union

    While working in OBIEE 11g I encounter an issue. My existing report was build using UNION at Criteria Tab in Analysis. Now I have a requirement to add a new column into the same report. For each criteria I have added the new column but when I go back

  • Screen Sharing and Right Clicking

    When Screen Sharing to a Windows PC, has anyone managed to right click in Windows without using a two button mouse? I've tried several key combination such as Shift-F10 but that evokes Expose and I'm not willing to change the default keyboard shortcu

  • ITunes 64 bit  crashes during iphone sync  on windows 7

    This was working fine a couple days ago - my guess is that one of the zillion MS patches killed it.  Now what?  I have uninstalled, re-installed, done all the Compatability checks, etc.  Tried installing the 32 bit version but the installer won't let

  • Share a contact via bluetooth

    hello everyone, stupid question here, i am sure it has already been ask 1000 times but i just cant find it can you share a contact with another iphone/ipod touch VIA bluetooth withou bump or any such app? when i click share contact it opens up emails

  • How to connect to office domain?

    Hi, While the Win Phone works great with connected to the Official Outlook exchange to receive the Official emails timely, while I am in the office I am unable to connect to the same using office WiFi network. The Domain obviously requires a UserName