Solved How to migrate MS Access forms or recreating forms to the web based forms (4 Viewers)

nectorch

Member
Local time
Today, 22:16
Joined
Aug 4, 2021
Messages
66
Can someone point me which platform I can create forms that link with MYSQL database, the database is already created it works very well when linked to MS Access database via ODBC. Now many people are demanding that the software must be accessible via mobile phones and that is where I need to recreate the forms
 
Create a web server that can manipulate your Access database, this is the basis. There is a recent thread where someone tried to do it but others are having problems with it. However, there are more options: you can easily create a web server with python, there are python libraries that can read/write to access tables. I would do it via NodeJS and the express library using the ado library from npm.

Once the server is ready, you have two options:
1. Create a responsive web application (responsive means it resizes according to the screen gracefully). This is cross platform because it only needs a browser. Any device with a web browser can use your app.
2. Create an android app and a iOS app.

In any of the two options, you will use the same web server. I recommend the web app, it's less problematic. But native apps have a ton of advantages, like dedicated storage and more solid UX.

Once you have everything ready, deploy the server and the app or apps. There are plenty of options for your deployment.
 
Last edited:
One option is indeed a browser-based interface, which is quite doable with an AI assistant even if you have little to no experience.

Another is to use Microsoft PowerApps to create the mobile interface. One advantage is that the same app runs on virtually any device, even the Windows desktop.

I assume the reason they want the mobile interface is so that they can use the application while away from their desktop computers. Otherwise, there's no advantage to it. The real estate available on even a large format smart phone is severely limited when compared to even a laptop. I've developed enough PowerApps apps to know how painful it can be to create a usable interface for that format unless you're willing to slim down the features considerably.

And that brings up another aspect of the decision. What, specifically, do people need or want the smart device interface to do? Is it ALL of the functionality of your Access app? Or are there elements of the app that can be usefully supported for mobile use? Data input, for example. How about reports? Do they need to be on a phone? Can your basic reports even be created so that they are usable?

I suspect that sometimes people want their apps on their phone just because they want to have them there, not for any practical reason. If your users do have practical arguments for a mobile interface, fine. That's not hard at all. But do take the time to sort out the whys and the whats of the request.

If you do want to learn more about using PowerApps, check out the videos on my YouTube Playlist. https://youtube.com/playlist?list=PLQgLuLFqAr9-PoMhLpCWZmtzwgEulKvH5&si=Ryo1kwO_Nr67Ddl0
 
I'd cut Access out of the loop completely!
No, I do need Ms. Access anymore, I have migrated the database to MySQL database Maria I have tested this people are working ok with MS Access as Front End by using ODBC. The only problem is that people want to use smart phones to access the software that is why am looking for alternative
 
Hybrid apps, with multiple interface formats, are totally viable. They do require careful thought about the strengths and weaknesses of each environment.
 
Hi :) Is going to sound like spam or that im a seller or something, i know hahhahah but... if u use AI assistant, u can use my MCP for making an android application from scratch (github.com/unmateria/MCP-B4A), if already have all the functionality in your Access database, use my other mcp at the same time (github.com/unmateria/MCP-Access) and it will recreate the full APP from the Access database forms from scratch. Sounds like magic, but if you use CC with both MCP, i promise u that works.

MCP-B4A makes that your claude code, claudish or whatever u use can develop applications in B4A (Basic for Android). I bet you can use it in B4X too, but I didnt tested it.

MCP-Access just makes the LLM can use, edit or understand your Access like if it was just native trained on it.

Altough nowadays and without looking your current app, I would explore the posibility of a fastapi api server + WASM. Any LLM can do it for u EASY (they have already good training on that)
 
Can you elaborate on the costs and resources required for a small to medium sized organization if they elect to create, say an Android app, or an iOS app, for their own internal users. How do they deploy and manage the app? How do they determine which users are "licensed" by that organization to use an app?

What additional costs are required, if any, for the infrastructure required to deploy and manage phone apps?

Developing the actual interface app is one part of the total picture and I can easily see how AI assistance can make that less of a hurdle. What I am more interested in is the supporting architecture required to make it work.
 
Can you elaborate on the costs and resources required for a small to medium sized organization if they elect to create, say an Android app, or an iOS app, for their own internal users. How do they deploy and manage the app? How do they determine which users are "licensed" by that organization to use an app?

What additional costs are required, if any, for the infrastructure required to deploy and manage phone apps?

Developing the actual interface app is one part of the total picture and I can easily see how AI assistance can make that less of a hurdle. What I am more interested in is the supporting architecture required to make it work.
I dont know if I understand ok! :) For the fastapi server? just use a cheap vps server or a CNAME on your domain to a VM in your home/office. For just deploying APK I would suggest just sign the apk with b4a and manually install from a fastapi route (is all free) and if you need more security, just add a wireguard layer for VPN. Anyway... what do you call a medium organization? Because for a fastapi server + mysql + VPN maybe is not the best architecture (surely is not)... I dont know what kind of app and data we are talking about! :D I dont know if we are talking about a 'neighbour community' app, a multiplayer game, or an erp based app for 100 employees!! :D

Anyway, nowadays all the backend can be made by the LLM too... I use CC to implement complex integrations in multiple servers at the same time via SSH/WinRM and works like a charm (just ALWAYS make a plan, and ALWAYS review and check the results... fails little, but fails).
 
When I was working with the U.S. Navy, we had a circumstance where we needed to convert some forms because we were changing from one particular DB to another, and both products had their own proprietary form structure. We found the specifications for building form descriptors for the target system and wrote some code to place form controls by iterating through the forms, for each form iterating through the controls, and essentially translating one set of forms to another "form language." That made the static part of the form. We were also able to build the simpler linkage specifications, too, though sometimes we had to do a little touch-up if there was any type of animation or dynamic nature to the forms - like control buttons appearing or disappearing based on data conditions. Considering that we had over 240 tables and a LOT MORE than 240 forms, the automated conversion was quite a timesaver. I also had to do a conversion of a data "backup dump" of the tables to an importable version of the live data. Turned out that we were able to do the complete migration over one long weekend. Down Friday night, up Monday by mid-morning. With SEVERAL runs to the local coffee shop.

I can describe it but can't publish it because it was code done "for hire" which made it the property of the U.S. Navy, and they have not relinquished any rights on that code. Nor could I take it with me.

In any case, if Access is the source, then the trick is merely to learn how to build the forms for the destination utility and how to manage the linkages to data, because Access has everything you would need available as a format or data property.

Unless, of course, I totally misunderstood the goal here.
 
If you want to retain access as your front end, consider using terminal server - works from any device that supports Remote Desktop - primarily windows, iOS and Linux. This includes some smartphones such as Apple

Some years ago I built such a system - the primary issue was access does not know what type of device is being used to connect so form sizing was a problem.

Out on the road, smart phones were primarily used for lookup and some limited input (a phone number or meter reading for example). So when the user connected a small login screen would appear which included a tickbox ‘on phone’. This limited what they could access and those forms were designed with mobiles in mind.

To avoid having multiple forms doing the same thing for different devices I would split the form into sections, might be 2 or 3 columns or 4 quarters for example. If on a mobile, these would be rearranged to appear one below another on the form open event
 
I dont know if I understand ok! :) For the fastapi server? just use a cheap vps server or a CNAME on your domain to a VM in your home/office. For just deploying APK I would suggest just sign the apk with b4a and manually install from a fastapi route (is all free) and if you need more security, just add a wireguard layer for VPN. Anyway... what do you call a medium organization? Because for a fastapi server + mysql + VPN maybe is not the best architecture (surely is not)... I dont know what kind of app and data we are talking about! :D I dont know if we are talking about a 'neighbour community' app, a multiplayer game, or an erp based app for 100 employees!! :D

Anyway, nowadays all the backend can be made by the LLM too... I use CC to implement complex integrations in multiple servers at the same time via SSH/WinRM and works like a charm (just ALWAYS make a plan, and ALWAYS review and check the results... fails little, but fails).
I think that you've made a pretty good case for the traditional saying, "Look before you leap." And that was, in a way, the thrust of my questions.

I can't answer your questions in the abstract either.
I dont know if we are talking about a 'neighbour community' app, a multiplayer game, or an erp based app for 100 employees!! :D
That's the crux of the matter, as I see it.

It's relatively easy to talk about how technology is going to change the world, or how it's going to rescue the small Access database that needs to be usable on a smart phone.

What's hard is addressing all of your questions and many others that have to be resolved. Moreover, doing so realistically and objectively. I'm as enthusiastic as anyone about the possibilities opening up to us with AI assistance. I'm also old enough to remember a number of cases where reality fell short of anticipation. My second book, coauthored with another developer, is a testament to that folly.

Here's more on my thoughts.
 
I think that you've made a pretty good case for the traditional saying, "Look before you leap." And that was, in a way, the thrust of my questions.

I can't answer your questions in the abstract either.

That's the crux of the matter, as I see it.

It's relatively easy to talk about how technology is going to change the world, or how it's going to rescue the small Access database that needs to be usable on a smart phone.

What's hard is addressing all of your questions and many others that have to be resolved. Moreover, doing so realistically and objectively. I'm as enthusiastic as anyone about the possibilities opening up to us with AI assistance. I'm also old enough to remember a number of cases where reality fell short of anticipation. My second book, coauthored with another developer, is a testament to that folly.
Yeah, I agree in everything! :) but the truth is nowadays you can make it all the complex u want, with very little effort (comparing with just 1 year before)... you can even have the luxury of be mistaken on the architecture and fully replace it in one night, data transfers included.

And about your thoughts on the blog... one of my fears (and I dont have many at nearly my 50's) is MS deprecates Access some day hahahhaha I develop lots of things, mostly ERP's or hard integrations, but nowadays you can make a good game in just 20 hours. Is not automatic, is not just say "hey claude, do that". I work A LOT (like 10 hours a day since 1 month) with MCP and Access, and I still have to stay there... is pathetical with archicture, scalability, UI design etc, so u have to stay there. That doesnt mean is not powerful as hell. Just 1 or 2 days ago I refactored a full ERP with more than 75000 lines of codes in just one night. To me, that would taken... dont know... the full year.
 

Users who are viewing this thread

Back
Top Bottom