AI VS Access database

mobarak ahmed

Member
Local time
Today, 03:37
Joined
May 28, 2021
Messages
96
Hello everyone,

With the rapid advancement of AI, are there any platforms or applications where you can simply describe the tables, queries, forms, and reports you need, and it will generate an Access database to meet those requirements?
 
Not yet, but I don't think it will be long!

Chat GPT contains subsets of chat GPT's setup to do particular tasks.

There is one in particular which is designed to help you with Microsoft access questions.

You don't need to use these custom chat gpts as the normal chat GPT is OK ..

Here's one way you might go about it...

Explain your problem to chat GPT. Do not specify any particular platform to solve your problem within. Microsoft Access may not be the best route.

If you want to use Microsoft Access then encourage chat GPT to explain the solution in terms of Microsoft Access .

Chat GPT will tell you which tables you need, will probably describe it the forms you need.

Once you have a list of tables you can ask chat ebt to write the VBA code to create those tables.

Now in the Microsoft Access database interface you will see a list of tables on the left.

Select one of the tables and then in the top you will have a selection to create a form. one of the selections will create the form from the selected table.

This is not the end of the story there's still loads to do. You could continue your conversation with chat GPT and you will, need to ask questions within this forum.
 
Here is my answer again, but with the chat GPT treatment!

Not quite yet, but I don’t think it will be long before something like that exists!

Currently, ChatGPT includes subsets designed for specific tasks, some of which can assist with Microsoft Access. (Microsoft Access Co-pilot) However, you don’t necessarily need these specialized versions—regular ChatGPT is already quite capable.

Here’s a potential approach to achieve what you're looking for:

1. Describe Your Problem Broadly:
Start by explaining your requirements to ChatGPT without restricting it to Microsoft Access or any specific platform. This way, it can suggest the best tools or methods, which might or might not involve Access.

2. Focus on Microsoft Access:
If you decide to use Microsoft Access, guide ChatGPT to frame its solution specifically within the Access ecosystem.

3. Table Design and VBA Assistance:
ChatGPT can help you identify the tables you need, along with their relationships. It can even provide you with VBA code to create those tables automatically.

4. Form Creation:
After generating the tables, open your Access database. On the left, you’ll see the list of tables. Select one, then use the “Create” tab at the top to generate a form automatically based on the table.

5. Ongoing Development:
This process is just the beginning. There’s still plenty to customize and refine to get a fully functional database. Keep asking ChatGPT for guidance, and don’t hesitate to return to this forum for additional help!

AI tools like ChatGPT are a great supplement to human expertise, but they won’t replace hands-on experience or community support any time soon.
 
Chatty to define your Requirements

Have a conversation with one of the many AI interfaces out there. I recommend chat GPT but obviously I'm biased!

Tell it your requirements for your database.

You might want to record your eBay sales locally on your computer, so you have a hard copy of your data, and so you can create accounting orientated reports based on it.

You may find chat GPT produces long verbose text replies which just muddy the water!

To prevent this, insist that chatty only responds in a single sentence, with the option of adding bullet points if it feels necessary.

You will find that you have to repeat this instruction every time it breaks the rule! It sometimes behaves like an overzealous kid!

Remember your goal here is not to get chatty to create a database, it's to get chatty to help you come up with an overview, a helicopter view of what you want.

Chat GPT is brilliant at sussing out what you want from the stupidest questions you might ask it, and the stupidest answers you give it. I speak from experience - I have been that stupid! It's a wonderful way of interacting, you can just be yourself!

Once you have your first specification, you may see obvious problems with it. Again talk to chatty, Chatty will guide you.

Once you are happy with the specification, then ask chatty to report to you on the specification:- are there any improvements it would suggest, are there any obvious omissions, would there be a better way of getting the result you want?

Ask chatty to write out your specification as a question that could be posted on Access World Forums!

Post it here and I am sure it will gain some extra refinement, and possibly someone will say there's a demo database you can download which will do exactly what you want!
 
Last edited:
One problem is that various attempts to create database technology without actually going through a detailed design phase usually led to a poorer product than one designed in detail manually. For a while, PeopleSoft (now a wholly owned subsidiary of ORACLE Corp) tried doing something similar to that idea, with some level of success but with some problems to go with it.

Their problem was that AI wasn't nearly as advanced when they started the product and so they used a "library" concept. You could pick and choose generic data groups for persons, jobs, inventory, etc. Their product was data-driven. More precisely, they had the equivalent of pre-defined class objects for a person, a job, an inventory item, etc. that contained data and the code to process same.

The problem was soon revealed that if you had ANY anomalies in your data, you would require manual intervention. If you had ANY unusual actions that were needed, their processing library needed manual intervention and support for the odd procedures. It also had high overhead loads because much of what they did was based on interpretive scripts at many levels. The Navy tried using PeopleSoft in the abortive DIMHRS project, which eventually got scrapped because it was a resource hog and required a lot more (very expensive) customization than was originally anticipated - or budgeted.

I would also be wary of AI "hallucinations" - which is the term used to describe what you get when the AI goes off-topic on you. So far, no one knows why it does so, but many AI platforms do appear to "make up" stuff that isn't relevant to the question. These hallucinations have begun to be documented. You can search for "AI hallucination" to see articles on that subject.

I would say that if you were going to use an AI solution, go ahead and get your answer in the ways suggested by Uncle Gizmo, but don't blindly trust ANY answer. Examine it closely to verify that it actually makes sense.
 
Access comes with some pre-defined objects. You can also add your own if you have some tables you add to each application.

You can ask the AI to look for a "pattern" or template if you have something that is common. You can also ask it to generate the DDL. The DDL for standard features is standard across all SQL implementations so to use generic DDL in Access, you may only need to substitute dashes for any periods in the names.

Some of the parts of the SQL language.
DDL = Data Definition Language (the part that creates/modifies/deletes objects)
DML = Data Manipulation Language (the part we all know and love)
DCL = Data Control Language (security)
 
Hello everyone,

With the rapid advancement of AI, are there any platforms or applications where you can simply describe the tables, queries, forms, and reports you need, and it will generate an Access database to meet those requirements?
I have been participating in a discussion on a different forum where the OP posted a solution created with the assistance of CoPilot.


My thoughts on that project are included in the discussion.
 
Hi! Yes, tools like Microsoft Power Apps and OpenAI's Codex can help generate database components based on descriptions. They’re not fully automated for complex Access databases yet, but they’re a great starting point!
 
Hi! Yes, tools like Microsoft Power Apps and OpenAI's Codex can help generate database components based on descriptions. They’re not fully automated for complex Access databases yet, but they’re a great starting point!
Microsoft Power Apps? Generate database components?

I believe you may be thinking of Copilot for PowerApps in the case of Microsoft. And it relies on the internal models already defined in Dataverse. See these screenshots showing the use of "generative AI" and Copilot and drawing from pre-defined models, such as "Track sales leads". This might get a novice off the starting line, but they immediately run into the issue of what to do at the second step, where they have to decide whether the pre-defined model is appropriate for their needs.


1731330540975.png


1731330696759.png


The resulting tables are going to be in Dataverse anyway. And that means they are next to useless for any serious Access database application.

I am a fan of PowerApps, but not so much Dataverse.
 
I just wonder about using AI to create a serious database application at this point in time. Maybe AI can make a reasonable attempt? I don't know. We all will have had to create our own program generator for Access, or another language used. Just to avoid wasting time typing mainly the same code for every screen. Why go to the bother of placing often the same buttons onto every screen, although not always the same position, together with their events when a small UDF will do it for you effortlessly?

If an application was generated from a specification by AI, how easy would it be to update or amend it in a year or two? As I understand it AI is an evolving environment. So, if it generated amendments to a program later, would they be correctly applied to the old existing code in use?

Exactly where would you be if the amendments caused issues in earlier code? Could you sort that quickly? Or would you have to create a whole new specification with the changes and hope it will handle existing data? The AI code will be written in a style not your own, with strange variable names. If you don't like the resulting screens, or reports I presume you will need to change them manually. Could the AI understand your updates and manage them if you needed it to create changes?

There is no doubt that many companies will want to use AI to reduce software costs. When that ambition becomes reality I cannot guess. A bit like all those who thought they'd put something together with a spreadsheet but of course in reality never could.

For some reason that escapes me, billions have been spent on driverless cars but without success. But maybe in 20 years they'll manage it? Unless you can get in and say “get me there in less than an hour, I’m late” what’s the point?

Mind you there are many businesses that employ experienced people to make decisions and complete specific tasks. Solicitors, property management, accountants, estate agents, the tax man, the local doctor etc. None of them are doing anything special and can easily be replaced with software. You are in the main, only paying them for their knowledge. Local authorities and huge swathes of government can be removed. They only add cost and are in the main totally unskilled and make poor decisions. In theory all could easily be replaced with a computer running AI that will not forget anything it was taught. Maybe tell your children and grandchildren to learn to lay bricks, be a plumber, or a joiner? Big saving on university fees.

AI like everything else in the early days you are given the impression that it is all about to happen. The solar panel was developed in the 1960s but took over 40 years to be in common use. The internet has changed the way we do things but up to now not what we do. You may not guess this but at the moment I'm a bit sceptical about AI and software development. Can that manual work actually be computerised? I'm not sure.
 
Where AI will shine in database construction is in table design IMO. For instance, let's say you need a table design for an inventory project. AI could help design a table(s) structure that includes normalized to N3 with all PK and FK related. It would be just a blue print, you would still need to build it and understand a fair percentage of the design.

Having a complex table design knocked out in a matter of hours not days or weeks helps with every aspect of the project and would save time and money.
 
I'm not so sure that an AI could create a schema unless there were models to help it. And the reason is the same reason that humans have so much trouble. It takes a lot of work to interview users and review existing paperwork to identify related items and group them into tables. Then to group the tables to define relationships. Things like repeating groups are difficult too. Groups like month names and day names become obvious because the value list is fixed but what about things like expense types? Electricity, Gas, Oil, Snow Removal, Lawn Mowing, etc. This list is almost infinite depending on what your main object it.

The reason that more experienced developers are better at this stuff than new ones is because they have more general life experience and have interacted with many more types of computer systems over time and are less inclined to believe users who tell them that there will NEVER be more than two roommates in a single dorm room.
 
I'm not so sure that an AI could create a schema unless there were models to help it. And the reason is the same reason that humans have so much trouble. It takes a lot of work to interview users and review existing paperwork to identify related items and group them into tables. Then to group the tables to define relationships. Things like repeating groups are difficult too. Groups like month names and day names become obvious because the value list is fixed but what about things like expense types? Electricity, Gas, Oil, Snow Removal, Lawn Mowing, etc. This list is almost infinite depending on what your main object it.

The reason that more experienced developers are better at this stuff than new ones is because they have more general life experience and have interacted with many more types of computer systems over time and are less inclined to believe users who tell them that there will NEVER be more than two roommates in a single dorm room.
I agree 100%. What I know from playing around with AI is, it's conversational. While the first few drafts of your project will be wonky, AI remembers the mission and makes necessary tweaks at our prompting. It will not be right for all things, my guess is, it will be very good at design.
 
my guess is, it will be very good at design.
Then you might want to figure out what your next career will be or if you will live on the dole;) There are so many bad applications out there that they overshadow the better ones. The AI is a mimic. It doesn't actually (at this time) have the ability to come up with something new. It is very fast and very good at recognizing patterns. That makes it unbeatable for a certain class of very important tasks that humans are doing now. Diagnosing medical images is one area where AI's will be saving lives. Connecting symptoms to come up with a diagnosis is another. So the medical field will probably be the first to truly benefit.

AI's are really bad at playing bridge. They can easily beat humans at chess. Why? Chess is a matter of analyzing potential moves and computers are very fast and so can easily go deeper down various move paths than humans can. But bridge is a game of logic and inference, cooperation with partner, and even deception. Not skills that AI's possess at this time.
 
Last edited:
It doesn't actually (at this time) have the ability to come up with something new.
Correct, it analyzes the available information from real time online sources and makes a judgement about your prompt request. It's just another tool within a vast array of tools.
 

Users who are viewing this thread

Back
Top Bottom