Jump to content

Creating, Receiving info from Database


Recommended Posts

I am wanting to create a database by entering in Employee information and then making it easyily viewable in a window with rows, columns kinda but not like Excel.

The GUI will get information from each employee like:

Name, TimeIn/Out, Date, Parts Ran, Downtime, Comments, Scrap Parts.

Then to save this info to ??? and retrive it to display in another window. I was trying to store the info to a .ini but making the script create dates and sections then creating new files will become tedioius. I have 3 employees right now and I just want them to enter data then me to view it after my script does a lot of calcuations.

I have made the main GUI to input/retrive info I'm just looking for best solutions to store the Data for easy viewing later. (If thinking SQL I have looked into it but a complete newb to that)

ANY help would be AWSEOME!!! Thanks in advance!

Link to comment
Share on other sites

I have tried to Read/Write to XML before and was unsuccessful using AutoIt...

<?xml version="1.0"?>
<November23>
  <Employee category="EmployeeA">
    <ClockIn></ClockIn>
    <ClockOut></ClockOut>
  </Employee>
  <Employee category="EmployeeB">
    <ClockIn></ClockIn>
    <ClockOut></ClockOut>
  </Employee>
  <Employee category="EmployeeC">
    <ClockIn></ClockIn>
    <ClockOut></ClockOut>
  </Employee>
</November23>

how would i create above in autoit and then retrieve it?

I know I need this....

Edited by rogue5099
Link to comment
Share on other sites

SQLite is probably your tool of choice for such applicative data storage/retrieval. Manipulation of data is possible with SQL statements and operators, more complex operations can be done from within AutoIt and stored back into relevant tables.

I could help you get started in that direction. But of course you need to expose more about your actual requirements so that the right structure can be devised.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...