Change textfield on BUTTON at runtime

I have a movieclip in my symbol library named "sButton",
inside this symbol there is a textfield named "tLabel".
when I attach this clip at runtime...
this.attachMovie("sButton", "mcNew",
this.getNextHighestDepth());
... I am able to change the label inside the movieclip
with...
this.mcNew.tLabel.text = "some new label text";
Now when I change the symbol type from 'movieclip' to
'button', I can't change the textfield contents anymore... the
compiler accepts the code, but at runtiime the textfield is not
changed. Is there a way to address the elements of a button symbol
at runtime
Thanks,
P

Hi Priyanka,
Did you check, whatever be the suggestion you have given?
Whenever be i am selecting Select list option in Emp_Name then it is asking for LOV. Select Emp_Name from emp and select Emp_Name, Emp_ID is not woking after setting the Source Type:"SQL Query" too.
I took List of LOV and try to do the same thing in EMP_ID as you suggest but it is not woking as it is executing only first time not at run time.
Any way thanks for you help and time.
I got the solution of this problem. And it is working.
Thanks,
Ishrat.

Similar Messages

  • Setting default alert button at runtime

    Setting default alert button at runtime
    Sometime I want Button1 to be default and sometimes I want Button2 to be default.
    Please tell me how to change the default button at runtime.
    Thanks
    Claus Hansen [email protected]

    Beware of a slight bug in at least some versions. If the user dismisses the alert using the [X] close window control it fires a particular button which is not neccesarilly the default one. I always ensure that I make the default button the one which the control fires.

  • How can I change the state of a runtime menu item programati​cally?

    Using LabView 6.1, I would like to change the state of the runtime menu item "Operate/Print at completion".
    The goal here is to print the VI front panel according to the operator choice (OK ->print, Cancel ->don't print)
    In a first release, I put a Stop function at the dialog output (activated by the cancel button) but this function stop the complete application and my idea where to stop only the VI in which the dialog is running.
    In a second release, I've tried to use the "Application
    control/Menu" but I receive every time an error:
    Error 88 occured at Cannot modify application menu item in the printtest.vi.
    Possible reasons: LabView, Runtime menu error...
    Any suggestion is appreciated.
    Re
    gards,
    phidu

    Instead of using the print at completion option, print the VI programatically if the user selects to print...open a reference to the VI you want to print and use an invoke node to print vi to printer.
    Alternatively create another VI with a layout optimized for printout, set it to print at completion and run and load the data into that VI if and only if the user OKs the print...
    Mads
    MTO

  • Adjust position and size of textField and button...

    Dear All,
    I have the following sample program which has a few textFields and a button, but the positions are not good. How do I make the textField to be at the right of label and not at the bottom of the label ? Also how to adjust the length of textField and button ? The following form design looks ugly. Please advise.
    import javax.swing.*; //This is the final package name.
    //import com.sun.java.swing.*; //Used by JDK 1.2 Beta 4 and all
    //Swing releases before Swing 1.1 Beta 3.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.text.*;
    import javax.swing.JTable;
    import javax.swing.JScrollPane;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    public class SwingApplication extends JFrame {
    private static String labelPrefix = "Number of button clicks: ";
    private int numClicks = 0;
    String textFieldStringVEHNO = "Vehicle No";
    String textFieldStringDATEOFLOSS = "Date of Loss";
    String textFieldStringIMAGETYPE = "Image Type";
    String textFieldStringIMAGEDESC = "Image Description";
    String textFieldStringCLAIMTYPE = "Claim Type";
    String textFieldStringSCANDATE = "Scan Date";
    String textFieldStringUSERID = "User ID";
    String ImageID;
    public Component createComponents() {
    //Create text field for vehicle no.
    final JTextField textFieldVEHNO = new JTextField(5);
    textFieldVEHNO.setActionCommand(textFieldStringVEHNO);
    //Create text field for date of loss.
    final JTextField textFieldDATEOFLOSS = new JTextField(10);
    textFieldDATEOFLOSS.setActionCommand(textFieldStringDATEOFLOSS);
    //Create text field for image type.
    final JTextField textFieldIMAGETYPE = new JTextField(10);
    textFieldIMAGETYPE.setActionCommand(textFieldStringIMAGETYPE);
    //Create text field for image description.
    final JTextField textFieldIMAGEDESC = new JTextField(10);
    textFieldIMAGEDESC.setActionCommand(textFieldStringIMAGEDESC);
    //Create text field for claim type.
    final JTextField textFieldCLAIMTYPE = new JTextField(10);
    textFieldCLAIMTYPE.setActionCommand(textFieldStringCLAIMTYPE);
    //Create text field for scan date.
    final JTextField textFieldSCANDATE = new JTextField(10);
    textFieldSCANDATE.setActionCommand(textFieldStringSCANDATE);
    //Create text field for user id.
    final JTextField textFieldUSERID = new JTextField(10);
    textFieldUSERID.setActionCommand(textFieldStringUSERID);
    //Create some labels for vehicle no.
    JLabel textFieldLabelVEHNO = new JLabel(textFieldStringVEHNO + ": ");
    textFieldLabelVEHNO.setLabelFor(textFieldVEHNO);
    //Create some labels for date of loss.
    JLabel textFieldLabelDATEOFLOSS = new JLabel(textFieldStringDATEOFLOSS + ": ");
    textFieldLabelDATEOFLOSS.setLabelFor(textFieldDATEOFLOSS);
    //Create some labels for image type.
    JLabel textFieldLabelIMAGETYPE = new JLabel(textFieldStringIMAGETYPE + ": ");
    textFieldLabelIMAGETYPE.setLabelFor(textFieldIMAGETYPE);
    //Create some labels for image description.
    JLabel textFieldLabelIMAGEDESC = new JLabel(textFieldStringIMAGEDESC + ": ");
    textFieldLabelIMAGEDESC.setLabelFor(textFieldIMAGEDESC);
    //Create some labels for claim type.
    JLabel textFieldLabelCLAIMTYPE = new JLabel(textFieldStringCLAIMTYPE + ": ");
    textFieldLabelCLAIMTYPE.setLabelFor(textFieldCLAIMTYPE);
    //Create some labels for scan date.
    JLabel textFieldLabelSCANDATE = new JLabel(textFieldStringSCANDATE + ": ");
    textFieldLabelSCANDATE.setLabelFor(textFieldSCANDATE);
    //Create some labels for user id.
    JLabel textFieldLabelUSERID = new JLabel(textFieldStringUSERID + ": ");
    textFieldLabelUSERID.setLabelFor(textFieldUSERID);
    Object[][] data = {
    {"Mary", "Campione",
    "Snowboarding", new Integer(5), new Boolean(false)},
    {"Alison", "Huml",
    "Rowing", new Integer(3), new Boolean(true)},
    {"Kathy", "Walrath",
    "Chasing toddlers", new Integer(2), new Boolean(false)},
    {"Mark", "Andrews",
    "Speed reading", new Integer(20), new Boolean(true)},
    {"Angela", "Lih",
    "Teaching high school", new Integer(4), new Boolean(false)}
    String[] columnNames = {"First Name",
    "Last Name",
    "Sport",
    "# of Years",
    "Vegetarian"};
    final JTable table = new JTable(data, columnNames);
    table.setPreferredScrollableViewportSize(new Dimension(500, 70));
    //Create the scroll pane and add the table to it.
    JScrollPane scrollPane = new JScrollPane(table);
    //Add the scroll pane to this window.
    getContentPane().add(scrollPane, BorderLayout.CENTER);
    final JLabel label = new JLabel(labelPrefix + "0 ");
    JButton buttonOK = new JButton("OK");
    buttonOK.setMnemonic(KeyEvent.VK_I);
    buttonOK.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
              try {
    numClicks++;
              ImageID = textFieldVEHNO.getText() + textFieldDATEOFLOSS.getText() + textFieldIMAGETYPE.getText();
    label.setText(labelPrefix + ImageID);
              ScanSaveMultipage doScan = new ScanSaveMultipage();
              doScan.start(ImageID);
         catch (Exception ev)
    label.setLabelFor(buttonOK);
    * An easy way to put space between a top-level container
    * and its contents is to put the contents in a JPanel
    * that has an "empty" border.
    JPanel pane = new JPanel();
    pane.setBorder(BorderFactory.createEmptyBorder(
    20, //top
    30, //left
    30, //bottom
    20) //right
    pane.setLayout(new GridLayout(0, 1));
         pane.add(textFieldLabelVEHNO);
         pane.add(textFieldVEHNO);
         pane.add(textFieldLabelDATEOFLOSS);
         pane.add(textFieldDATEOFLOSS);
         pane.add(textFieldLabelIMAGETYPE);
         pane.add(textFieldIMAGETYPE);
         pane.add(textFieldLabelIMAGEDESC);
         pane.add(textFieldIMAGEDESC);
         pane.add(textFieldLabelCLAIMTYPE);
         pane.add(textFieldCLAIMTYPE);
         pane.add(textFieldLabelDATEOFLOSS);
         pane.add(textFieldDATEOFLOSS);
         pane.add(textFieldLabelUSERID);
         pane.add(textFieldUSERID);
    pane.add(buttonOK);
         pane.add(table);
    //pane.add(label);
    return pane;
    public static void main(String[] args) {
    try {
    UIManager.setLookAndFeel(
    UIManager.getCrossPlatformLookAndFeelClassName());
    } catch (Exception e) { }
    //Create the top-level container and add contents to it.
    JFrame frame = new JFrame("SwingApplication");
    SwingApplication app = new SwingApplication();
    Component contents = app.createComponents();
    frame.getContentPane().add(contents, BorderLayout.CENTER);
    //Finish setting up the frame, and show it.
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    frame.pack();
    frame.setVisible(true);

    Post Author: Ranjit
    CA Forum: Crystal Reports
    Sorry but, i've never seen formula editor for altering position and size. If you know one please navigate me.
    I guess you have updated formula editor beside "Lock size and position" - if yes its not right. There is only one editor beside 4 items and editor is actually for Suppress.
    Anyways, A trick to change size a position is:
    Create 4-5 copies (as many as you expect positions) of the text object. place each at different positions,  right click, Format, Suppress and in formula editor for suppress write the formula: If your condition is true, Suppress=false, else true.
    Position will not change but user will feel; for different conditions -position is changed
    Hope this helps.
    Ranjit

  • Static class to change TextField

    Hi,
    I'm trying to make a static class that will change the text written in a TextField inside a SWF file.
    In this case I have a MovieClip with a TextField inside with a message. I want to be able to make a class that giving this TextField and a message, that will change in the button.
    Certainly that I'm forgetting something obvious, I get the correct trace messages, but the textfield disappears. The initial text is "Start" and I want to change that to "OK". For now I just want to change the text, but after I want to be able to change the text format.
    So far I have this:
    package
              import flash.display.MovieClip;
              public class ChangeTextField extends MovieClip
                        public function ChangeTextField(_textField:Object, _text:String):void {
                        public static function change(_textField:TextField, _text:String):void {
                             trace("CHANGETEXTFIELD " + _textField); //Return "Start"
                             _textField.text = _text;
    In another class I've loaded the swf and it's content is inside a MovieClip so that I can reference it. To change the TextField text I would do something like:
    ChangeTextField.change(okButton.normal.label_tx, "OK");
    trace(okButton.normal.label_tx.text); //Returns "OK"
    By the trace messages everything is doing what it's supposed to do, but the TextField disappears.
    Any idea?
    Cheers.

    That was simple
    Thanks!

  • How to (if possible) change the measfilename variable at runtime

    Hello / Hallo (in Deutsch unten)
    Is it possible to change the measfilename at runtime? I have two HBM MGC+ which need a pretty long time to initialize. Both are installed in a car. For each measurement we make I must run the DAC scheme make the measurements an stop it. Then ich change the filename for the data and we make the next measurements. This takes a lot of time.
    I want to start run the DAC scheme for only one time and let it run. Then I want to trigger the measurements with buttons setting triggerconditions in the DAC scheme. To trigger the recording of the data is not the problem but how can I change the measfilename variable at runtime so that each new measurement is saved in a new file?
    The example with the GenFileName function is interesting but not the solution for my problem...
    has anyone an idea?
    Thanks a lot.
    Sebastian
    DEUTSCH:
    Hallo,
    kennt einer eine Möglichkeit die Variable MeasFileName bei laufender Messung zu verändern? Ich möchte die Messung starten... das Abspeichern geschieht über Triggerbedingungen die von Button im DAC Plan während der Messung gesteuert werden. Ziel wäre für jede neu getriggerte Messung je eine neue Datei mit einem neuen (in der Laufzeit eingebbaren) Dateinamen anzulegen.
    Hat das oder ähnliches schonmal einer gemacht und kann sachdienliche Hinweise abgeben ?
    Danke schonmal.
    Grüße Sebastian

    Hallo,
    ich habe noch ein wenig herumprobiert aber es klappt nicht so richtig. Ich habe noch folgendes versucht: Daten ins Datenportal ablegen und immer nach Ende einer einzelnen Messung per Button eine Autosequenz aufrufen die die Daten in eine Datei schreibt (Dateiname über Dialogfeld eingebbar). Das klappt auch... nur wenn ich dann in der Autoseq. den Datenbereich komplett lösche (DATADELALL) und eine neue Messsequenz starten will stürzt das Messprog. mit Runtimeerror ab. Irgendwie kommt der vermutlich nicht klar damit, dass der Messwertzähler während der Laufzeit wieder auf 0 gesetzt werden muss.
    Eine fortlaufende Speicherung mit anschließender Sortierung wollte ich auch schon machen aber bei fast 200 Messkanälen mit 800Hz häufen sich einfach soviele Daten an, dass die Messdatei riesig werden würde.
    Grüße Sebastian

  • Disabling 'Change' and 'Delete' button in Attachment List in ME52N

    Hi Friends,
    The reuqirement is this:
    A user attaches doucments  ( using the Generic Object Services to attach document ) while creating/changing Purchase Requisition (ME51N / ME52N).
    Now when any user goes to see the docuemnts attached to the PR, he selects the 'Attachement List' from the context menu, he should only be able to read it and should not be allowed to change or delete the document. For this we need to disable the 'change' and 'delete' buttons from the toolbar.
    Awaiting your response.......
    Regards,
    Fawaz

    Hi,
    Probably you have uncommented the call to super class when you reimplement the method on child class (z class)
    I just implement the same thing now and it worked for me. Take a look:
    1 - Modify the SGOSATTR table by SM30, just write a Z class (in my case CL_GOS_SRV_ATTACHMENT_CREATE) .
    2 - Create/inheridt a subclass (not a copy) in SE24 of the standard class.
    3 - Implement the method CHECK_STATUS in the z class. Note that the call to method on super class came commented. You only uncomment if you want to also execute a standard code in the super class.
    Here is my code:
    method CHECK_STATUS.
    NOTE - In my real implementation I have uncommented the code below because I want do standard code be executed before my own check.
    *CALL METHOD SUPER->CHECK_STATUS
    EXPORTING
       IS_LPORB  = IS_LPORB
       IS_OBJECT = IS_OBJECT
    IMPORTING
       EP_STATUS = EP_STATUS
       EP_ICON   = EP_ICON
      Check for BUS2012 = Bussinnes Object for Purchase Order
      IF IS_LPORB.TYPEID = BUS2012
      Check authorization and disable create attachment item if the user does not have authority...
    IF IS_LPORB-TYPEID = 'BUS2012'.
    AUTHORITY-CHECK OBJECT 'Z_MM001' ID 'ACTVT' FIELD '01'.
      IF sy-subrc <> 0.
        ep_status = mp_status_inactive.
      ENDIF.
    ENDIF.
    endmethod.
    Regards,
    Alexandre

  • Disabling 'Change' and 'Delete' buttons in Attachment List in ME52N

    Hi Friends,
    The reuqirement is this:
    A user attaches doucments ( using the Generic Object Services to attach document ) while creating/changing Purchase Requisition (ME51N / ME52N).
    Now when any user goes to see the docuemnts attached to the PR, he selects the 'Attachement List' from the context menu, he should only be able to read it and should not be allowed to change or delete the document. For this we need to disable the 'change' and 'delete' buttons from the toolbar.
    Awaiting your response.......
    Regards,
    Fawaz

    Hi,
    I have solved the issue Alhamdulillah by the foll. method:
    1. Copied CL_GOS_SRV_ATTACHMENT_LIST to ZCL_GOS_SRV_ATTACHMENT_LIST
    2. In ZCL_GOS_SRV_ATTACHMENT_LIST there is a method called: CHECK_STATUS. I overwrote with my check;
    on_mode_changed( 'D' ). --- For display
    on_mode_changed( 'E' ). --- For edit mode.
    3. In SGOS tcode, added VIEW_ATTA to point to ZCL_GOS_SRV_ATTACHMENT_LIST
    Regards,
    Fawaz

  • Acrobat 9.1  Mac How do you change from Radio buttons to Check boxes?

    I have a DMV Form I Downloaded and had to convert to PS then back to PDF (written originally on PC Acrobat was in XML format).
    So on new form, I am able to add fields. I used the the Forms manager to automatically create the fields. Fields that were made Radio Buttons should have been Check boxes. How do change the Radio buttons to check boxes. There are a lot of them and I don't wish to have to re-key them in.
    Suggestions?

    Well when I click on the box it shows a Check mark in the box. That exactly what I need because in the instructions it requires a Check mark in each of the check boxes. Normally the Med form is sent as a paper copy from DMV every two years.
    Also another Tip. A PDF that has XML Content. (PC Acrobat Version).
    If you want a usable PDF on Mac and get rid of the XML do the following:
    Open the XML Based PDF on Mac Acrobat 9.X .
    Now choose export and save as Postscript File (.ps).
    Now locate and drop on Distiller 9.X.
    When PDF created will be a Pristine exact replica of the XML file except Mac Acrobat can edit and create forms with it.

  • Can You Change the Highlighted Button in the Find Font Palette?

    I have several hundred spreads that I converted from Quark to InDesign CC and a few fonts are missing, so I need to replace them. I can use the "Find/Replace" window to take care of most of them using the "find format" function, but one doesn't show up as a choice, so I have to change it using the Find Font palette. I select the missing font name and then select the replacement. Then, if I hit the "enter" button on the keyboard, the palette closes because the highlighted button is the "Done" button. Is there a way to change the highlighted button to the "Change All" one?
    Thanks,
    Lloyd

    John,
    Thanks for the reply. I tried using the tab key and although it does change the highlighted button, you can't just press "enter" to select it. I also tried ALT+A (option+A) and it did nothing. I should have mentioned that I'm using a Mac.
    Lloyd

  • Multiple flash files change when a button click using javascript function

    hi.. am new in flsh...
    i want to multiple flash files change when a button click using a javascript

    <script>
    var count=0;
    function mafunct(newSrc){
        alert("hi");
    var path="a"+count+".swf"; 
    flash+='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" WIDTH="100%" HEIGHT="100%">';         
        flash+='<PARAM NAME=movie VALUE="'+path+'">';         
        flash+='<PARAM NAME="PLAY" VALUE="false">'; 
        flash+='<PARAM NAME="LOOP" VALUE="false">';
        flash+='<PARAM NAME="QUALITY" VALUE="high">';
        flash+='<PARAM NAME="SCALE" VALUE="SHOWALL">';
        flash+='<EMBED NAME="testmovie" SRC="Menu.swf" WIDTH="100%" HEIGHT="100%"PLAY="false" LOOP="false" QUALITY="high" SCALE="SHOWALL"swLiveConnect="true"PLUGINSPAGE="http://www.macromedia.com/go/flashplayer/">';
        flash+='</EMBED>';
        flash+='</OBJECT>';    
    count++;
    alert(path+"aa");
    </script>
    <button onclick="mafunct()">next</button>

  • Change in back button behavior

    We are upgrading from ColdFusion 9 to ColdFusion 11.  We noticed a change in back button behavior.  On pages running CF 9 the back button works, but on pages running CF 11, when clicking the back button, we get a browser "confirm form resubmission" message.  Since it is the same browser, it is clearly a change in ColdFusion.  Does anyone know when the change was made?  Is there a setting that controls the behavior?
    Thank you,
    David

    We should ignore the difference in Coldfusion version for a moment. It might just be that the previous behaviour was incorrect and what you now observe, with CF11, is the correct behaviour.
    A form-resubmit warning is essential. In fact, it can even be vital in certain circumstances. It is telling you that someone, some process or some thread has attempted to resubmit a form.
    In your case, clicking the back button apparently refreshes the action page of the form. This is analogous, in business terms, to repeating an order that has already been placed. The related validation code, queries, etc. will run once again. Obviously an unwelcome situation.

  • How do I change what a button looks like?

    How do I change what a button looks like?
    I have an Arrow button that I want to change into a 'Text' Button.

    "AVG Safe Search" often makes the "Enter" key not work, it may be opening their search in a new tab since they are the ones with the search by that name. Make sure that you do not have that extension see http://kb.mozillazine.org/Problematic_extensions
    Actually there is more than just the one extension that AVG might install, reinstall AVG Free without the Link Scanner component as mentioned in the above link and always refuse additional baggage offered during an install -- AVG Free does not ask in the free version it just includes it and there are no options once installed in the Free version for components..
    Also make sure you don't have the "Ask Toolbar" or other toolbars you did not ask for. see the same link above for Toolbar problems.
    It is definitely an extension that causing the behavior you see.

  • *** Canu2019t Change ServerName or DatabaseName At Runtime In Crystal Report!!!

    Canu2019t Change ServerName or DatabaseName At Runtime In Crystal Report. Why?
    HI thereu2026 This is just a simple Winform(not ASP) with a Crystal Report Viewer control on it that was called by another simple WinForm. Iu2019m trying to simply change the Server Name for a Crystal Report at runtime and it will not let me. Hereu2019s the code below. The database is identical to my development server database. This should be easy to do as I did below. I use SQL Server 2005(SPK 2) and Visual Basic 2008. I use the Crystal Reports 2008 standalone designer(seperate program), not the older one in the VS IDE. When I run the code it accepts changes to the user name and password but ignores any change to the ServerName or DatabaseName. Why?
    Mike in Los Angeles, Calif, USA
    Imports CrystalDecisions.CrystalReports.Engine
    Public Class CrystalReportForm2
        Private Sub CrystalReportForm1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            CrystalReportViewer1.LogOnInfo = New CrystalDecisions.Shared.TableLogOnInfos()
            Dim LogonInfo As New CrystalDecisions.Shared.TableLogOnInfo
            LogonInfo.TableName = "clients"
            'Force crystal report to use a different server AT RUNTIME than the development server!
            LogonInfo.ConnectionInfo.ServerName = "DATASERVER2"    u2018<- ignores changes to this!!
            LogonInfo.ConnectionInfo.DatabaseName = "CMSDATASQL"   u2018<- ignores changes to this!!
            LogonInfo.ConnectionInfo.UserID = "SQL_USER"           u2018<- accepts changes to this!!
            LogonInfo.ConnectionInfo.Password = "34567WERTD"       u2018<- accepts changes to this!!
            CrystalReportViewer1.LogOnInfo.Add(LogonInfo)
            'Testing only below!
            ' MsgBox("ServerName =" & CrystalReportViewer1.LogOnInfo(0).ConnectionInfo.ServerName)
            'MsgBox("DatabaseName =" & CrystalReportViewer1.LogOnInfo(0).ConnectionInfo.DatabaseName)
            CrystalReportViewer1.SelectionFormula = "{openclientsquery.lastname} like  'c*'"
            'CrystalReportViewer1.SelectionFormula = "{clients.clientid} = '1111111'"
            CrystalReportViewer1.Refresh()
        End Sub
    End Class
    Edited by: Mike JJJ on Dec 25, 2008 7:26 PM
    Edited by: Mike JJJ on Dec 25, 2008 7:30 PM

    Yes, you have to simply loop through all the tables in the report and assign each one the same logon info and then reassign the report and refresh the report viewer. No need to use a .Net Dataset here. Eventhough I got the answer myself from studying the Crystal API reference thanks to all that answered! Hopefully this will help others. Mike in Los Angeles, Calif, USA.
    Imports CrystalDecisions.CrystalReports.Engine
    Public Class CrystalReportForm2
        Private Sub CrystalReportForm1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Dim MyReport As New Clients 'Instance of report!!!
            Dim myLogonInfo As New CrystalDecisions.Shared.TableLogOnInfo
            Dim myTable As Table
            For Each myTable In MyReport.Database.Tables
                myLogonInfo = myTable.LogOnInfo
                myLogonInfo.ConnectionInfo.ServerName = " DATASERVER2"
                myLogonInfo.ConnectionInfo.DatabaseName = "CMSDATASQL"
                myLogonInfo.ConnectionInfo.UserID = "SQL_USER"
                myLogonInfo.ConnectionInfo.Password = "34567WERTD"
                myTable.ApplyLogOnInfo(myLogonInfo)
            Next myTable
            CrystalReportViewer1.ReportSource = MyReport
            CrystalReportViewer1.SelectionFormula = "{openclientsquery.lastname} like  'c*'"
            CrystalReportViewer1.Refresh()
        End Sub
    End Class
    PS - Hopefully, in the future Microsoft will improve(and document) its own report control and designer. Right now it's still crude and needs a lot more development to approach the usefulness that the Access Report Designer has. It's rediculous to depend on a third party reporting control(all business programs require reporting) when Visual Studio should have had/built one included from day one.

  • Changing installation path of the runtime? Install by User?

    Hello,
    I'm currently facing a situation where I need to deploy an
    AIR application to users who do not have admin rights.
    I know that AIR does not allow doing that. But I've tested
    that one of the main thing preventing from installing AIR on this
    definite environment is that writing is not allowed to program
    files folder.
    I've run tests using other install packaging tools and manage
    to make it working perfectly by targeting mydoc folder instead of
    program files folder and also by specifying a per user install.
    Everything works fine (even more advanced features not possible
    with the official installer like environment variables, patches...)
    I wonder if there's a way to say AIR to be installed on a per
    user base and to change the path of the runtime installation (this
    may not break the update mechanism because as far as I tested it,
    it just changes app information regarding its path).
    I understand clearly why Adobe do not want to make AIR
    standalone because it is against the entire focus of this
    technology. But I've read that plenty of people are in situation
    where they may use AIR to develop rich software application to
    produce tools internally of a company, without having to go with
    the expensive and time consuming process of going through the
    regular IT installation procedure. On the one hand Adobe may loose
    the advantage of having an entire company making AIR available on
    their computers worldwide, on the other hand they may improve in
    term of AIR latest version adoption and making this technology
    considered lightweight, flexible and useful technology within big
    international companies internal use. (and it may be a step before
    the full adoption within the company?)
    Thank you in advance for giving me the official approach on
    this point.
    Best regards.
    Cedric M. (aka maddec)

    This is a security feature, preventing scripts from accessing the full path of a file to be uploaded using &lt;input type="file">.
    In earlier versions of Firefox, your script might have asked the user's permission to access privileged information, but this feature was removed in the past few versions of Firefox.
    Why do you need the full path?

Maybe you are looking for

  • Lion server SUS not responding/weird behavior

    Hi all, I've a new mini Lion server set up and updated to 10.7.4. Tested most of the services fine and decided to set up its software update service for our Macs in the office. I followed the instruction scattered around on the internet and used Serv

  • Synonyms of sequences not shown in Database-studio 7.7.06.09.

    We use two databaseschema's OWNER + USER. We create the tables and sequences as OWNER. We grant the tables and sequences as schema-user OWNER to the schema-user USER. Then as schema-user we create a synonym for every table and sequence which belongs

  • SAP delivered standard BADI for custom extracts in R3

    Hello Friends, I sthere any SAP delivered standard BADI that can be implemented for custom extracts in SAP R3. Thanks Simmi

  • Soalris 8 x86 and IDE

    I installed Solaris 8 x86 02/02, but later I used the same disk to install other OS, it said the disk geometry is invalid. I have to spend 3 hours to fix the disk. No matter what disk I use (Maxtor 40G, 80G, Quntum), and no matter if I enable DMA, it

  • What should I do when I want to change CS3 to another PC?

    Dear Adobe, I have installed in CS3 to PC "A" before, and now I need to change CS3 to another PC "B". In addition to uninstall CS3, what process or step I have to do? Just like to release the license I have registered before and re-register again in