| | |
Program 2 copy log file frm database
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2006
Posts: 18
Reputation:
Solved Threads: 0
Hi folkz,
Need help in writing a C program..The scenario is as follows:
We need to copy a log file frm the database to a txt file and the txt file should automatically get updated whenever the log file is modified... Also there shld be a facility to filter data frm the txt file based on a condition...
Cud anyone help me out with diz..
Thnx in advance.
Nirmala.
Need help in writing a C program..The scenario is as follows:
We need to copy a log file frm the database to a txt file and the txt file should automatically get updated whenever the log file is modified... Also there shld be a facility to filter data frm the txt file based on a condition...
Cud anyone help me out with diz..
Thnx in advance.
Nirmala.
what kind of database? MySql or something else?
>>and the txt file should automatically get updated whenever the log file is modified
This might require a trigger on the database. When the table is updated then a trigger will be activated to run a stored procedure that maintains the text file. This has nothing to do with c or c++, but is a database feature.
>>and the txt file should automatically get updated whenever the log file is modified
This might require a trigger on the database. When the table is updated then a trigger will be activated to run a stored procedure that maintains the text file. This has nothing to do with c or c++, but is a database feature.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
•
•
Join Date: Nov 2006
Posts: 18
Reputation:
Solved Threads: 0
The database is - TIMBERLINE which is mostly used by construction companies 2 maintain their records. I've written the code 2 copy the log file into a text file. Need 2 knw how to update it and also how to select records tht satisfy a particular condition frm the text file.
Cud u plz help me with these..
Cud u plz help me with these..
To you mean Sage Timberline ? Sorry, never heard of it. You should probably contact their support staff.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
![]() |
Similar Threads
- could not open INSTALL.LOG file. (Windows NT / 2000 / XP)
- How to select data frm text file based on a condition (C)
- HJT Log file (Viruses, Spyware and other Nasties)
- help! hijackthis log file (Viruses, Spyware and other Nasties)
- please help me remove winfix. here is my log file from Hijack this (Viruses, Spyware and other Nasties)
- Log file rotation script (Perl)
Other Threads in the C++ Forum
- Previous Thread: [c++/visual studio 2003]Array Declaration Issue
- Next Thread: Random Number Guessing Game
| Thread Tools | Search this Thread |
api array arrays based beginner binary c++ c/c++ calculator char char* class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets






