Results 1 to 7 of 7
  1. #1
    jmccon is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2015
    Posts
    12

    Using Access for Sql Front End

    I want to use access 2007 as a front end for Sql Server DB. I want to create a basic input form, a serach and display facility, and have some reports generated out of the application.
    Does anyone know if this would be possible to do using Access in 20 days?

    Does anyone have any good tutorials/resources to get me started?

  2. #2
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    it is certainly possible - within 20 days? depends on your skill levels

    the easiest way is simply to link to the tables in sql server. Click on the external data tab, select ODBC database and follow the prompts. You'll need appropriate access rights to sql server. Once linked, you just develop as per an 'ordinary' front end.

  3. #3
    jmccon is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2015
    Posts
    12
    Thanks for the reply Ajax.
    I want to calculate some fields also like adding 3 fields and the sum of those would be added to another field e.g. FieldA + FieldB + FieldC = FieldD
    How can I do this in access?

  4. #4
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    first, sql server does not support calculated fields - you should calculate them as and when required in a query.

    In a query in access it would be written something like

    SELECT *, FieldA + FieldB + FieldC AS FieldD
    FROM sqlserverTable

  5. #5
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    Yup, create an alias in a query.
    Code:
    SELECT *, FieldA + FieldB + FieldC AS FieldD
     FROM sqlserverTable

  6. #6
    jmccon is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2015
    Posts
    12
    Will this query above add FieldA + FieldB + FieldC into FieldD
    When would you kick off this query, on form load?

  7. #7
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    Sounds like you need to learn what access is about.

    neither query will add the data into field - it displays it

    the query would be (or could be) the recordsource to your form - all depends on the detail of what you are trying to acheive

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Access front-end deployment
    By Euler in forum Access
    Replies: 9
    Last Post: 02-17-2015, 07:06 AM
  2. Replies: 1
    Last Post: 03-26-2014, 09:28 AM
  3. Replies: 2
    Last Post: 11-05-2013, 09:00 AM
  4. SQL Security w/ Access Front End
    By kjg48359 in forum SQL Server
    Replies: 4
    Last Post: 08-03-2013, 10:21 PM
  5. Unable to Access DB Via Front End
    By mcktigger in forum Security
    Replies: 1
    Last Post: 12-16-2012, 04:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums