MS4BI Query is the only no-code/low-code BI solution that allows querying Excel, SQL, ODBC or SQLite files in just 3 lines of code — and editing results directly in the web interface. A revolution for transactional applications, HR, or sales management.
✔ Simple, ✔ Agile, ✔ Powerful
What is a Query in Business Intelligence?
A "query" is an instruction used to extract data from a database. The most common language used is SQL (Structured Query Language), a standard used in BI tools to explore, sort, filter, or aggregate data.
MS4BI takes this concept further by making it even simpler, more dynamic, visual, and customizable — even for regular Excel files!
Why choose MS4BI Query?
✅ Write SQL queries on Excel files or remote databases
✅ Automatic web interface generation
✅ Connect via ODBC, ADO.NET, Oracle, SQLite3, PostgreSQL, and more
✅ Dynamic multi-criteria filters for transactional apps
✅ Ultra-simple syntax with MS4Script
🔎 The 4 Types of MS4BI Queries
Web Query
Simple queries on Excel generating responsive web pages automatically — in 3 lines of MS4Script.
Custom Query
Allows full HTML/CSS customization using begin_sw. Ideal for building your own web templates.
Transactional Query
Enables direct entry or database updates from the displayed grid, with secure inline editing.
Query in a MS4BI App
Dynamic forms with InputQuery fields linked to databases. Perfect for multi-criteria filtering.
🔍 Example 1: Excel query in 3 lines
DBconnect{Ado:"xls"} ("#DRIVERSYS+:\MandragorePlanete\MS4BI\...\viewInvoices.xls");
tabname := "[viewInvoices$]";varname := "SAVEA";
Ms4_Query:Web {Ado:"xls"}("SELECT * FROM %s WHERE CUSTOMERID = '%s' ORDER BY 1 DESC", tabname, varname);
🟢 Example 3: Query with transactional input (inline edit)
Ms4_query:Custom{Ms4DB}
Option :
BEGIN
inlineEdit: table : "ms4RefEmployees", field : "lastname as name1, firstname as prenom, title"
END
("SELECT * FROM ms4RefEmployees ORDER BY lastname");
MS4BI is built on a No Code / Low Code productivity-first approach.
With MS4Script, you can build dashboards, charts, queries, menus, or business apps in just a few lines —
without dealing with web and server technicalities.
Whether you are a developer or a business user, you have the power to create.