Editing MS Access Table automatically updates website - sql

I am in charge of a fire department's website. We have multiple fundraisers through the year and I am looking for a way to upload the winners to the website, immediately as the winner is drawn, via MS Access or Excel. I am assuming Access is the way to go being as it incorporates SQL and ODBC. I am not stuck on just using MS products. If there is a way I can just do this via the front end of the website, I am okay with that too.
I am the only one in the department that has any website background.
I know this isn't a "do it for me" site, but I am just asking to be pointed in the right direction or some sort of starting point. I have searched many different topics and I just can't seem to find exactly what I want to do. I can provide more information if needed. Thanks in advance.

Related

Accessing Google Calendar Events with MS Access Database

I wrote an access database several years ago that used VBA to pull events from my Google calendar and present them on a report. It worked great for a couple of years but then Google must have made a change and it stopped working. I didn't have time to figure it out at the time so I let it go but now I would like to see if I can get my app working again. I've been Googling all morning trying to figure this out but I'm just not finding anything that's helpful. I've looked thru the Google API website but it doesn't address VBA so I'm wondering if it's no longer supported???
So my question: is it still possible to retrieve Google calendar data from MS Access using VBA? If so, can anyone point me towards resources that explain how to do it?
Thanks for any help,
Chris
You should probably post the code you have. Also, consider recording a Macro in Excel, and modify it slightly to work in Access. The Macro Recorder can generate a lot of code for you (actually, you will probably end up with too much code). You can't record a Macro using Access, but the Excel object model and the Access object model are very similar.

Create a log for all SQL action in Access

I'm currently having a problem at work.
Someone in the is modifying the table directly.
For example in my database I have school names like ETS. Well, today it was named Polytechnique.
What I'm trying to tell who did this modification either by his/her IP address or any other way. I currently have no ideas on how to proceed.
What I would like is just the beginning of a solution as to let me figure a part of it . I sadly don't have any ideas for the moment.
Thank you (I'm sorry for any errors english is not my first language. Also I could be mistaken for the tags)
(Welcome to SO. Sorry no one answered your question yet. It almost never takes this long.)
The short answer is: No. There is no way to find out who was modifying your tables directly. Access does not have any kind of automatic change logging, and you cannot create any logging procedures in VBA that will monitor manual changes to the tables.
One of the requirements for Access as a front-end is that you trust your end-users to not open tables and edit the data directly.
To prevent this in the future, here are some options:
Right click on your table to hide it. However, the user can just unhide it if they know it is there.
In your Access db is an option called "Display Navigation Option". Disabling this will hide the side-bar so the user can't see the tables. However, pressing F11 will still display them again. This can be easily googled, so I don't recommend it if your users are motivated.
Store your data in a SQL server and use connection strings (not direct links) to retrieve and store information.
Distribute your Access db via Sharepoint. The user will only be able to access the forms you specify and will have no direct access to the tables.
Consider another software package for your problems.

access mysql database via Vb.net

Im really confused as to whether what Im trying to achieve is possible and if there are better alternatives to it, so here it is:
Ive created web application for a business, it allows customers to view details etc, and most importantly make reservations.
These reservations are stored into a mysql database which all is provided by my web hosting service.
everything up to here is fine and without problems
The next thing im trying to achieve introduces complications:
So I am trying make a application which will run on only one machine, and its supposed to connect to that database and retrieve all those reservations.This is where Im trying to implement a Visual basic application.
The easiest way would off been to email the business reservation every time its made, however this complicates things for the end user.It would be much easier to have an application that retrieves the data, simply on their desktop or a local drive as oppose to email.
I did research into vb.net and Net Connectors, but then came across the problem of my host not allowing remote connections to the database.
And this where Im stuck at now, I have no idea how to achieve the task
Thanks in advance for any guides or help
If your web host will not allow a remote connection to the database then you wont be able make a WinForms application to sit on the customers desktop - as you've worked out.
The simpliest solution is have a restricted Admin.aspx WebPage in the
website. This webpage would show all the reservations, allow Searching by From
and To Dates and possibly even allow for approval or rejecting bookings. This is a very common approach - I'd also recommend you have a special CSS for mobile phone webbrowsers so that your customers can view the bookings from their phone.

SharePoint 2010 Workflow

We have Oracle 11g base HR System. Now our requirement is to make some workflow on SharePoint 2010. So we comeup to the decission that we will make webpart to insert, update and retrive records from Oracle and then we will start workflow on that.
So my question was, is it possible to start workflow without is list or document library. If yes than how can I get some idea on that. Some URL where I can find more details.
Kindly let me know if I am going in wrong direction. Please help on that.
You can have site level workflows in SharePoint 2010 which can run without list or a library.
See:
http://www.sharepointbriefing.com/spcode/article.php/3910746/Using-SiteLevel-Workflows-in-SharePoint-2010.htm
However, there is not much information available in the question to evaluate weather its the right option or not. It depends on what is the workflow requirement etc.

Problem with an Access 2007 Project connecting to Sql Server 2005

So I've created an Access Project for one of my users so he can connect to a reporting database. The .adp project connects to the DB and he can query data to his heart's content. The problem is, no queries can be saved. Whenever he opens the project, he is presented with the following error:
"This version of Microsoft Access does not support design changes with the version of Microsoft Sql Server to which your Access project is connected. See the Microsoft Office Update Web site for the latest information and downloads. Your design changes will not be saved."
Again, this is Access 2007 and Sql Server 2005. My googling efforts - which are coming on a day when I seem to be especially stupid - keep bringing up information regarding this error for Access 2002/2003 trying to connect to Sql Server 2005, which is clearly not my problem.
I'm seeing that one can connect to Sql Server with the normal Access databases (.accdb in 2007 or some such), but I'm seeing mixed information regarding whether I want to do this or not. And since I can't get a copy of Access 2007, I can't really test this (topic for another time).
Before I do down that road, I'd like to get to the bottom of this one. Anyone have any suggestions, useful links, or useful knowledge? Or an older developer who knows the answer that is no longer needed, so I can eat him and absorb his knowledge and powers?
The account being used to connect to the DB was only a db_reader. I changed it to DBO and that fixed the problem - user can now create and save queries, and sleep at night knowing that tomorrow will bring a new day with new querying possibilities.
I'm not super crazy about this though the reporting database has been set up on a separate install/server from impotant App databases. I'm not worried about the user (or anyone on his group) blowing anything up. I'd like to understand why this is, and don't (outside of the obvious - reader is read only! I didn't expect that to extend to work in Access), and will try to do so at a later time. One of the unfortunate aspects of working at a dev shop focused on internal app development is, "well, it's working, you have other things to see to".
I am not sure if I can be of help here.
But you can have a view inside Access which connects to SQL database and use that view.
Alternatively, you can go the other way. Have a DB project with SQL Server & create a linked server to MS-Access DB.
Did you try linking to the tables through an ODBC connection?
CodeSlave, I did not. The attitude from higher up is "it's working, move on". I'm not sure the boss really wanted to go down that road anyway, but it's a moot point. I should probably try granting the account dbreader and dbwriter access and see if that accomplishes the same thing, but it being dbo isn't really a huge deal. Or rather, it's not a big enough deal that The Powers That Be want me to seek an immediate change.
I was going to try linked tables until changing the SQl Server account permissions "fixed the problem" (quotes very deliberate; it feels like one of those solutions you arrive at without a proper understanding of what it worked, which vexes me).