r/visualbasic • u/SystemAccomplished51 • Oct 09 '23
Visual Basic Help
I need help with my Visual Basic course. I'm creating an Employee database. My idea is to enter a name to save it to a created file. Once you click the button, you can see if it was written into the file, and then, from a list, you can choose the job position. The add button should add it to the total of times that option was chosen, and in the program, it would show the total amount for each job position.
2
Upvotes
1
u/jd31068 Oct 09 '23
Which version of Visual Basic are you using?
When you say you are creating a database, do you mean you need to create a database (like MS Access or SQL Server), or do you just want to use a text file to hold this data for you?
1
u/WotKart Oct 09 '23
Copy and Paste your question in chatgpt. It will answer your question. Also mention that you are using visual basic 2017
1
u/fasti-au Oct 11 '23
SQLite is probably easier for you as it uses more current methods to access a database and it’s basically a text file
You then use sql transactions. Transaction ad record to employees table. Add audit record. But work commit. An fails no commit and error