logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

Simple Database Program: Create App with Search, Color-Coded Data, Update & Delete Features

rudyroman 8124 13
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16674687
    rudyroman
    Level 16  
    Welcome!!! I need to do a simple applet (I will be able to extend it in the future) to work with databases, but I don't really know what language (I have the basics of programming in different languages from school and from my own learning).

    So: I have a database with columns (reference number, name, measuring range, date of the next review). And I would like to have a simple graphical environment with a few buttons to search for a given device, e.g. highlighting data in green (the device before the review yellow device for review this month and the red device had no review. And the possibility of leading to the database of new devices, or removal if it is no longer usable.

    The only question is how to do it and what base to use? I wanted to make an excel or access base ready, but I work with an older gentleman for whom operating these programs is too difficult.

    Ah, and what is important, the database would be stored on the company's server. And it would be great if it could be easily expanded with e.g. the ability to print filtered data, new columns in the type table. e.g. tool holder column.
  • ADVERTISEMENT
  • #2 16674758
    Jawi_P
    Level 36  
    Since the database is stored on the company's server, maybe it is possible to place the environment to support this database also on the server, and not locally?
    If there are more users, then client via WWW. Eg in PHP.
  • #3 16674762
    Anonymous
    Anonymous  
  • Helpful post
    #4 16674770
    kinggustav
    Level 27  
    With this Excel / Access it is not a bad idea. I understand you have them, so it's free. If bare Excel / Access is not enough, you can do a small application and hide M $ under it. At the beginning it should be enough, and in the future you will see. If you want to move it to a better environment then algorithms, SQL queries are for use.
  • ADVERTISEMENT
  • #5 16674889
    rudyroman
    Level 16  
    I mean exactly something like kinggustav wrote mean. I do not want the service to be from the access level because too many and too small buttons for my colleague. I would like some tiny app made legibly to throw out the contents of the database on a few large buttons, i.e. I have an icon on the desktop, I click and have a base in a nice graphic design. Maybe in diffrent way. As I wrote, I have a base (excel, access), columns (ID number, name, measuring range, next inspection date) and over a thousand records, and I want to make a program for it (visual effort), with which you can pleasantly to search for the needed record, he highlighted dates with colors, and had a simple form with windows to enter a new record.

    I think that it would be best for me to write in C #. I used to pat something in C ++ so on such banal operations as mine there should be no major problem I think.
  • Helpful post
    #6 16674988
    Jawi_P
    Level 36  
    You do what you want, the app is ok locally if one or two people use it.
    I work similarly at work, by sharing reports. So also forms for BD. I am using Apache and PhP.
    Advantage: access from any computer via WWW, many people have access, without sending applications etc. But for me, accessibility was the main criterion.
  • #7 16675021
    rudyroman
    Level 16  
    It will be used locally, i.e. the app will be on the company's server but only we will have access. Alternatively, I will confine something and do it so that we have access to the same database (to open and edit instruments), and the second position is a rental company that will only be able to display the condition of the device so that it does not have to call and ask about the validity of the device only so that they can see at home . I am already puking with reports because our company still has pure communism and only reports, lists, listings, etc. I wanted to get rid of it and have it in one place that will update itself.
  • #8 16675125
    cjancik
    Level 10  
    Hey,
    I think the easiest way to do this is to use C # .Net in WinForms. There, you'll be able to give buttons, tables and whatever you need quickly. And connecting to the base is a simple matter.
  • Helpful post
    #9 16693778
    tzok
    VIP Meritorious for electroda.pl
    Is this database existing? On what BD engine?

    I used to make such a database - Microsoft SQL engine + C # application:
    Simple Database Program: Create App with Search, Color-Coded Data, Update & Delete Features Simple Database Program: Create App with Search, Color-Coded Data, Update & Delete Features Simple Database Program: Create App with Search, Color-Coded Data, Update & Delete Features Simple Database Program: Create App with Search, Color-Coded Data, Update & Delete Features
  • ADVERTISEMENT
  • #10 16693847
    Anonymous
    Level 1  
  • #11 16694552
    rudyroman
    Level 16  
    Tzok is exactly the way I need it :) xD That's it then ....
    And the base, I currently have access, but I can easily tap to something else if it makes it easier for me.
  • ADVERTISEMENT
  • #12 16694919
    cjancik
    Level 10  
    C # .Net - WinForms
    rudyroman wrote:
    Tzok is exactly the way I need it :) xD That's it then ....
    And the base, I currently have access, but I can easily tap to something else if it makes it easier for me.
  • Helpful post
    #13 16695945
    tzok
    VIP Meritorious for electroda.pl
    rudyroman wrote:
    Tzok is exactly the way I need it :) xD That's it then ....
    Unfortunately, the program was made to order and I can't support you with a code, because this one was also the subject of the contract. However, screenshots can give you some ideas / functionalities. For example, the ability to attach equipment calibration certificates in PDF or correction tables from calibration in XLS. Binary files were stored in the database as BLOB (generally it would be better to keep them on a server, e.g. FTP, but this would complicate the program). The program requires no installation and works over the network. The base is a solid relational base, probably in the 2nd normal form, and not a simple table. In previews, the upcoming end of reviews / calibrations are highlighted in yellow, and red are highlighted. Editing fields support automatic completion based on existing entries.

    Initially, I was going to do it in Accesa - there you can design the GUI for the application.

    Simple Database Program: Create App with Search, Color-Coded Data, Update & Delete Features
  • #14 16696412
    rudyroman
    Level 16  
    Chanterelle, something beautiful. Exactly what I need. You guided me a lot with this program. Thanks a lot !!!

Topic summary

✨ A user seeks to develop a simple database application with features for searching, color-coding data, and updating or deleting records. The database will include columns for reference number, name, measuring range, and next review date, and will be stored on a company server. Suggestions include using C# with WinForms for a user-friendly graphical interface, or PHP for web-based access. Alternatives like LibreOffice Base or Excel with VBA are also mentioned, but the user prefers a more accessible application for a colleague. The discussion emphasizes the importance of a visually appealing design and ease of use for non-technical users.
Generated by the language model.

FAQ

TL;DR: Build a small C# app for 1,000+ records; “I think that it would be best for me to write in C#.” [Elektroda, rudyroman, post #16674889]

Why it matters: You’ll get a fast, color-coded, one-click database tool your team can actually use.

Quick Facts

What’s the simplest stack to build a small searchable equipment database?

Use C# .NET with WinForms for the GUI and start with your existing Access or migrate to SQL Server. This stack gives quick tables, big buttons, and straightforward database connections. You can extend later with printing and new columns without rewriting the core. [Elektroda, cjancik, post #16675125]

Should I build desktop or web if a few people will use it?

For one or two users, a local desktop app stored on the company server works well. If you later need broader access, serve it via WWW to avoid distributing clients. “Access from any computer via WWW” sums it up for multi-user reach. [Elektroda, Jawi_P, post #16674988]

How do I color‑code upcoming reviews (green/yellow/red)?

Define rules: green = OK, yellow = due this month, red = overdue. In your grid, compute status from the next inspection date and apply row styles or cell colors accordingly. Start with ID, name, measuring range, and next inspection date fields for filtering. [Elektroda, rudyroman, post #16674687]

What database engine fits this use case?

Begin with your current Access file if it’s already populated. If you outgrow it, move to Microsoft SQL Server and keep the same C# front end. SQL scales better and supports attachments and multi-user usage cleanly. [Elektroda, tzok, post #16693778]

How can I give partners read‑only access while we edit records?

Keep the main app on the company server for internal editing. Provide a second, restricted view for the rental partner that lists device status only. This reduces calls and keeps control of edits in-house. [Elektroda, rudyroman, post #16675021]

Is WinForms outdated compared with WPF?

Opinions vary. One view is “winforms is a bygone era,” favoring WPF or web stacks. However, WinForms remains fast for simple CRUD tools and shines for quick delivery. Choose WPF if you need richer styling and MVVM from day one. [Elektroda, Anonymous, post #16693847]

What’s a BLOB, and should I store PDFs in the DB?

A BLOB stores binary files (e.g., PDF certificates or XLS calibration tables) inside the database. It simplifies linking but can bloat backups. An alternative is a server share or FTP, though that adds code complexity for paths and permissions. [Elektroda, tzok, post #16695945]

How do I connect C# to SQL for this app?

Use ADO.NET or an ORM to connect your C# WinForms app to SQL Server. Bind your grid to queries and add forms for insert, update, and delete. This pattern supports multi-user scenarios and network operation without per‑PC installs. [Elektroda, tzok, post #16695945]

Quick 3‑step: How do I build the MVP in C# WinForms?

  1. Create a WinForms project; add a DataGridView and large filter buttons.
  2. Implement ADO.NET queries for search, add, edit, delete.
  3. Add conditional formatting for dates and a simple form to insert records. [Elektroda, cjancik, post #16675125]

What fields should my first schema include?

Start with: reference/ID number, device name, measuring range, and next inspection date. Add columns like holder or printable reports later. Keep names clear so non‑technical users navigate easily. [Elektroda, rudyroman, post #16674687]

Can Access work as a front end with a simpler UI?

Yes. Access lets you design a custom GUI and forms over a table. It’s viable for quick prototypes. You can later port logic to C# while keeping algorithms and SQL. [Elektroda, tzok, post #16695945]

How many records can this approach handle to start?

It has been planned around 1,000+ rows without performance issues for basic filtering. That’s a solid starting point for hand tools and inspection logs before scaling further. [Elektroda, rudyroman, post #16674889]

What is WinForms in simple terms?

WinForms is a .NET UI framework for building desktop apps with buttons, grids, and dialogs quickly. It’s well-suited to CRUD tools and simple admin panels. Developers often choose it for speed of delivery. [Elektroda, cjancik, post #16675125]

What is PDO, and when would I pick PHP + MySQL instead?

PDO is PHP’s database abstraction layer. If you deploy on a server for browser clients, PHP + PDO + MySQL is a straightforward stack with wide hosting support. It fits multi-user access without desktop installs. [Elektroda, Anonymous, post #16693847]

Can my app run over the network without installing on every PC?

Yes. A well-designed C# app can run from a network share and work across the LAN. This keeps deployment simple and centralizes updates. “The program requires no installation and works over the network.” [Elektroda, tzok, post #16695945]

Any edge cases I should plan for early?

If you embed large PDFs as BLOBs, backups grow fast and restores slow down. Storing files on a server share keeps the DB lean but needs path validation and permissions to avoid broken links. [Elektroda, tzok, post #16695945]
Generated by the language model.
ADVERTISEMENT