Spannerman
Programmer
I have a function to delete a record from a file.The method I am using takes an input code number and finds the record.I substitute the first letter of the surname found with an asterisk and rewrite to the file.I then read the file and write all records without an asterisk to a temporary file.I then use "system" to delete the original file and rename the temp file to the name of the original,thereby having a file without the deleted records.
I run my system on a network at work and the program works perfectly on MY computer.However,in clothing stores ,where they are using my software,when someone tries to delete,they get extended error 183 and when you view the stock database the record they have tried to delete shows up on the screen with an asterisk in the first position.Someone has suggested that error 183 is when when you attempt to create a file which already exists.I have cleaned the system entirely of anything remotely resembling my temporary file but the system still crashes.How come the program can work on one computer and not another????????
I run my system on a network at work and the program works perfectly on MY computer.However,in clothing stores ,where they are using my software,when someone tries to delete,they get extended error 183 and when you view the stock database the record they have tried to delete shows up on the screen with an asterisk in the first position.Someone has suggested that error 183 is when when you attempt to create a file which already exists.I have cleaned the system entirely of anything remotely resembling my temporary file but the system still crashes.How come the program can work on one computer and not another????????