How to set the connection parameters for SQL

How to set the connection parameters for SQL to access the MS Access database
Attachments:
Quick_SQL.vi ‏21 KB
Doc1.doc ‏45 KB
db1.mdb ‏112 KB

Right-click the WINDOWS desktop, choose New->Microsoft Data Link. That will bring up a dialog that allows you to configure and test your database connection. You might connect to the Access database via ODBC or directly via Jet Engine. The Jet Enginge saves you the trouble of creating an ODBC connection on your PC. After you leave the dialog, the "data link" will show up on your desktop as text file. Open it and copy-paste the connection string to your VI.
This webpage is an excellent resource for connection strings: http://www.able-consulting.com/ADO_Conn.htm
If your application requires users to change the database connection at runtime, you can also include the dialog via ActiveX (MSDASC.IDataSourceLocator).

Similar Messages

  • SRM 4.0- How to set the default values for product type (01) only for SC

    The radio button “Service” should not be visible.
    Also for search help (e.g. search for internal products) where a search should only be possible for product type 01 (goods). The system should not display the product type and internally always search for goods only.
    How to set the default values for product type (01) only for SC
    We needs to use Search help BBPH_PRODUCT which having parameter PRODUCT_TYPE
    Here we can set defalut value 01 but it is not correct one since same search help is using several places.
    We need to limit the search help results only for SC.
    Kindly help out me ASAP.

    The easiest way to set defautl values is to edit the batch class.
    Goto the characteiristic and go to update values.
    In here you probably have something like 0 - 100 as a spec range.
    On the next line enter the default value within this range.  At the end of the line, click in the box in the column labelled "D".  This indicates the defautl value for the characteristic.
    If you need to you can do this in the material classification view as well.
    Just to be clear, these values will only show up in the batch record.  You can not have defautl values in resutls recording screens.
    FF

  • "I would like to know how to set the default view for the columns. Somewhere I read it could be done in by music icon under Library.  Can't find it.  Thanks

    "I would like to know how to set the default view for the columns that are shown in iTunes. Every time I open it, I have to either go to the options, or right-click to get the pop-up options, and delete "rating" and add "composer." I'd really like to just do it once and be done with it."  Somewhere I read you could do this by clicking on the Music icon under LIBRARY then arramge the columns.  Trouble is, I can't find a Musi Folder or icon in my user library.
    Any help would be appreiated.  OSX 10.9.2  iTunes version 11.1.5  Thanks!!! CW!

    From the iTunes menu bar try View>Show View Options.  Make sure what you want to see is checked and what you don't is unchecked.  You can do this (may need to do this) for any playlists, your main Library, etc.
    Good luck
    srb

  • How to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B

    Hi Friends,
    How to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B.
    External Trading Partner is sending the EDI 856 via AS2 URL to our Oracle B2B Server.
    In the inbound 856 agreement, we have checked the option of Funtional Ack and also Functiona Ack handled by B2B is yes.
    We have the outbound agreement which is sending that Functional ack 997 (auto generated by oracle b2b) and we have specified the Outbound AS2 channel of the Partner.
    997 doc is being sent to external partner using AS2 channel, but the filename is generating as '40101'.
    Please can you let me know how to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B.
    Appreciate your valuable answers!!
    Thanks,
    Amirineni

    Amirineni,
    AFAIK, there is no option to set the file name when the 997 is generated automatically by B2B.
    Alternatively, if this is a must requirement, you can generate the FA from backend and  send to B2B with MSG_TYPE =9. In this case, you can set the header with filename (How to set the actionname property in B2B 11g)

  • How to set the Default values for Info Objects in Data Selection of InfoPac

    Hi All,
    Flat file Extracion:
    How to set the Default values for Info Objects in Data Selection Tab  for Info Package
    ex: Fiscal Year Variant  Info Object having values 'K4' 'Y2' etc  in Flat file
    Initially  default value(not constant)  for this info Object value should be 'K4'  in Info Package
    If I set data selection value for this info object K4 it will retreive records with this selection only? how to handle
    Rgds,
    CV

    Hi,
    suppose as your ex. if you are having fiscalyear variant in the dataselection tab then specify K4 in the from column, again the ficalyearvariant row and click on insert duplicate row at the bottom . you will get another row . In that enter Y2 in the from column. now you can extract K4, y2 values .
    haritha

  • Sun ONE Studio 4 aka Forte: How to set the output path for classes ?

    Help !
    Beginner's question:
    Sun ONE Studio 4 aka Forte:
    How to set the output path for classes ?
    As default, the class files are created in the same directory as the
    sources.
    In opposite, both JBuilder and Together support that there is a tree
    with the sources and another tree with the classes.
    The first answer I got was "not possible with Forte, but just if you write your own "ANT Build script" !
    a) Please point me to a ready-to-use ANT script for this purpose, if such is available
    b) Is using ANT instead of the MAKE as comfortable ? Besides the separation of sourcecode and classes, I would like to keep everything else to be the same, i.e. I don�t want to edit the ANT file if I enlarge the project by directories or files.
    Tia
    Sincerely
    Rolf

    You can set S1S's options to place newly created .class files in a specific location.
    Identify the compiler that is being used - Open the S1S's Tools/Options window, expand Editing and select Java Sources. Note the Default Compiler value. (If it's one if the Ant options, you use Ant to specify this option, not S1S.)
    Open the S1S's Tools/Options window, expand Building/Compiler Types and select the appropriate compiler.
    The Properties tab of the compiler has the property Target, which sets the filesystem where the compiler output is directed. If you choose <not set>, the .class files are written to their source directory.
    When you set the Target, your change affects all classes that use this compiler.
    Very few options can't be set in S1S; the challenge is finding out where they're set!

  • How to set the stack size for alchemy application?

    Anybody know how to set the stack size for alchemy application?
    If you know, please tell me how to adjust the stack size for alchemy application?

    Hi,
    The stack size is set as public const gstackSize in the alchemy generated code.  You can see this if you build with ACHACKS_TMPS set.  The default is one megabyte.
    One way to change the stack size is to use llvm-dis to disassemble avm2-libc/lib/avm2-libc.l.bc, generating avm2-libc.l.ll, modify the constant, and then use llvm-as to recompile your modified library and overwrite the old one.  These utilities should be in your path if alchemy is set up.

  • How to set the debug port for Eclipse for OracleAS 10g Enterprise

    Hello All,
    I am using OracleAS 10g Enterprise, and using dcmctl to startup the server.
    But i do not know how to set the debug port in the startup script for debugging with Eclipse.
    I have tried to add the following options to the dcmctl.bat, but still failed:
    -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=4000
    i.e in the dcmctl.bat script:
    set jvmargs=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=4000
    set ex=%ohome%\jdk\bin\java -Djava.net.preferIPv4Stack=true %jvmargs%
    Do anyone know how to configure the debug port setting?
    Thank you for your great help!.

    Hi, have you double checked that your oc4j is started with Sun's JVM or any other JVM that recognizes the kind of remote debug option as above? You can find the JVM used by oc4j in the ORACL_HOME/opmn/conf/opmn.xml.
    To double check that your oc4j is started in debug mode, you can test with another remote debugger. Say, with the jdb in sun's jdk jdb -connect com.sun.jdi.SocketAttach:hostname=yourHost,port=4000 (Personally, I also use Jdeveloper or Jswat to double check.) If you can connect with jdb, then you have to check your Eclipse. Can its remote debugger connect to any java application at all?

  • How to set the fetch size for a ResultSet object?

    Connection con  = getConnection();
    Statement stmt = con.createConnection();
    ResultSet res = stmt.executeQuery("select * from table");
    //res.setFetchSize(?);
    while (res.next)
    res.get....
    }I do not know the number of rows .
    How can I set the fetch size for the ResultSet object?
    I try
    res.last();
    res.setFetchSize(res.getRow()/2);
    res.beforeFirst();
    while (res.next)
    res.get....
    }but it's so slow if there are 6000 rows.
    How can I set the fetch size for the ResultSet object more effectible?
    And what is the best number to set the fetch size?

    The fetch size defaults to a standard number. It is unlikely that it will be any faster if you set it unless you only plan to read a small number of rows.
    i.e. if you are going to read all the rows, you need to read all the rows no matter what.
    Unless the system has set the fetch size to 1 changing it will not be faster.
    Depending on the row length, reading in 6000 rows is going to take a long time. You could try using a cpu profiler to improve performance.
    Do you really need to read everything in every row?

  • How to set the Default Dashboard for a Group

    Hello,
    we have, in our project, two groups defined in the dashboard; How can we set the Default Dashboard for each Group?
    Actually every user of both groups at logon views the "my dashboard" page.
    Thank you

    hi
    check this http://obiee101.blogspot.com/2008/06/obiee-directing-user-to-default.html
    also this..
    http://bvellinger.blogspot.com/2008/04/default-dashboard-obiee.html

  • How to set the default NetworkInterface for the default socket factory?

    Hi,
    I would like to know how to set the default network interface used by the JVM. I saw that you can specify the network interface when creating a socket. But my problem is that I dont want to change every socket creation in the application and even worse some partner's libraries wich I dont have access to code also create sockets. So is there a way to specify to the JVM wich interface to use by default? I didn't saw any System.properties to set this and my googling fishing didn't return anything usefull.
    Thanks

    By default it will use whichever one the routing tables tell it will give the shortest path to the destination. For globabl changes, adjust your routing tables. You can't do this from Java, you have to use whatever OS tools are to hand.

  • How to set the working directory for reports in linux

    Hi All,
    Can you anyone help me to set the working directory for oracle application server 10g reports? I am using RHEL4 and AS10g. Actually i want to run my reports from my define
    working directory. How can I do this?
    Thanks in advance
    Arif

    Hi,
    your rep_srv.conf should look like something like
    +<?xml version = '1.0' encoding = 'ISO-8859-1'?>+
    +<!DOCTYPE server PUBLIC "-//Oracle Corp.//DTD Reports Server Configuration //EN" "file:D:\oracle\FRHome_1/reports/dtd/rwserverconf.dtd">+
    +<server version="10.1.2.0.2">+
    +<!--Please do not change the id for reports engine.-->+
    +<!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->+
    +<cache class="oracle.reports.cache.RWCache">+
    +<property name="cacheSize" value="50"/>+
    +<!--property name="cacheDir" value="your cache directory"-->+
    +<!--property name="maxCacheFileNumber" value="max number of cache files"-->+
    +<!--property name="ignoreParameters" value="parameter names to be ignored in constructing cache key, separated by comma ','"-->+
    +</cache>+
    +<engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="3" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000" jvmOptions="-Xmx512M -Xss512K">+
    +<!--property name="sourceDir" value="your reports source directory"/-->+
    +<!--property name="tempDir" value="your reports temp directory"/-->+
    +<!--property name="keepConnection" value="yes"/-->+
    +</engine>+
    +...+
    some more definitions
    +..+
    +<!--pluginParam name="proxy" type="file">proxyinfo.xml</pluginParam-->+
    +<pluginParam name="xmlpds" type="file">xmlpds.conf</pluginParam>+
    +<pluginParam name="jdbcpds" type="file">jdbcpds.conf</pluginParam>+
    +<pluginParam name="textpds" type="file">textpds.conf</pluginParam>+
    *<environment id="APP1">*
    *+<envVariable name="REPORTS_PATH" value="/application1/reports"/>+*
    *+</environment>+*
    *+<environment id="APP2">+*
    *+<envVariable name="REPORTS_PATH" value="/application2/reports"/>+*
    +</environment>+
    +</server>+
    The environment ids you can choose yourself and you have to put them in there yourself too (here I put two environments for two different applications "1" and "2").
    If you call a report from Forms, then you have to code something like
    ADD_PARAMETER(p_list,'ENVID',TEXT_PARAMETER,'APP1');
    Details depend on how you call your reports, my example is for using a parameter list and calling a report out of application1
    Hope that helps.
    Volker

  • How to set the paper size for scan import

    Adobe Professional 10 - How to set the import paper size to letter or A4 (for example). The only option is automatic and it scans legal size. Normally the options would appear but I have no options other than "automatic".

    Moving this discussion to the Scanning & OCR forum.

  • [SOLVED] How to set the packager name for an AUR package?

    Hi,
       I'm maintaining an AUR package (fspcc), but I don't know how to set the name of the "packager" for that package.
    E.g. when you request info about some package
        $ pacman -Qi somepkg
    there is a line
        Packager: Unknown Packager
    that specifies the packager.
    How do I set this "Packager" info so that any user installing my package will see what I want?
    Last edited by lisztinf (2014-04-13 13:39:43)

    Thanks for the answer.
    I guess that when I run
       $ makepkg
    in my local build directory, then "mkpkg" will build a package with the "Packager" info set accordingly to my local makepkg.conf.
    However, I would like another user - with his own makepkg.conf - to see what I want when installing the package. How can I achieve this?
    If I install an official package - say pacman itself - through ABS, I see the "Packager" field properly set for that official package. But certainly this info doesn't come from my local makepkg.conf. I would like the same behaviour for my package. Is it possible?

  • How to set the default values for print options

    Hi all,
    We can set the default value for print options, just like Logical destination、numbers of messages、print immediately and so on, so where we should to maintain these default?

    Hi Sandy,
    This can be done by an abaper by making changes in the driver program. The Driver program feeds all the data which u have mentioned for printing.
    if the driver program is standard. copy to an z type and make modification on printer settings on the driver program code.
    this will surely solve the issue.
    Regards
    Gunaseelan

Maybe you are looking for

  • Help! Where is the button to toggle Grid-View in Dreamweaver CC 2014.1?

    Just downloaded the latest version last night, and now the grid-view button is gone, so if I want to re-size a fluid-element, I can't. Help!

  • To sync WIRED, need to turn off WIRELESS feature on BB. HOW?

    The Desktop Mgr says to turn off the WIRELESS feature on my Curve 8310 in order to sync with my home laptop.  On the BB, where is this nonwireless/wireless feature?  I'm trying to sync thru the USB port with a cable.  Previously this Curve was synche

  • Sending a connection key from a Mac to a PC

    It is very easy to send a connection key, but when I send one to PC from a MAC, I get this error "This connection key is only compatible with the Macintosh version of Contribute.". Does anyone have suggestions on why this happening?

  • Query selection screen

    Hello All, Currently on the variable selection screen 0CALMONTH is restricted by current month on our reports.  If a user wants to change the date selection they can, but they can select data right form 1947.  We only want them to be able to report u

  • Validating XML Against DTD

    I'm relatively new to Java and I was just wondering what is the most effective way of comparing an XML document to its DTD to ensure the document is valid. Any advice would be appreciated.