r/MSAccess • u/B_gumm • Dec 10 '25
[UNSOLVED] Code Aware AI platform for MS Access
Does anyone have experience using a code? Aware AI for VBA development? I would define this as going past simple chatGPT prompts for a single functions needs, and instead a AI platform is aware of all of your existing code prior to asking for new code. I started Microsoft Access in 2021, before AI. I do know how to code well. But I'm looking for some optimization with my VBA. And the length of my functions is probably too great for a single chatGPT prompt to handle. Just checking in with the boys to see what they're using. Thanks all
5
Upvotes
•
u/AutoModerator Dec 10 '25
IF YOU GET A SOLUTION, PLEASE REPLY TO THE COMMENT CONTAINING THE SOLUTION WITH 'SOLUTION VERIFIED'
Full set of rules can be found here, as well as in the user interface.
Below is a copy of the original post, in case the post gets deleted or removed.
User: B_gumm
Code Aware AI platform for MS Access
Does anyone have experience using a code? Aware AI for VBA development? I would define this as going past simple chatGPT prompts for a single functions needs, and instead a AI platform is aware of all of your existing code prior to asking for new code. I started Microsoft Access in 2021, before AI. I do know how to code well. But I'm looking for some optimization with my VBA. And the length of my functions is probably too great for a single chatGPT prompt to handle. Just checking in with the boys to see what they're using. Thanks all
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
3
u/nrgins 487 Dec 10 '25
I find for a long functions it's best to store them in a text file and then just upload the text file to the chat. That works really well. Much better than trying to Pace the whole function into the chat. Also you can put entire modules or multiple modules into the text file. I find that ChatGPT works fine when you do it that way and you can ask it to optimize your functions and it'll do that.
I have one particular project where I am interfacing with the Shopify API which I'm not familiar with, so I'm working with ChatGPT to assist me with that. I find that over time it references my functions that I mentioned in a different chat and remembers them and then gives me advice on using them or it gives me a modified version of them. So yeah, it'll remember the different functions in your project.
I do have a project in the ChatGPT interface for that access project. I don't know if that makes a difference with it remembering things or if it's just a convenient way to organize chats.
2
u/know_it_alls 4 Dec 10 '25
Should be simple.
Extract your database into a project data repo ( rather GitHub for version control)
AccessDB Pipeline Export
Add and modify this context file to your project root folder. You may want to indicate which version access and VBA your using. Access Context.md
Finally, you can use one of the following:
2
u/knowitall84 Feb 08 '26
These days Claude Code and OpenCode are more than capable of working with Microsoft Access databases, they can even create an entire accdb database, complete with tables, relationships, queries, forms, reports, etc. from a single prompt. Check out https://github.com/paramountsoftware/ms-access-ai-skill
1
u/mcgunner1966 2 Dec 10 '25
Are you asking about using AI to generate/evaluate your existing code? If so, no. If you're talking about end-point coding to pass data or generate sql for user queries then yes.
1
u/tetsballer Dec 10 '25
There's no way your functions are too long dude. There's no reason you can't just copy an entire module into a text file and then upload that to chat GPT and have it work on it.
2
u/MililaniNews Dec 10 '25
I have used Claude and chat GPT I feel Claude is more capable of recalling past conversational code and answering very specific requests regarding it. It almost always compiles VBA and has helped me build a large project. It even was capable of writing VBA code that writes VBA code and injects it into form controls with no difficulty. This really helped me complete a project today that creates Microsoft Access forms within seconds using the AI prompt to create the tables relationships and tag which tables are most appropriate for parent child parent look up and child look up a total of four tables. If anyone's interested they should give me their contact information and I'll send you a copy.
1
u/AccessHelper 123 Dec 10 '25
I haven't tried this, but if you had a Business account with ChatGPT you could start a Project and have unlimited messages. So you could upload your modules or sections of code. With the Business subscription the AI is not using your data for training, so its more secure to use. But its $30/mo :(
1
u/ebsf 3 Dec 21 '25
If you want to optimize, refactor what you've got. I can't overstate how powerful this can be.
1
u/Live_Lie3285 May 20 '26
ممكن مساعدتي علي تجميع بينات في برنامج اكسس
1
u/YoghurtInfinite7351 May 27 '26
انشاء لي برنامج محاسبة محلات الذهب مفتوح المصدر اكسس