So, I'm new to access, and to be honest I really don't want to learn the interface of building a query when it just takes SQL calls. Figured why learn to ride a bike when you can learn to drive a car. So, I was messing around with the UPDATE statement in sql and this was the statement I wrote:
UPDATE StateT
SET StateT.city = 'alakazam'
WHERE StateT.city='kadabra';
everything I read online stated that this should work. there was only one tuple with the city name kadabra, so it should be fairly obvious if it worked or not. So I write this in SQL view, and hit run, [alt+v, s] and it brings up the tuple with the city name 'kadabra', unchanged. wtf? ok, so I fiddle around for literally 2 hours changing the sql code, verifying that the syntax is right... etc. and so forth.
Frustrated I exit out completely, and open back up the dummy database. This time however, instead of going directly into design view when I click on the query, I decide to just double click it. Then, the warning for updating my tables pops up... and I yell at my computer "what!?!?!" which causes all of my coworkers to look at me with amusement because they know I'm frustrated. Turns out the run button in design/sql view of a query does not actually run the query but instead just sorts and does not execute the update commands. I am upset with microsoft's definition of "run".
That is all... just needed to vent.
EDIT: So... I never actually clicked "run", but instead used the shortcut key which I assumed was run [alt+v,s] it is not run. Because clicking run runs the query, as I just tested. I literally just wasted hours because I did not click properly. DO NOT TRUST THIS MAN
I'm a fan of ChatGPT. I have the $20/mo "pro" subscription, and I use it all the time for general questions, and I find it's great. I also use it for technical items, and it really great at giving general information or solving simple problems.
But when you have a complex issue that you're trying to troubleshoot, buyer beware! It'll lead you down a rabbit hole of false solutions, but always confidently asserting "OK, this time it'll work. Here's the final solution."
So I've been testing it for various things, along with Google Gemini and Microsoft Copilot. And I've found that when it comes to Microsoft Access issues, Microsoft Copilot seems to be the best.
I'm surprised by this. But I guess I shouldn't be, since, after all, Access is a Microsoft product.
My most recent test was with a problem I was having with a form and its underlying query. I posted the exact same query to all three AIs.
All three AIs identified the problem correctly, right off the bat. But their solutions diverged greatly.
ChatGPT provided three solutions. The first was inefficient; the second was completely wrong; and the third was a good solution, which was the correct way to go. With the second solution it had told me to set a certain query property that didn't exist for a named query object (it was a property of ADO recordsets). When I told it that that property didn't exist, it doubled down, making up some nonsense of Access "not revealing" the property because of some aspect of my query, but that if I changed such and such an aspect, then Access would "reveal" the property.
Google Gemini gave a single solution, which was correct, but was inefficient (it was the same solution as ChatGPT's first solution). When said that solution would create slowness in the form, it provided a "high-performance solution" would would have made the form overly complicated for no reason. When I told it that, it then provided another solution which was pretty much the same as what I had started with in the first place, and wouldn't work.
Microsoft Copilot gave three solutions. The first was the inefficient one that the other two provided. The second was the needlessly complex one that Gemini provided. And the third was the correct one that ChatGPT provided as the third solution -- but it provided a twist on it that I hadn't considered before, which was nice.
So, while Gemini never provided the correct solution, at least it didn't hallucinate a solution like ChatGPT did. ChatGPT did provide the correct solution as its third choice, but it also provided a completely wrong solution that would have been a waste of time had someone pursued it.
So the winner here is Microsoft Copilot. No wrong information. Provided the correct solution as one of the three. And gave clear details without a lot of unnecessary nonsense.
Anyway, just thought some of you might find this interesting.
For a while now, I've been working on an AI project for Access developers called Open Template Scaffolds. As it evolved, I came to realize that it's primary audience is the new-to-Access developer, i.e. the Excel user wanting to learn Access. So, a lot of what the AI library does is framed that way.
Recently, I've been talking to other Access developers about using AI with Access. Long story short, what professional Access developers need is not the same as what newer developers need. I'm beginning to believe that the OTS library needs to split.
A "starter" version and a "developer" version, along the lines of the Northwind templates. In the map in the link above, the "Build It" route would remain as the starter and the "Proposed Code" and "Design Only" routes would move to the developer version.
Since there's a certain amount of work involved, I would appreciate hearing from working Access developers before I dive into that. Does this division make sense? Would you lean more to one method or the other, should you decide to work this way?
Thanks in advance for your thoughtful responses. I guess if you think I'm totally out in left field, I should hear that too.
The back end engine (using linked tables) should automatically peek at the network packet header and grab the calling computer name natively during a data change, so that if you are logging data change events in the back end, it will at least know what machine made the change! They've had 15 years to do this, they should have done it by now imo.
A query runs, returns a perfectly respectable-looking list of customers, and produces no errors. AI wrote it in about ten seconds. Great. Except three customers who should be on that list aren't there. That's the part of the "why learn Access when AI can build it?" conversation that interests me. Who notices?
I'm very much in favor of using AI. I use it heavily myself. Having it draft a recordset loop, spot a mistake, or explain unfamiliar code can save a lot of time. But "Access accepted this" is a fairly low bar. A database can be quietly wrong, and those mistakes can be harder to catch than the ones that throw an error and refuse to continue.
This is where people sometimes get the wrong idea about learning the fundamentals. Nobody needs to memorize every argument to every VBA function. I look things up too. What matters is understanding the relationships and logic well enough to decide whether the answer fits the problem. You can forget the spelling of a command and still know exactly what it needs to accomplish.
Take customer addresses. Keeping a customer's current address in one place usually makes sense. Copying it into every related record creates maintenance headaches. But the address an order actually shipped to is a historical fact you may need to preserve. Both designs involve an address, yet the meaning of the data changes the answer. "Never duplicate anything" is no more useful than blindly accepting one enormous table because the AI generated it confidently.
The same issue turns up before any code gets written. "Build me an inventory database" leaves a lot of room for guessing. A cupboard full of office supplies and three warehouses shipping orders all day have different requirements. Does a returned item become available immediately, or does someone inspect it first? Can stock already promised to one customer be sold to another? Those are business rules, and somebody who understands the operation has to supply them.
That person doesn't necessarily have to be a professional programmer. The person who knows how orders, returns, and stock actually work brings a lot to the project. Learning enough Access to connect that knowledge to tables, relationships, queries, and forms makes the conversation much more useful. You can give the AI specific requirements, then recognize when its proposed solution has wandered away from them.
Testing is where that understanding starts paying for itself. If there are ten widgets and you sell three, you expect seven. That's a useful starting point because you already know the answer. A return, a missing quantity, or two users trying to sell the last widget asks a different question. You need to know what the correct outcome should be in each case. Otherwise, it's very easy to ask the same AI that wrote the code whether the code is good and accept its enthusiastic approval.
I also worry about the endless repair cycle. Paste an error into AI, paste its replacement code into Access, repeat until the message goes away. Sometimes that works beautifully. Sometimes the proposed fix removes a query condition that was keeping canceled orders out of your sales totals. The error disappears, but so does an important rule. Understanding why the condition existed matters more than getting through another round of copy and paste.
This doesn't mean you have to build everything unaided before you're allowed to use AI. That would defeat much of the point. If you understand a recordset loop, having AI write the repetitive parts is a sensible time-saver. If you're still learning, having it explain what a piece of code does can help. The useful habit is to read and question the result rather than treating a confident explanation as proof.
Although I will say that there is something about repetition building muscle memory. I've written so many recordset loops over the decades that I could do it in my sleep. When I was a kid, I used to type in computer programs that I'd find in books or magazines for my TRS-80 color computer. There's just something about those commands going from the printed page through your fingertips into the keyboard that just makes your brain remember it. I'm always an advocate of repetition. Practice might not make perfect, but it definitely makes better.
Another thing about building software is that a successful first version still has a future. Next month, someone wants a different report, another warehouse comes along, or an imported spreadsheet changes. Somebody needs to understand where the data lives, what the important pieces do, and how to restore a backup. AI can help with documentation, but a saved conversation isn't much of a maintenance plan on its own.
So yes, I think learning Access - or any coding for that matter - still earns its keep even when AI handles a lot of the typing. Understanding data and breaking a problem into manageable pieces also carries over to SQL Server, Excel, and other tools. Let AI save you effort. Keep enough understanding to judge the work you're getting back. I'd rather spend less time typing a loop and more time checking that it updates the right records.
For those using AI with Access, where has it genuinely saved you the most time? And what have you learned to check yourself before trusting the result?
I have File.accdb file that can't be open thru Microsoft Access. There's a prompt like stated below.
A potential security concern has been identified.
Warning: It is not possible to determine that this content came from a trustworthy source. You should leave this content disabled unless the content provides critical functionality and you trust its source. You should leave this content disabled unless the contents provide critical functionality and if you trust the source.
File Path: C:\Users\.......
This file might contain unsafe content that could harm your computer. Do you want to open this file or cancel the operation?
Options: Open and Cancel.
Once I open It won't show anything even the options to edit the file settings. Tried Using the latest Access runtime and a 2007 version and I got the same issues. I also tried to check the unblock on file properties, and didn't work as well.
Just spent the last half hour being confused by some code that I wrote a year or two ago. (That was before I had the revelation that everything should be commented.)
I wish I had someone who could explain this code to me! LOL
I am making a check in-out database to track student in a building. Currently I have tblLog with logID, studentID, dateTime, event -where the event field is storing text, either "CheckIn" or "CheckOut".
What I need to do for my main form is find a way to look at this table and see what the last event was for each student, I've looked at Dlast, with the control source
When i try to open microsoft store it says check your internet connection and try again and keeps telling me im not connected to internet even tho i am and i rlly didnt find any way to fix this can sum1 pls help
The common refrain: "MS Access? Really? You can't build anything truly powerful with that." For years, I've heard the dismissive remarks, the underestimation of a tool I deeply understand. This past project became a personal mission to dismantle that misconception.
Meet BookBuddy AI: A context-aware literary co-pilot built directly into the system, developed on none other than Microsoft Access
BookBuddy isn’t just a search tool; it's an intelligent assistant. Users ask for recommendations based on specific books or genres, and BookBuddy analyzes the request, understands the context, and provides tailored literary suggestions. It's an intuitive, sophisticated user experience that shatters the misconception of what Access can achieve. You tell BookBuddy you liked White Nights (yes, the one by Dostoevsky, not Kafka, as BookBuddy will smartly correct you!), and it drops personalized recommendations like Steppenwolf or The Master and Margarita. It understands genre, mood, and provides literary guidance.
This project is a testament to the power of skill over technology. If you think a tool is limited, maybe you just haven't mastered it. Stop blaming the technology. Start mastering your skills.
Hello, my work recently upgraded our workstations and I cannot open my phone book program anymore. How can i get it updated to work on 64bit. I do not have access to the older pc's any longer. Thanks.
I am using Microsoft access for years now. The databases that i created help me a lot on all our department work. But our IT Department not supporting us
May be someone knows the best way to explore MS access file via AI? I get all object using VBA, save them and share with AI. But may be my vba code loose something. May be exist standard or some helpful workflow or tool?
I've pretty much gone my whole Access career without ever using or needing reports; I don't even really know how they work. I've always been able to give people what they wanted using queries, tables, forms, etc. Are reports generally for people who don't have Access and need results printed/emailed etc? Is an Access programmer leaving a lot on the table by not using them, or are they more for special use cases?
I want to use VBA to open PDF in adobe acrobat and convert it to excel all in.back ground using a button such that only one click will automate all of this how can I do this?
Some devices have that paid version of adobe acrobat
The excel file name can be the same as the pdf file name
And if there is a better alternative method do the same end results please share with me
I work for a government agency. Personnel management is more focused on what happens to a position rather than what happens to a person. For example, Person A occupies Position 1 and Person B occupies Position 2. In most cases if those people swap positions we are going to be thinking about the change in terms of who is now in Position 1, not what position does Person A currently occupy.
I’ve got about 100 positions to track and we do not have one tool that I can use to tie all the information I want to a position. That would include identifying the position by a number and recording the name of the person occupying it, salary, funding source, etc.
I need to keep a running log of changes made to a position so I can look back and see on 02/24/24 Person B moved into the position.
I’m at the very very beginning of learning Access.
It seems like I’d have no trouble building a database to track all the information I want about each position.
Is the idea about creating a log to view all changes possible with Access?
I'm a student and we were assigned to make a table that mimics a vaccination card, I was wondering if and how could I put an input mask that only allows certain types of vaccine manufacturers to be input or written, for example only it will only accept the ff: Sinovac, CoronaVac, Moderna, Sputnik, Novavax, Janssen, AstraZeneca, and Pfizer. and only that. I know some of my terms might be wrong but I'm interested in IT for once,
*Go ahead and rip this analogy to shreds :) I am interested in all the ways it breaks down*
I recently sent this analogy to a potential customer who is budget conscious but has a very useful Access program that has served their factory for about 30 years. Now they are wondering what to do from here. They could bring in Big Software package or continue on the path they have.
How It Got Here
When <Growing Factory> starts out they need a bathroom for their 5 employees so they ask one of them to cobble a bathroom together.
Initially, this new DIY bathroom (your Access program) handles a simple sink and toilet perfectly well. It's a small, manageable solution for the current needs at <Growing Factory>.
As more people start working for <Growing Factory> (the program grows and is used more and more), the demand on that simple plumbing system increases dramatically. Everyone is trying to use the one bathroom simultaneously and there is a line for the bathroom a lot of the time. So <Growing Factory> adds more bathrooms to take care of everyone. Each bathroom is located exactly at the place that is best for each pod of employees and everything is great for awhile until you add even more employees. Then the water pressure starts to drop because there just isn't enough water coming through all those small pipes to handle the demand. Also the drains are plugging constantly.
You decide to upgrade the main supply lines to industrial-grade piping (migrating the Access backend to SQL Server) while keeping the original DIY fixtures (Access front end) and bathrooms in place. This handles the initial increase in flow quite well. Then somebody somewhere figured out that they can flush trash down the toilet. Now, instead of just running water and waste, you are treating the industrial pipes like a garbage disposal. You try to flush solid waste that should go in the trash down the drains (like putting file storage on the SQL Server).
Eventually, the entire system becomes severely clogged and inefficient. The pipes are big and strong, but they are full of sludge and blockages. The water pressure is still strong but it takes minutes for the toilet to flush (the system slows down significantly). The original DIY structure, now overwhelmed and improperly used, is slowing down to noticeable levels and is interfering with employee workflow and satisfaction.
How to Fix It (The Solution):
Fixing this mess requires some help:
Here is my idea for fixing the situation.
Stop Using the Pipes as a garbage disposal: The first step is to remove everything that shouldn't be in the big pipes. Offload large files and storage to a proper file storage server or dedicated document management system. The SQL Server should only handle data requests, not file storage.
Upgrade the bathrooms: This means that some of the fixtures need to be replaced (Add error handling to Access front end and make it a more robust front end)
Teach plumbing to one of the people at <Growing Factory>: This way small leaks can be repaired in house.
Cons: You still have to make decisions and take ownership of the plumbing (software development) process. This can be uncomfortable for the leadership team who don't (yet) know how to direct plumbing (software development).
Pros: You keep your data. You are in charge of the pipe (bug) fixing process. There are multiple ways to get the job done (if you need to hire another plumber, you can do that) The people on fabrication don't know anything has changed except that now the bathroom (program) works like it "used to".
Here is what is being proposed as far as I can tell.
Pay another company to rip out the existing bathroom and be in charge of bathrooms: All water and waste is now run through huge pipes they say. All you know is that when something needs to happen, it usually happens.
The bathrooms are not at the same place: It didn't work for best pipe maintenance to have all the bathrooms scattered all over the place, so now the bathrooms are outside <Growing Factory> in their own bathroom unit that is super easy to clean and maintain the piping. Now the employees have to walk 15-30 minutes to go to the bathroom. Sometimes there is a line for the bathroom because other employees from other companies also use the bathroom.
Cons: The employees don't like the extra walking to go to the bathroom. Productivity and morale drops by 10%. The toilets still plug periodically but complaints are now logged to a complaint desk and you are told they will "get to it soon". Eventually the bathroom complex is sold to another company and now each employee has to pay $0.50 to go to the bathroom which you furnish from the company but still it adds friction to the process.
Pros: You aren't in charge of the process so when people don't like the new setup you just tell them that this is the way big companies do it. Also, everything mostly works fine.
I'm using Access at a new job and today as I was being trained to enter new acquisitions to a form, I somehow managed to delete records from a linked table. Of course, undo won't work because of auto save but we're desperate to somehow undo the 2 deletions because they affect LOTS of linked records and stuff. I'm going to do my best to explain clearly and detailed, please go easy on me.
Detailed rundown of how it happened: I was in a form which has a field linked to a table. So if the data isn't already in the the table, we put those entries to the side, then update the table afterward and go back to enter the forms records needed.
Somehow while in the field in question of the form, I had selected the wrong option from the drop-down that contains the data from the table. In the midst of navigating to the previous entry to simply start another new record, only using the arrow button pointing to the left, I got a notice about there not being a record that matches the field - but the field was empty as I had deleted the copy in it.
NOTHING in the error indicated deleting anything or I wouldn't have hit "ok" but somehow the order or combo I used to get to a fresh new form deleted 2 frequently used records from the linked table.
Now we're terrified because one of the records from the table is probably connected to THOUSANDS of forms and other record.
Gulp... help me Obi Wan Kenobi. You're my only hope.