jridings Posted August 3, 2008 Share Posted August 3, 2008 I'm exporting data into a database. I do not want the database to get to big. How do I set the max number of records in a table? Link to comment Share on other sites More sharing options...
AzeoTech Posted August 3, 2008 Share Posted August 3, 2008 You'd have to use the db.execute() function to send a SQL query every so often to remove old records. There is no automatic way in DAQFactory. Link to comment Share on other sites More sharing options...
jridings Posted December 11, 2008 Author Share Posted December 11, 2008 Thank You Now I need to pull data from by database and load each channel with the data. Can you give me an example of code that will locate the database, connect to the database, set the table, set the field, then load that data into a channel, then refesh my ghaphs. I have upload a copy of my database. The profile tables are array channels. Link to comment Share on other sites More sharing options...
AzeoTech Posted December 11, 2008 Share Posted December 11, 2008 This post describes the basics: http://www.azeotech.com/board/index.php?showtopic=3384 and I believe there are others if you search for QueryToClass. You'll need to learn a little SQL and there are plenty of books available that can do a better job than I can. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.