Rogue5099 Posted December 3, 2010 Share Posted December 3, 2010 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! My projects: Inventory / Mp3 Inventory, Computer Stats Link to comment Share on other sites More sharing options...
taietel Posted December 3, 2010 Share Posted December 3, 2010 Why not use XML? Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
Rogue5099 Posted December 3, 2010 Author Share Posted December 3, 2010 (edited) 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 December 3, 2010 by rogue5099 My projects: Inventory / Mp3 Inventory, Computer Stats Link to comment Share on other sites More sharing options...
taietel Posted December 3, 2010 Share Posted December 3, 2010 I have used without problem. Take a look! Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
Rogue5099 Posted December 3, 2010 Author Share Posted December 3, 2010 Edited post above to match more less what I would need. Like I said I have tried to read/edit/write XML and was unsuccessful? Any help getting started would be awesome. Once I have something to work with I can figure the rest out. My projects: Inventory / Mp3 Inventory, Computer Stats Link to comment Share on other sites More sharing options...
taietel Posted December 3, 2010 Share Posted December 3, 2010 Post some relevant part of the code that is related to xml and you think it gives you trouble. Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
Rogue5099 Posted December 3, 2010 Author Share Posted December 3, 2010 Thanks for the help but I think I will just stick to .ini easy [section]info [section]info My projects: Inventory / Mp3 Inventory, Computer Stats Link to comment Share on other sites More sharing options...
jchd Posted December 3, 2010 Share Posted December 3, 2010 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 hereRegExp tutorial: enough to get startedPCRE 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now