Skip to content
AI-ERP

Migration guides

Replacing in-house FoxPro or VB software safely

How to replace ageing FoxPro, Visual Basic or other in-house software safely: secure the data, uncover hidden rules, compare outputs and plan the switch.

By the AI-ERP team 5 min read

Many Indian businesses still depend on software written years ago in FoxPro, Visual Basic or similar tools, often by a developer who has since moved on. It works, until it does not: a hardware failure, a Windows update or a new tax rule. Replacing it safely means securing the data first, uncovering the rules the software enforces, and proving the new system produces the same results. This guide explains how.

The risks of staying

Legacy software carries quiet risks. It may run only on an old computer that cannot be replaced easily. Backups may depend on one person copying files. Nobody can change it when rules change, so workarounds pile up. It cannot be reached from phones or other locations. Each year the risk of a sudden stop grows.

  • Hardware dependence

    One old machine that cannot easily be replaced.

  • Knowledge dependence

    One person who understands it.

  • No changes possible

    Rules and taxes change; the software does not.

  • No remote access

    Only usable at one desk.

Step one: secure the data now

Before anything else, take a full copy of the software and its data files, store it safely in more than one place, and confirm it can be opened. If the old machine fails during the project, this copy keeps the business and the migration safe. Many projects start with this single step, which is valuable even if the replacement takes time.

The first deliverable of a legacy replacement project is a safe copy of the data.

Step two: list what the software does

Walk through every screen and report with the people who use them. Note what each screen records, what each report shows and who uses it. Ask about workarounds: things people do outside the software because it cannot do them. This list becomes the requirement for the new system.

Step three: uncover hidden rules

Legacy software often enforces rules nobody wrote down: how discounts are calculated, how stock is valued, how certain customers are treated, how numbering works. Uncover these by interviewing users and comparing inputs with outputs. Where rules are unclear, run test cases through the old software and record the results.

Step three: uncover hidden rules
AreaTypical hidden rules
PricingCustomer-specific discounts, rounding
StockValuation method, negative stock handling
TaxOld workarounds for GST cases
NumberingDocument series by branch or year
ReportsSpecial filters or calculations

Step four: extract and map the data

Data in FoxPro tables, Access databases or flat files can usually be read with standard tools. Extract masters, open items and the history you need, check completeness, and map to the new system. Old data often has inconsistencies, such as codes reused for different items, which need cleaning.

Step five: compare outputs

Before go-live, run the same transactions through both systems and compare: invoice totals, tax, stock values, key reports. Differences are investigated until they are explained, either as a bug in the new system or as an old rule that should change.

Step six: switch and keep the old data

Go live at a period end. Keep the old software and data available read-only, or export history to an archive, so past records can be consulted. Retire the old machine only when everyone is confident it is no longer needed.

An example

A trading company's billing and stock software, written in FoxPro two decades ago, runs on one desktop. The project starts by copying the data to cloud storage and a second machine. Interviews reveal that the software applies a special discount to a group of long-standing customers, recorded nowhere else. That rule is built into the new ERP and confirmed by comparing invoices. The switch happens at a month end, and the old machine is kept, switched off, for a year.

Respecting the people who built it

The person who wrote the old software, or who has maintained it for years, may feel their work is being discarded. Involving them in documenting rules and testing the new system recognises their contribution and gives the project their knowledge. Their support often makes the difference between a smooth switch and a resistant one.

Key takeaways

  • Legacy software carries growing hardware and knowledge risks.
  • Secure a tested copy of the data before anything else.
  • List screens, reports and workarounds with users.
  • Uncover hidden rules by interviews and test cases.
  • Compare outputs before go-live and keep old data accessible.

Questions on this topic

Can data be read from FoxPro tables?

Usually yes, with standard tools, and mapped into the new system.

What if the original developer is unavailable?

Rules are uncovered by interviewing users and testing inputs and outputs.

Should we copy the data immediately?

Yes. It protects the business even before the replacement starts.

Can the new system work like the old one?

It can follow the same business rules, with modern screens and access.

How long does replacement take?

A few weeks to a few months, depending on what the old software does.

Will GST be handled properly?

Yes, the new ERP includes GST, e-invoicing and e-way bills.

Can the old software stay available?

Yes, read-only, or its data can be archived.

What if old data has errors?

Errors are found during extraction and fixed with users before migration.

Free 30-minute consulting call

Want this working in your business?

Book a free consulting call. The AI-ERP team will show you how it would look with your own data.

Before you go

Get a free ERP plan for your business

Leave your number and one line about your business. We send you a plan on WhatsApp: the modules we would suggest, a rough timeline and an estimated cost.

We use your number only to reply about this request.

Free 30-minute call

Book a free consulting call

Tell us a little about your business. Next, you pick a time that suits you.

No obligation. You leave the call with a clear plan either way.

Live demo

See AI-ERP in action

Get instant access to a working AI-ERP built for a valve manufacturer. Three quick details and you are in.

We only use these details to follow up about AI-ERP.