Access Report Link to SQL database

Hi,
I have been designing a report interface in Access that is supposed to retrieve data from an SQL Database. The problem is that i don't know how to connect the two so that it (report) retrieves data from the database. How do I connect the two?
martin

Hi breakage,
Based on my understanding, you want to connect to a SQL Server database on Access side, then retrieve the data from the database.
When connecting to a SQL Server database, Access creates a new table (linked table), and it's structure and contents are corresponding to the source object. In your scenario, you can open the Access database in which you want to create the linked tables,
then choose External Data tab. With the wizard, you can link the expected SQL Server database. For more information, please refer to the
Link to SQL Server data section of this article:
Import or link Access to SQL Server data .     
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support

Similar Messages

  • Access Reports, Forms in Oracle Database

    Hi,
    I want to migrate one application from MS-Access to Oracle(8.1.5) Database.
    I know, migration of database is possible,but I want to keep the existing Access reports and forms as it is.
    Is it possible, Can Access reports and forms run under oracle database.

    Initially you write 12345 and when you modify you are modiyfing only 3 bytes from offset 1 and hence the results. When you modify oracle will not erase the complete lob you need to use erase before you modify (write)
    Following doc give you an insight into pl/sql lob functions
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_lob.htm#sthref4428
    Following is the Pro*C Lobs Guide
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28427/pc_16lob.htm#i998068

  • VBScript linking to SQL Database for file transfer information.

    I have been all over google and can't find anything that can use VBScript to look at an SQL database and based on what it contains, transfer files, I am not great with VBScript,
    still learning and at a BASIC LEVEL.  I can picture what I need but have no idea how to compose.
    The SQL database has 6 columns and I am trying to achieve the following.
    Database & Table : [FILE_TRANSFER].[dbo].[MAIN_FILE_TRANSFER_OUTPUT]
    Columns : [DESTURL1 ], [DESTURL2], [DESTURL3], [FullSource], [FullDestination], [DeleteFileAfterTransfer]
    Criteria required
    Does file exist within [FullSource]
    If yes Next if no, look to next [Fullsource]
    Does DESTURL1 exist No (Create) if yes Next
    Does DESTURL2 exist No (Create) if yes Next
    Does DESTURL3 exist No (Create) if yes Next
    Copy [Fullsource] to [FullDestination]
    (example : [Fullsource] c:\myfile.xls to [FullDestination] c:\thisismyfile.xls (Name change within [FullDestination])
    If [DeleteFileAfterTransfer] = Yes, delete transferred file [FullSource]

    TO extract SQL data to a file we would use BCP which is the main data extraction utility for SQLServer.
    Post you questions in the SQLServer forum and they will help you.
    There is no reason to use VBScript for this.  It is the wrong tool.
    ¯\_(ツ)_/¯

  • ADF appl link to SQL database does not save the change

    I use SQLJDBC 4 to connect to MS 2008 database. Then I create an simple ADF application with one model and business component that connect to one table. When I run the app. The grid and the detail come up nicely. I can insert new row and modified existing row without error with submit-commit operation. The grid updated with the change. But it did not update the database when I check the data from studio manager. Is there any configuration I am missing so the data are not updated.

    Please give us your jdev version...
    What exactly do you mean by submit-commit operation?
    Have you run the application with jbo.debugoutput=console to see what its send to the server?
    Timo

  • I can  create SQL  Database with Xcode ??

    is can posible create a Database with SQL in Xcode ?
    -Raul

    If you mean, is there some tool integrated into Xcode that will create a database, then the answer is "not that I know of".
    Firstly, there are a number of "SQL" databases - e.g. MySQL - and they don't all have the same "flavour" of the SQL syntax. Sure, the basics are there (depending on which 'standard' they confirm to), but usually you want to create a database that has all of the views, indexes, etc. that are as optimised as possible - and that typically means using the additional keywords of the brand of SQL you are using.
    Secondly, I an guessing that you are thinking of the Visual Studio capability of creating an MS-SQL database via the 'GUI' interface they provide.
    However, there is nothing to stop you from accessing any type of SQL database from your code. I've quite successfully created and then accessed a MySQL database from code that I've written within Xcode. But you have to do all of the work!!!
    If I've not understood your question, then perhaps others will correct me, or you can come back with something more.
    Susan

  • Link a Crystal Report report with an SQL Azure database

    Hi,
    I want to use my database on SQL Azure in Crystal Report. So I want to link my reports with data contained not in a local db, but in a SQL Azure one.
    Insiede Crystal Report I have created a new ADO connection to my SQL Azure, providing server, db, user, password, and Crystal Report have recognized the database. But when I go to the Database Expert and I try to set this ADO connection inside my report,
    I recieve this error:
    "Not Implemented
    Source ADODB.Connection
    L'operazione richiesta non è supportata dall'oggetto o dal provider (operation not supported by the object or by the provider)"
    Why? How can i use my SQL Azure data in my Crystal Report reports?
    Thanks

    Hi Delfins,
    Please create a UDL file to test the connection, ensure the connection is fine and then use the same connection string in your Crystal Report.
    For UDL file, you can refer to:
    http://msdn.microsoft.com/en-us/library/e38h511e(VS.71).aspx
    Hope this helps,
    Raymond
    Raymond Li - MSFT

  • Linking a pdf to an MS Access report.

    I am looking for a way to link a pdf file to an MS Access report. I have a table with the pdf file name and the path to the file. It also states the number of pages in the pdf. What I am looking for is a way to link this to a report for viewing and printing. I have used custom tools by pdf-tools which works great, but I am looking for a way to do it with Adobe, since I already own the professional versionsand would not have to pay for the additional license that pdf-tools requires. The vb code would have to have a way to view and print selective pages. I have the report built and it works with the viewer from pdf tools, but want to be able to modify the report to do it with Acrobat pro. Below is the code that I use with pdf tools and again it works great and is real simple to setup and use. Is there any way to replicate this using Adobe Acrobat Pro version 7.
        'Code added to print the pdf file.
        Dim Viewer As Object
        Dim PDFPath As Object
        Set Viewer = Controls("PDFViewer1").Object
        Set PDFPath = Controls("DocPath")
            'Viewer.DPI = 600
            Viewer.FitMode = 0  '0=Actual 1=Fit Page, 2=Fit width
            Viewer.Open PDFPath.Value
            Viewer.Page = pdfPageNumber

    Do you need to know what the primary key value is before you
    do the insert? Do you need to know what it is after? You should let
    Access create the value as an AUTONUMBER field, which means that
    you would insert all of the fields
    except the primary key (ID) field. If you needed the ID
    value, you would have to immediately query to get it (select
    max(id)...), and probably use cftransaction to ensure that your
    insert and select were in the same database transaction, otherwise
    on a busy site, you might get the wrong ID value. (SQL Server and
    Oracle have better methods for obtaining the last ID values, so
    when using Access it is kind of a kludge.)
    Phil

  • Interactive report performance problem over database link - Oracle Gateway

    Hello all;
    This is regarding a thread Interactive report performance problem over database link that was posted by Samo.
    The issue that I am facing is when I use Oracle function like (apex_item.check_box) the query slow down by 45 seconds.
    query like this: (due to sensitivity issue, I can not disclose real table name)
    SELECT apex_item.checkbox(1,b.col3)
    , a.col1
    , a.col2
    FROM table_one a
    , table_two b
    WHERE a.col3 = 12345
    AND a.col4 = 100
    AND b.col5 = a.col5
    table_one and table_two are remote tables (non-oracle) which are connected using Oracle Gateway.
    Now if I run above queries without apex_item.checkbox function the query return or response is less than a second but if I have apex_item.checkbox then the query run more than 30 seconds. I have resolved the issues by creating a collection but it’s not a good practice.
    I would like to get ideas from people how to resolve or speed-up the query?
    Any idea how to use sub-factoring for the above scenario? Or others method (creating view or materialized view are not an option).
    Thank you.
    Shaun S.

    Hi Shaun
    Okay, I have a million questions (could you tell me if both tables are from the same remote source, it looks like they're possibly not?), but let's just try some things first.
    By now you should understand the idea of what I termed 'sub-factoring' in a previous post. This is to do with using the WITH blah AS (SELECT... syntax. Now in most circumstances this 'materialises' the results of the inner select statement. This means that we 'get' the results then do something with them afterwards. It's a handy trick when dealing with remote sites as sometimes you want the remote database to do the work. The reason that I ask you to use the MATERIALIZE hint for testing is just to force this, in 99.99% of cases this can be removed later. Using the WITH statement is also handled differently to inline view like SELECT * FROM (SELECT... but the same result can be mimicked with a NO_MERGE hint.
    Looking at your case I would be interested to see what the explain plan and results would be for something like the following two statements (sorry - you're going have to check them, it's late!)
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two),
    sourceqry AS
    (SELECT  b.col3 x
           , a.col1 y
           , a.col2 z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5)
    SELECT apex_item.checkbox(1,x), y , z
    FROM sourceqry
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two)
    SELECT  apex_item.checkbox(1,x), y , z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5If the remote tables are at the same site, then you should have the same results. If they aren't you should get the same results but different to the original query.
    We aren't being told the real cardinality of the inners select here so the explain plan is distorted (this is normal for queries on remote and especially non-oracle sites). This hinders tuning normally but I don't think this is your problem at all. How many distinct values do you normally get of the column aliased 'x' and how many rows are normally returned in total? Also how are you testing response times, in APEX, SQL Developer, Toad SQLplus etc?
    Sorry for all the questions but it helps to answer the question, if I can.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Connecting to Azure SQL database in Access 2010

    I've recently purchased a new computer and I had an OBDC connection set up to link to a sql database in azure through access. I am trying to set it up on my new computer but I'm unable to define the specific database. I'm able to make the connection but
    it only allows me into the master database. I've added my IP address in the configure servers but still can't get things to work. Any help would be greatly appreciated.
    thanks
    Lynn

    Hi,
    The following guidelines apply to SQL Database connections using ODBC:
    • When using SQL Server Native Client from SQL Server 2008 R2 or SQL Server 2008, the connection string must include the server name as part of the user name (user@server).
    • You must use TCP/IP as the protocol when connecting to an Azure SQL Database.
    • You cannot create a table in the master database, so therefore you must create a user database to create a table.
    • You cannot execute a use database command to switch to your user database. You must disconnect and connect directly to the user database.
    • You must have a primary key or clustered index on your table to be able to insert data.
    Ref:
    https://msdn.microsoft.com/en-us/library/azure/hh974312.aspx?f=255&MSPPError=-2147217396
    http://blogs.office.com/2010/06/07/access-2010-and-sql-azure/
    https://support.microsoft.com/en-us/kb/2028911/
    Hope this helps you.
    Girish Prajwal

  • MS Access returns a SQL Database date field as text

    When linking to a table via ODBC to a SQL database, Access returns any field that is formatted as 'Date' as a 'Text' field. A Date/Time field works fine. I cannot change the SQL Database.  Is there a fix for this?

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Which version of Access and SQL server do you use?
    Do you use ODBC Driver 11 for SQL server?
    Based on my test (My environment: Access 2013, SQL server 2014, and ODBC Driver 11 for SQL server), I can't reproduce your issue. Regardless  of "Date" and "Date/Time" data type of SQL, both of them can be linked to Access
    that are formatted as Date/Time type.
    I suppose this issue may be caused by the data. For example, if the date like: 2015--2--23, it can't be recognized as date type in Access. Please try to check it.
    If you have any update, please feel free let me know.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Conditional links in sql report

    Hi all,
    i have created a report with 5 columns. First 2 columns are copy and edit links, rest 3 columns are the corresponding row value. If i click on copy then the primary key of the selected row is passed over to the next detail page and details are shown there. Similar is the case with edit link.
    But i want to show edit link with only those rows, which the user have access. The table shows all the detail, but the link should only come when the user has the privilege to edit it. Can i provide conditionality in SQL Report link column?
    Do reply. Thanks in advance
    With Regards,
    Sunil Bhatia

    Dear Sunil Bhatia!
    I'm not sure if it is possible to make a column link conditional so I would suggest you a little workaround. On the detail page where your edit link leads to create a validation (page processing). This should be a page level validation of type SQL or PL/SQL as you like. This validation could check the user rights with SQL and depending on the result of the validation show an error message like "Sorry, You don't have enough rights to edit this row!" or it could display the detail page to edit the row.
    I hope this will help you along.
    Yours sincerely
    Florian W.

  • Training - Will Adobe Connect Pro provide access to an SQL database?

    Hi,
    I'd be totally indebted to find out the following information regarding Adobe Connect Pro as we're evaluating it for hosting Captivate created content.
    Background: Adobe has an API and we are hoping that we can make  our  own custom form and then upload additional Trainee information (say they  have two cell numbers or their birthdate) into the hosted Adobe Connect  site for our training.  We want Trainees to be able to register themselves via a form that we host and have the push in via the Adobe Connect API.  It's too painful for us to have to make a userid for the trainees each time.
    Question 1) Is there a way for us to get access to the SQL Trainee database hosted with Adobe Connect?  If so how is that done?
    Question 2) Will the custom values (e.g. the phone and birthdate) that are made on our form and passed to Adobe Connect's LMS viewable by the Admin Reports interface?
    Question 3) Will the custom values (e.g. the phone and birthdate) that  are made on our form and passed to Adobe Connect's LMS viewable wihin the SQL database if we have access to that (see question 1).
    Thank you!
    Dave

    Thanks you for the post.
    http://moviesonlineworld.com

  • Can SQL Server SSIS on VM access Azure SQL database?

    I have SQL Server BI on Azure VM.
    Can SSIS Access Azure SQL database? I need to fetch data.
    Kenny_I

    Hi,
    You an able to do this by running ssis locally and connect Azure SQL. Below link expains this well in detail.
    http://beyondrelational.com/modules/2/blogs/84/posts/13234/how-to-use-sql-server-integration-services-ssis-to-migrate-data-from-sql-server-to-sql-azure-paras-d.aspx
    Regards,
    Santhosh.
    www.jijitechnologies.com

  • Sql server grants access to specific login to database.

    i have created website for intranet and hosted it on server. for that i needed to create login "IIS APPPOOL\hi" in sql server 2008 for my application
    to access my "reportdb" database. "IIS APPPOOL\hi" has sysadmin and public server roles in sql server 2008. And i have default login"sa" same
    as "IIS APPPOOL\hi". these are working correctly. Now I want these two logins to access"reportdb" for all
    operations in database and remaining all logins should be denied to access"reportdb". My Sql Server 2008 is having mixed mode (windows authentication and Sql authentication). plz help me

    I think what Tauseef is requesting is to keep access for the 2 sysadmins & deny access to everyone else, correct?
    As Uri mentioned, by being part of sysadmin role, “IIS APPPOOL\hi” & “sa” would have access to everything in the server, and nobody else should have access to the DB unless explicitly being granted access.
    If you would really deny anyone else access to the database, you can potentially deny connect to public, and only sysadmins (who override permissions) would be able to connect; although I would strongly recommend against such practice.
    Something else I would like to recommend against is the usage of sysadmin for what may not be a DBA role (IIS appPool). Following the least-privilege principle, I would recommend having a non-administrator user for applications that has enough capabilities
    to perform the tasks needed.
    The main risk is that a SQL injection (SQLi) bug in your application would lead to a complete compromise of your SQL server.
    If there are app tasks that would require elevated permissions, I would recommend encapsulating the logic in a stored procedure and either use impersonation or digital signatures to accomplish a controlled elevation of privileges instead. If you have any
    question on this topic I will be glad to assist.
    I hope this information helps,
    -Raul Garcia
     SQL Server Security
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • HTML links from Full Check Accessibility report do not open the corresponding PDF links

    I regularly generate full Check accessibility reports for the PDF user guides I create in MSWord. However, when I click the links in the HTML file/report generated, they are supposed to link/highlight the corresponding errors in the PDf file. Instead, I get an error message that "There was an error opening this document. Bad parameters."
    How can I get the links to work so I know which section in my PDF has the error (inaccessible items).
    Thanks

    I understand you are creating HTML reports and then using them to find errors/view the PDFs. 
    Is this a new problem or  have you always had problems with the links?  If it's a new problem, what has changed on your system?
    Can you view other PDFs in your browser? 
    Have you moved any of the files since you created the report -- as you may know the HTML report references a specific lcoation on your hard drive and if you moved the PDF after creating the report, it may not be able to find the file.

Maybe you are looking for

  • How To delete simultaneous multiple mails on iPad ?

    How To delete simultaneous multiple mails on iPad ?

  • French Translation for F1 help in SRM fields

    Hi, I have a request for all users to have the SRM in English. But in France, we would like to have the context menu in French. With above requirement, I have following questions: - 1. Can this online help overwrite standard one if standard one exist

  • Need Help with sqlldr/cmd prompt....

    Hi, I am successfully using sqlldr using runtime.exec() but the issue is that my next class which is to be run after sqlldr class is using the log files,bad files etc created by sqlldr class. Since sqlldr class invokes command prompt and runs the loa

  • Boxed Version

    I just got a mac mini with no disc drive. I own the boxed version of logic studio. is it possible to transfer my license to the download version from the app store?

  • Contact name issue

    I've been having issues with my contact lists as soon as I upgraded to the iPhone 5. Under my account I have an iPhone for my wife, an iPhone for me and an iPod touch for my daughter. It looks like both my Daughter and I have lost our contact lists a