This is a quick answers section. I would like to remind you that you have posted a complete project requirement here. Please read these links
What have you tried ?[
^]
and the rules for posting questions on CP
How to ask questions on CP ?[
^]
My quick suggestion is that - instead of recording the data on text files ( have you ever thought that there will be no validation when data will be written to text files ? How are you going to correct the incorrect data ? )in those mobile computers and reading it later, provide them with a webpage or LAN client from where the user can directly save the data to your database.