Hey there. I have a project that i am working on that goes along the lines of this:

We have a program that records customers and dvds for a local dvd store. This program must be able to enter New Customers , Search Customer's , Modify Customer Details and Delete Customer and likewise for the dvds.

My problem is modifying the details... Would i use something like :

name='<name>';
if customer.name=name then ....

or am i aproaching this all wrong ?

Thx in advance for any help offered :D

You should look into using a database to save this kind of data since text files are harder and take longer to modify....

Look in the direction of the INI-file - TInifile.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.