SharePoint Online: A no-code Solution to Create and Customize Access Service app using Access 2013
Introduction
Greetings Fellow SharePoint users!
In this article I am going to walk through the process of building an Access service app using an example of a Photography sales store. This app will store information of the employees, customers, inventory and orders using tables and forms. We are going to create forms to both add and read data from tables.
In this article I am going to focus on details which an everyday IT Professional will need to know. *One of the key features of this article is to make changes to the tables template and customize them (using no-code) to match your needs.
*Throughout this article you will see me add a 'Similarity' comment where I will be comparing the Access feature I just described with a SharePoint List.
For this example, I am using the SharePoint Online Plan 2. You can find further information about this plan athttp://office.microsoft.com/en-us/sharepoint/collaboration-tools-compare-sharepoint-plans-FX103789400.aspx
My SharePoint Online Setup
In this section I am going to give you a quick summary of my current SharePoint Online site setup. As I mentioned earlier, I have a SharePoint Online Plan 2 license.
Site Collection Template
I have already created a site collection using the Team site template. Below is a screenshot of my Office 365 SharePoint site collections
https://88rhuw.dm2302.livefilestore.com/y2pePofVYLQp7olwDa08_bfw6kWeJR7fYh_1qHuivbgNX7yxwnPkx-dl1FFI_k_21ZnLgKamK63BBhdIo2VuduJrGC63ZWk06Dp6xolJR8U1Og/Capture1.PNG?psid=1
Site Collection and site features
Below are the Site collection features which are activated
a. Disposition Approval Workflow
b. Document Sets
c. Library and Folder based retention
d. SharePoint Server Enterprise Site Collection features
e. SharePoint Server Standard Site Collection features
f. Site Policy
g. Three-State workflow
h. Video and Rich media
Below are the Site features which are activated
a. Access App
b. Following Content
c. Getting Started
d. Minimal Download strategy
e. Mobile Browser View
f. SharePoint Server Enterprise Site features
g. SharePoint Server Standard Site features
h. Site Feed
i. Site Notebook
j. Team Collaboration Lists
k. Wiki Page Home Page
Create a Custom Web App in Access
Setting up connections
Open your Access 2013 application and click on Custom Web App. Below is a screenshot.
https://88rhuw.dm1.livefilestore.com/y2pSLjxSzDci924xM8pgFoLiLYw8WtirWl4Sr144NbRbk2CsTfKZbrfIJ89zPX8JHDGVfoazxddEDv9CwLxEjibfTYwLg1YbSTCh4SnUfiaJaM/Capture2.PNG?psid=1
Give your app a name that makes sense, provide a URL and click create. In my case, the URL was https://christianfamily.sharepoint.com/sites/access2013. DO NOT COPY the entire URL ending with /_layouts/15/start.aspx#/SitePages/Home.aspx and paste it. Below is a screenshot
https://88rhuw.dm2301.livefilestore.com/y2pe-mfGwde3L-FATxNglIz1n6DfTCZpVMNhIndjDD_U0zxKl0q5hmNghl-lp1gAi-HakbdkRZpEyjo0AwSDv8FJVEjZBZh9AstMgF5DhGqxtM/Capture3.PNG?psid=1
The publishing process completely depends on the internet speed provided by your ISP during which you will see status messages such as the ones below.
https://88rhuw.dm1.livefilestore.com/y2pIxapNilHJF8LNcOstLWOz_FiHk80qMp7Wetk4PwR8jh9uVN-ugsEM7wuA_GzgFWlcb2h3pgQhf6EGRqfuQgC1n1avM1s306njvWgKhFg5pE/Capture4.PNG?psid=1
https://88rhuw.dm2301.livefilestore.com/y2plFTqdJEGjasYrrI6I6hmew8ghNXQlbBsKmFpRq4vHSzoIw1Zki2E6Noj-91Wke0f3l6lGBY39unHr6n76Zzmlpf1gOAyK0lqbVdbLFxlSeo/Capture5.PNG?psid=1
Once completed, you will see your new Access App created and also have an active connection to the app. Below is a screenshot
https://88rhuw.dm2301.livefilestore.com/y2pe9m-K9g5bnKX42Amx6HTNecMLlm6tZNPlIY3J1yc9RY7YGgGjUdZn9TxauQ1JgZHqEeHq7zgWeH47FTdtXl_rB9oLpKErTQvx-sL_6LMDqM/Capture6.PNG?psid=1
How to open the access database file i.e. accdb again
I thought it was relevant to mention this piece, especially if you plan on editing this access app regularly. While your connection is still active, do the following-
Click on File
https://88rhuw.dm2302.livefilestore.com/y2p94fVUMy2M5VJ0GlH0iL_M9cl4DHg-BJ_7DxDiLby6oHfYGzNQMr3Lcod-4qoEk1lOCBbfSFYg8lJxD45J17Nfde8JtgTOS4g2P2Sv1aDznk/Capture7.png?psid=1
Here you will notice that the Connections are by default set to disabled. We need to enable them, hence click on Manage.
https://88rhuw.dm2303.livefilestore.com/y2pk84h4VdUaWdqVnW0DTwfudBURmQRvs4tv1QMINVpoJdjgmQrxWfxg7wKK7x0kduMJUuHFr8IosZ1Tj-6u-_gi4Ivm2A8JnPxzJiyGiPYL4g/Capture8.PNG?psid=1
Click on 'From Any Location' and confirm that the 'Enable Read-Write Connection' is enabled. Below is a screenshot.
https://88rhuw.dm2304.livefilestore.com/y2pLatwMGuj7iXIyzFsiHje9uPXkD1PeJ-oMDGfI6sYkZ8MehdP7XBYsHfugQSeReVxKjuJKp4eTQVeZUoD6ioaLxRuI4LVD0WlX6cx-SRL-Sw/Capture9.png?psid=1
Once the connection is enabled, below is what you should see
https://88rhuw.dm2301.livefilestore.com/y2pEbqM_Ig0wBn5MEMG2BqACr4DebQGdaDWd2LPQ85Cg6lza6aZ50j6F39q-JV7Y2f8FvUOOozDtOgK_hmsUyvfqSgUoUSY8lW6u7VIvlntJ0U/Capture10.png?psid=1
Now you can go back to your Access file, Save it and choose 'Launch App'. After a few seconds, a browser will open and you should get a confirmation that you have successfully created an Access app and now it is time to start designing. Below are two screenshots: -
https://88rhuw.dm1.livefilestore.com/y2pbfLOlSWlaK7raaTBZhP6zysY9YEVMnbROB1DPH6-b2wD__4buhRVwcK7JjWmp1YV7tOcH_K83wFUIqrB0e36NUxKChSwjEdkl7mE_jV_-Ek/Capture11.png?psid=1
https://88rhuw.dm1.livefilestore.com/y2pPUycI_RSmaw0CWHmsO-8W1DyWvTUxRgKl2d7MTW_k3EobGgQWo2QzIWUuMWOROxXdO_wsLkh9EToVs_UzaORKduZdYRJdoaUqK-nWJaK1uk/Capture12.PNG?psid=1
At this point I want to pause and consider three scenarios. The first scenario is that you did carefully look at the screenshot, the second scenario is that you didn't and now what and the third is if you are using a new machine.
Scenario I
In the screenshot above, did you notice the 'Open this app in Access to start adding tables.'? If you did and clicked on it, then you should get a dialogue box which asks if you want to directly open or save it. I highly recommend that you save it in a location that you can remember. Below is a screenshot of what that dialogue box looks like
https://88rhuw.dm1.livefilestore.com/y2prJvTvBtJwolnng7XvnFsfOm2nRTDfokomkfbORMaoBmWH6DaVNSqelAkUBybovPC-u15zXQBjXSautb4yHG0WPMwpdzsnomPxg-bN2AIpGQ/Capture13.PNG?psid=1
I also want to point out the download URL you will get to see at the bottom of your IE browser. Note the URL. The access file is coming directly from SharePoint
https://88rhuw.dm2304.livefilestore.com/y2p6evi7ewX88bjlSBP3YiP06YWqEW_Sic1v-eQSdT--7iswwR-BHktYPYLt5AKEX6Q8xi-EwqP7N5gZ_Rlp1u0CI8_I1e20J4SNq0P50_lAT8/Capture14.PNG?psid=1
If you click on 'Open' then below is a message you will receive.
https://88rhuw.dm2303.livefilestore.com/y2pgB0uQwofH6G51fUtb-NKWMqLWHLM4U8KoKgtmREfC36veUAc_t7lquM4CM9Ahq3i4idOGY3N3AJQnsLYlmHTyXQ4ySDIn9gmQniOyTvIP1Y/Capture13a.PNG?psid=1
Scenario II
I like to call this the 'What-if' scenario. What if you didn't click on the 'Open this app…' link and closed the browser and now want to open the Access App on your local Access 2013?
In this case go to your Database Cache folder and open the Access database from there. Your Access Database Cache folder is located at
C:\Users\UserName\AppData\Local\Microsoft\Access\DatabaseCache\15.0. Below is a screenshot of my current Access Database Cache folder and there you will see the new 'Photography' Access database. *Note, that while you have a live connection to your Web Access database, you will have another Access temp file created as well. Also, these cached databases will remain on your local machine even if the app is deleted from SharePoint.
https://88rhuw.dm2301.livefilestore.com/y2pQDQP1u1_dldq-ejzAhyUsIPkt4HcKMq61OnX85rs9nwmGtGAVXk8e0tqEI4dvtrn5f2oVzlI1sEXtFKkpdsdiLr2dfWMhQYJ6-MYj8L0rq0/Capture15.PNG?psid=1
*
Scenario III
What if you do not have your desktop/laptop device and want to make a change to the Access App? You will need to have Access 2013 on your temporary machine you are accessing. Then go to your Access App on your SharePoint site, click on the Settings icon on the top right of the page, choose the option 'Customize in Access'. The entire accdw file will be downloaded and stored on the same DatabaseCache folder whose location I have provided above. Below are the screenshots
https://88rhuw.dm2304.livefilestore.com/y2pHetytBAi29sFOKMlsJL8RyOIwpSb8Ok8G6U7OnjOnGOa4DG-pyift6-R4cIDlc40mmYBv3nv3bzLxPMvvzMu4fB_1eVQpwQnv2YvVvAy2a4/Capture15a.PNG?psid=1
https://88rhuw.dm2303.livefilestore.com/y2pJjkCjKfpaiPQyDDEONBlLSCdQyhJDDFgetf_osGM7zLlwngAbqjdt4IOQXHjdIBdrUB23mGRK6jtzi8R0o20YQ3VTxM3SNlokwL0T5vOzVc/Capture15c.PNG?psid=1
How to access the database and tables in Windows Azure
I won't be covering this section in detail, but I would like to point out a few things. As the below screenshot shows, once the Access app is setup you will be provided the SQL Azure server and database name. Below is the screenshot.
https://88rhuw.dm2301.livefilestore.com/y2pk84h4VdUaWdqVnW0DTwfudBURmQRvs4tv1QMINVpoJdjgmQrxWfxg7wKK7x0kduMJUuHFr8IosZ1Tj-6u-_gi4Ivm2A8JnPxzJiyGiPYL4g/Capture8.PNG?psid=1
If you attempt to access the database using SQL Server Management Studio, you will be given the below error. This is by design.
https://88rhuw.dm2304.livefilestore.com/y2p5wwOSL6vGBW20SskKsZSdL4Qp4Uu7y6HYCiOAZVSRVRdAyUb-7WZO7VTkYPW9gSb5qJ-2AR65PoH_9sORBiOKTpk7UkHm8LfMjtF-JO93RA/Capture15%201.PNG?psid=1
https://88rhuw.dm2303.livefilestore.com/y2pgIy-8fctKC5pUQ4aGl3QAAUYpvxeWjvunrXNKBr4jSu39-e0jE2lTnpW4zEsA8fc3x8YuiKz6MxJ88z8fzeJVePXs9rN9qh7HObhTpXEPLw/Capture16%201.PNG?psid=1
The Microsoft Windows Azure SQL Database service prevents access to your SQL Database server with the SQL Database firewall. You can use the Windows Azure Platform Management Portal or master database to review and edit your server-level firewall configuration. You can follow the steps provided in the article.
http://msdn.microsoft.com/en-us/library/windowsazure/ee621783.aspx%20
Below is a video which walks you steps I displayed above. As an FYI, to record this video and all the other videos henceforth, I am building a separate app called 'Photography2' which has the same setup as the 'Photography' app.
(To view a higher resolution video click here)
Creating and Editing tables in Access
In this section we are going to create new tables using existing templates and then edit them.
As stated earlier, we are going to build the following four tables.
- Employees
- Products
- Customers &
- Orders
Open your new app and draw your attention to the 'Add Tables' section. Microsoft has already provided us four suggestions, Persons, Order, Service and Sell. If you browse through these you will notice they do have some common table templates. Templates such as Customers will be found in all of them. In case none of them work for you then you do have the option to create your own table.
For the sake of our requirement, we are going to use the Order suggestion and create the following four tables. Below is a screenshot of the Table templates.
https://88rhuw.dm1.livefilestore.com/y2pdC5i94S6pLS-eQ8OARoEPGFdOJfJEfs8GQsWhmqprE4Kgvj4Lb1TiAZvUPQ0O-ldCS7PSj7vm2JcHRrJuJvWc7ztXRdoO8nO7X4z7AQi8Q8/Capture16.PNG?psid=1
*Similarity: SharePoint also gives suggested List templates as well. If you recall, there are already built List templates in SharePoint, templates such as Contacts, Calendar, Discussion board, Promoted Links, Tasks etc. You can also create your own custom list. Below is a screenshot which shows you a few of these List templates.
*
https://88rhuw.dm2302.livefilestore.com/y2pWYz8I2FwPhtv4WmZQ8rVe4FY0OJcemeFBLRgEF6gAATBk-6ob-4PIOjJxNuPkyHqHvz0eG_F8pwJDYNaz_QsBGOpPciSo9QwjFb6akjivMQ/Capture17.PNG?psid=1
As I create a table, Access will automatically build the necessary forms to view the contents of the tables. I am going to add one table at a time and show you screenshots of both the table and their respective forms.
Employees table:
https://88rhuw.dm2301.livefilestore.com/y2pMn9gvPmA0JoT6ZgQjY8pldr3XCXrMUM7e5G1DJjrycgdcfU83Axv9L9TpT_gkBSiz4sYKBRQ3PVVvTHebNcNRG7R_2imPOaj9F8wLFr8bK0/Capture18.PNG?psid=1
You will see that the Employees table is created. If you click on the Navigation pane, then you will see the respective new forms as well. Below are screenshots of both the new Employee table and the new forms.
https://88rhuw.dm2304.livefilestore.com/y2pgzOYHleQGdRqgwp1DJ-x2CiqyY0NDH6zmw1phla57OM3MMKgdJch9Ni9ueuE27srJuzem21XFhTE4BB2s4Vce6krojoChvhlrbMMY8G_hos/Capture19.PNG?psid=1
https://88rhuw.dm2304.livefilestore.com/y2pjf6eKinIuXl9304fM0i4QRMwUJb8H7Yb7iMp4-kxYtz7UCNPEbtQRCTJ9q0rpiS7p0B2UuB1Ec4j3YWSJJq1bR_AHg1mIsBlz77HuBHYTBo/Capture19a.png?psid=1
By design in the Access app for every table you create you will have a datasheet form and a list form created. The datasheet form in access is very similar to the spreadsheet view available for a SharePoint List. The list form in access is very similar to the default view of a SharePoint list. So what is the 'By Group' form? I'm glad you asked :-)
This new form which is built out-of-the-box by Access is a great feature which is very impressive and extremely useful. Below is the screenshot of the form.
https://88rhuw.dm2302.livefilestore.com/y2pQBP6DlWWP_ks-_O4Sb9RMmT0ZTYaWCERN2-k_i3uGrE9gh0Mo8qhtRZEyj4GCqcLm21-rGxDj5SPF14-iEIm1OtZjJFrykNjhmj60fdHMPk/Capture20.PNG?psid=1
The new 'By Group' form for the Employees table has two controls. One is called Group simply because this control shows the group of employees and counts the total number. The second control on the right will give four descriptions of the employee. The four descriptions include Display name (includes first and last name), company, job title and work phone. Below are screenshots of these two controls.
https://88rhuw.dm2301.livefilestore.com/y2pUuDDYbifozueNWD566hoqwDlIWmdRKulN95lb2hj7uVQk8FG-DERh9c7woE-FkKD2wrsPiLvpWkS_qO1YVSFqMJ-Q4nD0X2J3XCqZPWl9OI/Capture21.PNG?psid=1
https://88rhuw.dm2302.livefilestore.com/y2pG8ZvMntuzwG3jAOq56q4qcSXweBrtp_QqtVCNCG-5NLSTASM3ics6hbyl0X8aw9Lyy743DK9ewh00dbw8TrHYuknmKhqyygDBjg0C-vGps0/Capture22.PNG?psid=1
I am going to save and publish the new table and their views. Then add some employee data to see how the views work. Below are screenshots of what the Employees table and the three forms look like on SharePoint. Currently there aren't any employees added to the table and hence the forms are empty.
Employees List form
https://88rhuw.dm2304.livefilestore.com/y2pfdYti_NvNX_3iPzfuPaPeEOA05XnzJUVCgNoi8k5833wv6ADYigFi62gUrSZrHRm1LZ0-SOH-cbVJDI7HeacpQJYID1miDA7mXRDjrWdmq0/Capture23.PNG?psid=1
Employees Datasheet form
https://88rhuw.dm2301.livefilestore.com/y2pUun5oiasI0WfgBlqcRwU1hEVJHZAEzWLRZPmoitYtt-b3DJ3y-Jl_YnlYABkVXuaCZ1Qqi8cJOrDm5Vrf14SXz-dfOj1K1KBbmpwlrqOk-s/Capture23a.png?psid=1
*Similarity: For a SharePoint List you also have the option to create several views very similar to what we see in Access. Access List view is very similar to the SharePoint List's default view. The Access Datasheet view is very similar to the SharePoint Datasheet view.
*
Employees By Group form
https://88rhuw.dm2302.livefilestore.com/y2pnwQcFyNjH35txUOBOCwR7StyMz11IdhpV39HUklx2ymBXrGRqfNIY6psIy4zxCs5fCqDQSvh9PX9ge-cUhHh0VFN6UF6QpbCNxG7hVYP2uE/Capture24.PNG?psid=1
I am now going to add some employees to the table directly on SharePoint after which below is what the forms look like.
Employees List form
https://88rhuw.dm1.livefilestore.com/y2pIRlb1BKHob1dt_amDuGZZdOmKR8wkNiNCe_bUQElVj_E4I25GyI32sOkLbrCO8iC23nEVfCv2j_JASJNcSnXjRBQPLo2WHL59zldIVEdWGQ/Capture25.PNG?psid=1
Employees Datasheet form
https://88rhuw.dm2302.livefilestore.com/y2pmE8OUCaQEnJV0QEYrHNoIynudC78hbHU9cNOFRyJT4wOUBY3P-ajJ6ZgZVvI3DeGTBqGzGp1wscrH48y3eL04-KtbuNepcfHlAadagV65T8/Capture26.PNG?psid=1
Employees By Group form - Now the data filters we saw earlier will make sense! The Employees table had a field named Group. Group is a lookup data type which has three options, Contract, Full-time and Part-time. The employees are grouped by their employment category i.e. if they are contract, full-time or part-time.
https://88rhuw.dm2304.livefilestore.com/y2p7D5GS-ciD2Ms883jZaGf67LsvO_Ce-gDbTTndg8ONNL_lF9qo-aVuhOydhRakbvxqIEAYDQBHqgdM1y8ffv2kYMRMhZcg-Fl-yU-dOexWnA/Capture27a.PNG?psid=1
https://88rhuw.dm1.livefilestore.com/y2pPJTo_o7ZHPVMABQXsD8N29QM7H8C8qpuJ4grDFfvAYIU-P4rm03BP497GdTUYJWM0EtSGmsIi5Pq-dOvFqe4HYO1glP8RpHdqb6LVaJJAX0/Capture27b.PNG?psid=1
https://88rhuw.dm2304.livefilestore.com/y2pCoptFns-lyZRLuI8_vRiTWjpa1vOC3KBLUTTZNoTn1yLBbXcJOT8yiuSpe4cfPKlMZbacGQwm_p89MEyiFwTOEPx8z6mq1QOE3Sh9kpyio8/Capture27c.PNG?psid=1
Below is the setup to create the three groups we just saw above. The left control is using the Group field and calculating the sum of the employees in that group.
https://88rhuw.dm2303.livefilestore.com/y2pw84Jv4yb2n__P3s9_Bh90BPavuO_NiyYcsPvoCJTnyRbobxVS5cumZUmxewVciPnsfzTbfa-4wnKetD_G3aHQpc74JVPsf9BCk55ahR1HNI/Capture28a.PNG?psid=1
Below is the setup which dynamically shows us the list of employees when their groups are selected, i.e. if you selected Contract group then this control will automatically populate all the employees who are on Contact.
https://88rhuw.dm2303.livefilestore.com/y2paccsStdLzWpVvlHlE144xUgUBHmN7bAuOsajJ37P0V1kVOm-1AJ-YZj8PbW9GdzBCkG0tEtchZcKTJoQMRIksMtw24wKn_0SNJmQiRVaJkU/Capture28b.PNG?psid=1
For this first table I have created a video which walks you through the steps I have described above.
(To view a higher resolution video click here)
Products Table
We are now going to build our second table i.e. the Product table. This table will be used to store information of all the products the Photography Inc. is selling. The steps to setup this table is exactly the same except choose the Products template as shown below.
https://88rhuw.dm2304.livefilestore.com/y2pjDiUlZXPksvRgOmCuTmObZlgnIJP24QqUFfsHPolTE_BTLEEy1277yyuWQuoOcAb-3LNjIJNSZROhF6jk7JJe60JtB0qwC_ctdAQOnXokBA/Capture29.PNG?psid=1
The Products template will create three separate tables, i.e. this template will create a products table, categories table and suppliers table. Forms for each of the tables will also be built. Below is a screenshot.
https://88rhuw.dm2301.livefilestore.com/y2ppq1_gpOGI7Zhbgp0LMvE4BgpiV9jewgEnDSb86VQXeNyee6S16m5LC7vlbIKvWJSwsWBcXTLrH0qV-1LOMzSSNzDSRT1sC4Kf13R5xxXNA8/Capture30.PNG?psid=1
I really don't need the categories and suppliers table for this app so I'm going to delete them. However, when I first attempt to delete the Suppliers table, below is the message I got.
https://88rhuw.dm2304.livefilestore.com/y2ppfUO7aHmw4btEenU7K9iyTA5Hy08H-mGHkgqEqyjgPUm1-5UzSFW4p7xekGwTEx3WOb5kbXzoleSnEHmQJNWPGKIH5yp0E6aWglEUXXeq_Q/Capture31.PNG?psid=1
There is more to this message than that which meets the eye. What this tells me is that Access does a lot of behind the scene job to create fields and looks out-of-the-box to make things a lot easier for the end user. However, in our case we don't need that table so I'm going to delete the field 'Supplier' from the table 'Products'. First, check if we have the field 'Supplier' added as an Indexer, if there is then we need to delete that first.
On the top horizontal ribbon, click on Indexer
https://88rhuw.dm2303.livefilestore.com/y2pwBPaRvWypqHaXpLm4nGMpJ-rGmgKWJNg0uwnyhVcslsrXR5Dqp_jfjv_yUYqMfGiXHNrdCP4uPYrgd3nTnjIam3G3PnQMO88gpHXRrSdmH0/Capture34.PNG?psid=1
https://88rhuw.dm2301.livefilestore.com/y2p1OMlY3BqdwTcDWCaV6nIdba2m6S0qhaquosR_2PfzDpD8ucYv4jVjSlIYcmO_QsDpHU4wk-Yej2xmiTH_NbKH01vyy-48t5mE0SsbUeDyj4/Capture35.PNG?psid=1
I am going to delete both Supplier and Category indexes. Then I am going to delete the Supplier and Category Lookup fields as shown below
https://88rhuw.dm2304.livefilestore.com/y2p6KHUdQYxW_lcF6rmoppX8Oxm0LTRBnqdENdnhaQlzyCrZkMOU1sDlN4QOpULfxtiwY-7MmzYdenoMMAJ_nngsMNVj07ADfgsfXIjmyLK6Fc/Capture36.PNG?psid=1
Now I should be able to delete both the Supplier and the Category tables as well. However, now we still have a 'By Category' form which remains. When I access the form below is what I see.
https://88rhuw.dm1.livefilestore.com/y2pl3GbmWeYsk0IkZCiMA8jBPtDjZ0YBjsUFx4XCXG__UcMMFtOaj4TohmbDRirxn_68iAE4zmnZT5gVHfwTU82IlDWUa4E-TyAXstBXxD11u0/Capture37a.PNG?psid=1
https://88rhuw.dm2304.livefilestore.com/y2pWd6IuuLDSLtATbtdEUZ7jryOq3LUh4S6jZMoSSFhQoaFFO7tu3BK7hXTkvLtrS0i-pUUCMF0-lI7M1nU3JswK9efKtOhdvCIb0ODGzjLiwg/Capture37b.PNG?psid=1
I see that the Category field (which was a lookup field) still shows up even after deleting it. For now I am going to change the 'Group By' from Category to 'Quantity at Hand' Below is a screenshot.
https://88rhuw.dm2304.livefilestore.com/y2psjMWmf-kE8P0w9UJueLyjhFXhSEeTAbILY1DrvbRiKZ3wUaPnxxAfXZLPrugFtIxLR0dlciOp49OxaIPJTFGuXqeONiMYBCm7Fu0j9xV9dc/Capture37c.PNG?psid=1
I saved the changes and launched the app to confirm that the deleted indexes, lookup columns and tables didn't cause any issue…but they did. Below is a screenshot
https://88rhuw.dm2301.livefilestore.com/y2pZRN9pFtQwaPb4cDqun0PhSOqul4wUGGuQrDCf_8FFnlTRGqjafcU_NsskKAAxn8J57hu-08Vmzon6cTeU8iaJmD3kXoQfM7DrWcogvRgWwo/Capture37d.PNG?psid=1
So it looks like the Access app is still looking for the field. So here's what I am going to do. Go back to Access and add a Category field to the Products table. I'll make it a lookup field and add 'Camera Body, Camera Lens and Camera flash'. I will also change the name of the 'By Category' form to 'By Quantity'. Save it and launch the app.
This time I shouldn't see any errors. Below are screenshots.
https://88rhuw.dm2303.livefilestore.com/y2p6AeC7Fg-cSdP5deXp44FL-ggP2xomprZU0JyS3q9YAk8KiTOxU8h23xlIjXmkVkkvpgjmGdh1MAiewxacMr8QisAkbu9Qw91tMgSuONvcQs/Capture37e.PNG?psid=1
https://88rhuw.dm1.livefilestore.com/y2pmDiIIYM5wGPegopZGAjsWMVUKYviH0DWswWdtUwjwlhjntfsi6IEvPgVh7YBMx5v-YMMSR0lb-zayOE0lue6ebF2EOpfgJVbPgryghrSzv8/Capture37f.PNG?psid=1
https://88rhuw.dm2302.livefilestore.com/y2p5BAR-eEPXNaUAxgt7uSS47NyvpycyGGNy98jKgr2nykLJIpKHFV-1kel0mlqTudscYAXpBKgaW79II3mnLvxLXdRwRnw5LNOr4Ki4ZVMh2Q/Capture37g.PNG?psid=1
No error!! Success!!
*Similarity: The lookup field in Access looks a lot like the Choice type list column. Also Access has a Lookup field which is very similar to the Lookup column in a list.
*
For this second table as well I have created a video which walks you through the steps I have described above.
(To view a higher resolution video click here)
Customers Table
We are now going to build the Customers table. The process is exactly the same except choose the Employees table template as shown below.
https://88rhuw.dm2303.livefilestore.com/y2pgi1r8Um9EuLsdkUB9jZefoDKbFiGNg0MLcWlDUw60vNynWNVuhKeUtNtN0LeXmzjY4SmiLR8xHWd5mcs2YXYpX7Kyxksh6n51uEGmbQ7_qg/Capture43.PNG?psid=1
Once the Customers table is created, If you click on the Navigation pane, then you will see the respective new forms as well. Below are screenshots of both the new Customers table and the new forms.
https://88rhuw.dm2304.livefilestore.com/y2p30PUB7I8a3NrgK5rqh-BbqiB-wJGEKZoBIXM1DVA2DmFqxUKaF9MDMYRoR86H30HNlWFoRrS2QXG23w97YcH6JYB2xu-tnGDaNg1hNiaBpU/Capture44.PNG?psid=1
The customers table is very similar to the employees table except that it has a different set of fields in them. We will focus more on the By Group1 form.
The new 'By Group'1 form for the Customers table has two controls. One is called Group simply because this control shows the group of customers and counts the total number. The second control on the right will give a four descriptions of the Customers. The four descriptions include Display name (includes first and last name), company, job title and work phone. Below are screenshots of these two controls.
https://88rhuw.dm2304.livefilestore.com/y2pbyZJowdRTt04eC9maxrZdRDyf-kdo-prkWUp6znvIpo0VH2WoYPIA04iFk-hcVItPQViDDivTaD9zchAKI5JqVbp2dfTyNrx_IrGvvpQjZE/Capture47.PNG?psid=1
https://88rhuw.dm2304.livefilestore.com/y2pkGprJC-fzoCmD-1MDaQMXAx6mkUjD2yC_dsSXc7QIgl_4ybzvUSu6swVS9HE4MSYgm6q-u5lzSTUM_36Tj5j7EIcNfldyjLJPgjM4d7j-GY/Capture48.PNG?psid=1
Orders table
We are now going to build our last and final table, the Orders table. Below is a screenshot of the Orders table template. The description of this template states ' Orders for selling goods to companies or people - includes Order Details, Products and Customers.'…Well…ummm...I already created the Products and Customers table so does this mean that when I now create the Orders table I am going to have a secondary Products and Customers table? *Gulp*…Lets' see…
https://88rhuw.dm2301.livefilestore.com/y2p0pVzFyog7wVZT0FHtul9yvPhxFJOv-5ga2_Wl4VLMT4P5jcC7wPL5UZbIHnzo1ZgZ8pgkGLRMtq7JPs7uwXtBlK6iAwtG4Za-vQYMzSEQKA/Capture49.PNG?psid=1
Phew…It didn’t!! You will see two new tables created. One is a Orders table and second an Order Details table. I also see a total of 6 new forms created. Later on, we will look at what changes were made to both to all the tables including the employees and customers.
Lets' go through these tables and forms one by one. Below is a screenshot of the new tables and forms.
https://88rhuw.dm2302.livefilestore.com/y2p5vh_W8nUEg5Wyu_Nt_ir5w2ppQiqETEk_bycD7MhgEE6EmxKrJfT5l8LjZ014YvIXkG_QYGQO2mPNDdRE4rXhwrHpuDqB3EHPMvVbtUr-c8/Capture50.PNG?psid=1
Below is a screenshot of the Orders table. As I was viewing it I immediately noticed the two lookup fields. I'm very impressed with how Access can 'read between the lines' so to speak and make the connections needed to generate desired outputs with pre-existing data.
https://88rhuw.dm2302.livefilestore.com/y2p2wLbu0HtFJwKQm8n8cDFPLkXLtBvvYZVPSbiJEfSeiuMTczVgZRwj7O36VHQiklFtZGvfxdpBGnaPLWMI0TCjm6xcoGzCJZSPojI0YzrkPs/Capture51.PNG?psid=1
Below are screenshots of the Order Details table. I see three lookup tables here, two are the same as the Orders table and the third one, Status, is where values have been added manually.
https://88rhuw.dm2303.livefilestore.com/y2pKsfJAYj6rxXeVm_5er4vXE7D0irhtPSU-ssKCI768px2dsJpic6VW6rfpicQmL4R8x34m_0ILCvlEI1Qfd4kXiZdtvTSxhV8MQQ4QNoLqqg/Capture52a.PNG?psid=1
https://88rhuw.dm1.livefilestore.com/y2pSNNVj7FXcgeSENvcC-g2M5fOPIH9vq2vTvV44IRFNS8yTGbR_oCt8AlXk9wNgOvkn5ShIqez9NVSrGSGpXpNylHCLN4IqhiIT541MFFDvLM/Capture52b.PNG?psid=1
The Order Details table is hidden which is why you see the table looks grayed out and if you look at the details you will see the 'Unhide' option.
https://88rhuw.dm2302.livefilestore.com/y2pfAgKBplwqc4uQvXF0o__NQ1Io9CVYrW8hiXJzxNnvsz4O5FVe0YquFtbG4UL88fsKTchCNVPUeCLD7M3jdcJUeSzbp9i41IciiNbQtwBJA0/Capture53.PNG?psid=1
https://88rhuw.dm2303.livefilestore.com/y2pOybdQAioArpIyx89dA8z2SgINIAZq0skEm74s6kBM6iQE-VTD1t_qlGfcgQo2WJB_ZNVu41Qd9rQx8UpZQFNMILw01aikoXdO7HiPVUrclM/Capture53a.PNG?psid=1
Most of the Order forms are pretty straight forward as well and have very similar setup to the forms we have viewed for other tables. However, I do want to focus a little more in detail on the 'Orders List' form. This is the first form we have come across which is using a very popular control called 'Related Items Control'
In the screenshot below you will see the Order Details has been added as a related item. Now you see why the Order Details table was hidden?
https://88rhuw.dm2304.livefilestore.com/y2pLfyF8hUptWm0sOyjS2SDBbft0ZV7_dLdVNQnCZBvjYvl8M06ayI6fUvS1YI7nLQASSPcCZdPHzqyQV_HrNkxSYmsRg-15Sq5a0oS51kR4Uk/Capture54.PNG?psid=1
Save this app, launch it and view it on the browser. Below are screenshots of the tables on the browser. Currently these tables have no data.
https://88rhuw.dm2302.livefilestore.com/y2ppjYc732CZAYh-zThhTKgJJ8SGtaonrbx71NGkRvJmCO5HZEYwOsJlVEB62iqmdMMYQJZmtaD3StOb2JqYWmpj7u-sJVU4XfEBC81vwHhd10/Capture55a.PNG?psid=1
https://88rhuw.dm2304.livefilestore.com/y2pTGj4LytqZjhchEGVcrjUwKrlHoea8JKSKLz0vbTMhhBIpH6GI-ysCS_8d8KpZYhocqCv2-qhgD29ZrMgP9MtyJMmrMOwmqGsVG8VJ3sYrj0/Capture55b.PNG?psid=1
Also now you will notice related items controls have also been added to both the Employees and Products list forms as well. Now you realize what were the changes made to these two existing tables when the new Orders table was added. *Once again, I'd like to point out the remarkable job Access does to make changes to already existing data.
*Below are the screenshots.
https://88rhuw.dm2301.livefilestore.com/y2p4j5ADzgcvvIFl1uOGFFoiNLtNajcNxTHeb80tIhBgs8aF5o8qN5qB3yVs5BAC_Kx7ab1LDuBu3C4mYWeTl2RAwO1lEg6-FkmSDGusVUPKz4/Capture56a.PNG?psid=1
https://88rhuw.dm1.livefilestore.com/y2p9P-K9rnwcLmZu7FKYP8EpNJkXSaMPoDmv9GiUfjm1mV19l__lCvz4_n9BMJDit7_PCO1ZecuaeMDrrBgc9PsFfpgvaDcnwVTnusneYF-354/Capture56b.PNG?psid=1
I have created two videos, the first video which walks you through the process of adding the Customers and Orders table.
(To view a higher resolution video click here)
The second video is built after some data is added in these tables to see how the 'Related Items' control works.
(To view a higher resolution video click here)
Re-Designing
In this final design section, I am going to make changes to the forms.
Change the design of the Employees form.
Similar to what we can do in the InfoPath designer I am going to change the design of the form. I am adding a title, image and move some of the fields. I am going to launch the Access application and edit the Employees List form. From the Controls ribbon, I am going to add the 'Label' control to give this form a title. I am also going to add the Image control.
https://88rhuw.dm2301.livefilestore.com/y2p4EQ_ri07KZHIOtshlcDCQOsS7LJNNnPpF99W3rCNhFglyBtRXKLCXhqjEhKq18HwvYZCKeHk5eiq4P6DmTHNLqJ0RhLmr6r14JWUt-YF5kE/Capture61.PNG?psid=1
https://88rhuw.dm1.livefilestore.com/y2pvhTtaG9fAibu6NSn_j1U-dJ5L3EDAjUDmzqHpDdtF__2xOJ9sY3-WrMDFY3tO7MrpzwmcCCekpiqgMgmcISVykdqkzr5wd4DnbevDxwcoX4/Capture62.PNG?psid=1
https://88rhuw.dm2303.livefilestore.com/y2p1_V2v0AC9EOiYwVRhu32_r8c00xvc1HaNt-GBiXf_8YA1m6MwcuyE8D58L8HWFdSB-ar487iJYbq4EEQ21JgFQU79Ndi2PSaStZyjFHwlIg/Capture63.PNG?psid=1
Change the 'By Quantity to Category in the Products table
Earlier in the Products form I added the By Quantity on Hand as a control. This field only shows numerical data which can be confusing, so I am going to change it to 'Category'
https://88rhuw.dm2301.livefilestore.com/y2pQzYyFMI1WIqowgPmgwR_XItKAGBbaklsSsEegGDOofwlFIL-whbszv6vePV4JF-j8GZ8ygbtkvgaHztJut5r4JN83ILh8weBBqe5kLTwC7Y/Capture64.PNG?psid=1
Below is the video which walks you through the re-designing process.
(To view a higher resolution video click here)
Building Macros
In this section I am going to focus on building macros to display certain forms. My Intention to do this is to try and mimic InfoPath Designer's 'Form Load' rules. In InfoPath you can force a certain view of a form to be displayed by creating rules. In Access app you can do the same, but instead of rules we build macros.
Change Table View
I want a comment to appear on the screen when a user is on the app telling the user to view the existing orders before adding a new to avoid creating duplicate orders…
Then I would like the 'By Status' form for Orders table be set as the default i.e. after the user views the comment and clicks 'OK' you will see the 'By Status' form in the Orders table.
https://88rhuw.dm1.livefilestore.com/y2p1053ykzqvCE_AzvYQGOLGaST0DtOKUGtD6CVx4M7Pjw5Vnj12BOXm2wECepgUPmLmnM7GmxL3f2QyJTYvNx_TSMjwMETkgE5oQKMTvWTcjc/Capture72.PNG?psid=1
In the Action Catalog choose the Message Box action and type your message.
https://88rhuw.dm2302.livefilestore.com/y2pbaIKmSqUL3TinDb24TPe6U_jlqkw8eYfYbe5SdreuH_3ChBR5Bh1iS8jpOIdtcEJmXdrNxlnQtiyw82toTjepKFurvOLABUtNKXN26Iumw4/Capture72a.PNG?psid=1
https://88rhuw.dm2303.livefilestore.com/y2pSNyk6v9QYkfQH-_v-xtS6jS3fvEbGD8w71vGgitBCbsmVXKgTNPk8_EsN0ghyhs4rysDJXbnh7QhzS9k2M_TJ3IEugFMl2hfjmP7mjm9JTA/Capture72b.PNG?psid=1
Next choose the Change View action and fill the conditions as shown below. You will not be provided a drop-down list to choose your table and view name, hence you need to be aware of the names before you build this macro. When you attempt to close this macro or save it you will have to name it. I recommend you give it a name that contains the table name. In my case I named it 'MacOrders'.
https://88rhuw.dm2303.livefilestore.com/y2pCT6vaP0xdZFqVt-40GGqX4oeDwYvC2zK0wmdIlIxh0zSXu-8f4IvFGSq1Z_Ia0OeNv7R3Bf38qFMEa72LABJzk6VuZ3QPx9_tdhlSroRT0U/Capture72c.PNG?psid=1
On Start View
Click on Advanced and this time select 'On Start Macro'.
https://88rhuw.dm2304.livefilestore.com/y2pL30iWZJiXmqP1bTWqYh2J65ZijL_nw9eo6QYqDavoDkpanBQfkp-hixMzMjcoGUgSm7oz-jYI4SugY-9gpjAHKtHnVXxZEiaMJO3grpakrk/Capture72d.PNG?psid=1
https://88rhuw.dm2303.livefilestore.com/y2pJ5KBCNXLchlLJrBWAiQFutkBHRgn2vgk-KpPzJvOslqRLaozxmXp7s787eacO-LKJen_mb43iMhWkDPqLKclr5tzK5B8t7V4AsGSA4wGS0w/Capture72e.PNG?psid=1
You should see the macro you created. Select it, save the on start macro. As you can see from the screenshot below, you can directly add a Message Box and Change view in the On Start macro, however, over the period of time you might add several actions here which can get confusing hence I recommend that you create separate macros. *I do want to point out that this recommendation comes with a caveat that if and when you delete the macro (like the MacOrders) then you must remember to delete it from the On Start macro as well. If you don't then you will get an error. I have re-created this scenario in the video I have provided below.
https://88rhuw.dm2304.livefilestore.com/y2pKy7CDwKsKstwbd2M0tp58k0F8yygVK4bnLrPWcIG7ZjMO5B90iAMn1i8WWEPQ5uLH0cJdw4HAUoTQ8KyUKSuVW-S0kRx5sYtTxhk1EIYP8o/Capture72f.PNG?psid=1
*After you have saved the app and launched it. You will see the below message. Notice how we do see the Employees table first, but after you click the Ok, you are re-directed to the By Status view of the Orders table.
https://88rhuw.dm2301.livefilestore.com/y2pjhho5Nz3TX_Tqt-pLz0oMIEJn-eLcIwmTDPIGQ8B6SyCdFn9NxctY9Jl7_pp4AewGQv5_LdO-EMOWtVKdqV5p4Lut045YW88aRqtNGsIBOk/Captureg.PNG?psid=1
Below is a video which walks you through the process of building the macros.
(To view a higher resolution video click here)
Boundaries and Limitations of Access App
When it comes to Access web app there are several limitations hence if you are a die-hard Access user then pace yourself for the some of the limitations you are going to run into when building the Web App.
Here is a screenshot of what the ribbon options are for the Web App
https://88rhuw.dm2304.livefilestore.com/y2p7Z7IJ1QWNSBqsp1aK58Xh812xFDN1w4mGRjChxiiq0jn4WHDjf-dDp8P5zA_EstOFVkhmlbTMaXSuzWf3P0alb7OZPCLQcQTySxwUqbu7Cc/Capture57.PNG?psid=1
Now, here is a screenshot of what the Create ribbon options are for a local desktop database. See what I mean?
https://88rhuw.dm1.livefilestore.com/y2prs_zVhGQ_AP8qBfg9CD2GLIwt631BwTGwmPWlN_OMkBbUTnQAVSrkSZQ57pRzNCXr2ecQ9qrCcU34lTlvqg6wtOn3rSHWzxYrn6EX3e26GA/Capture58.PNG?psid=1
Below are a few limitations that I ran into which I immediately noticed.
Queries and Forms.
There are several options available for a Local Desktop Database when it comes to queries and forms. The Query Wizard is very popular which is not available in Access Web app.
https://88rhuw.dm2301.livefilestore.com/y2pSpJ4cxFIMo3WR6pq4fjTmpMqmo9rVmks15bpYuSymP9bfs_-jP3dMjz9RIcmSALkliAc-fXgyQgEv8pWOu9clLfZ43BgnpoK3O0RIVIsabA/Capture59.PNG?psid=1
As far as forms goes, the most popular view is the 'Split Form' view which doesn't exist in the Web app.
https://88rhuw.dm2304.livefilestore.com/y2pvMiLIixPWDYb_WOEegXnF4QVAI09xeLsN8rVsTcy4CihmVi8kdJD4dRO5NqAyCdJvKlwaRYqsN-65YMt4KcIv2FXY2vWviP8WVhocji_Faw/Capture60.PNG?psid=1
There are also limitations for Macros. Below is a screenshot of all the Action Catalog currently available in web app.
https://88rhuw.dm2303.livefilestore.com/y2pldQpW3p4kdQKHzRByxgujVhNAzcbm3Fr0SJGKul_kn5qxYd-LnsbIzZpCq79hkn7LkGOZAIt4xTCy6AiJ0LH8v3QQ4JiS8tr-rSDT5vMQ4w/Capture70.PNG?psid=1
Now, below is a screenshot of Actions catalog if you are creating a local Access database. See the difference? The web app has 20 actions available while the local access database has over 60.
https://88rhuw.dm1.livefilestore.com/y2ps6N2oFp9ghn1rm23BPo2HoRkqg4B5ZftN8VzMEJ7uDVDiJzseBOTof9GCd23LpXhkQhK1B_rKUUphIYk-xvJF7F6SkMPo71eM26Qlhb7I0A/Capture71.PNG?psid=1
You can view all the boundary limits at http://technet.microsoft.com/en-us/library/cc262787.aspx.
Also look at the article which lists the changes in features and functionality between Microsoft Access 2013 and Access 2010. It also describes how the changes might impact your Access database and provides alternatives for some of the removed features and functionality.
http://office.microsoft.com/en-us/access-help/discontinued-features-and-modified-functionality-in-access-2013-HA102749226.aspx
Conclusion
I am a big fan of No-Code solutions using Lists, InfoPath Designer and SharePoint Designer in an On-Premise farm. However, this deep-dive study, which I am sharing with you has changed my perspective of Access 2013 web app with SharePoint Online. I am very pleased with the features and functionality it provides.
See Also
An important place to find a huge amount of SharePoint related articles is the TechNet Wiki itself. The best entry point is SharePoint Resources on the TechNet Wiki