Subj : Re: a problem To : Nenad Mijaljevic From : Scott Adams Date : Sat Jun 02 2001 03:56 pm -=> Quoting Nenad Mijaljevic to Scott Adams <=- NM> assign(a,'telefoni.dat'); NM> reset(a); NM> write(a,novi); NM> close(a); TWM> The above ist basically what you are doing. You open a file for TWM> reading and then try to write to it. Unless you set the file access to TWM> readwrite this will not work. Unfortunately I don't quite recall how TWM> to do that. I think there is a variable somewhere that you must set: TWM> FileMode It should be described in the online help. SA> Would use Rewrite() rather than Reset() NM> Yes but I need that file.That's a phonebook :) Gotcha. How you doing the actualy telephone #? I wrote a app generator years ago for phone numbers and I goofed up that (never had time to get back into it and fix it). Just using a basic text field or going to use international and such formats for 'fill in' mode? .... "All this will be for nothing unless we go to the stars" - Babylon 5 --- Fringe BBS * Origin: EWOG II - The Fringe - 904-733-1721 (1:112/91) .