Hello all!

     It's been a while since I've bugged you, but I have some new 
programming projects coming up and thought I would tap this vast pool 
of experience to see if you could offer any advice on approaching 
these programming puzzles.

     The first thing I am curious about is password generation.  I am 
going to have to generate passwords for about 8000 people, plus or 
minus some.  I don't know if I should try to generate passwords based 
on an algorithm looking at their name or other unique information, or 
just some code that can generate 8000 unique passwords.  Either way 
would work.  I can assign unique passwords to the people myself if 
the password is not based on their name or other info.  

     I have another project that deals with manipulating a text 
file.  I am trying to decide which approach to take.  I can read the 
fields that the file deals with into a database, but there are many, 
many fields, and this would have to be done for three different forms 
(or projects) which in itself is pretty time consuming.  The other 
approach I am leaning towards is simply searching the text file for 
the record, which is multiple lines within the text file, by strings 
of text, then using text manipulation to change the info, using 
random file access.  Does anyone have experience with this type of 
project and or the pros and cons associated with strict text file 
manipulation vs database.  I have done both, but this is a bigger 
project in the size of the data files I am dealing with.  I am pretty 
sure if I can approach it with a dependable text file manipulation 
strategy I am going to cut time required to do the project by about 
75%.  The structure of the file is basically :

HEADER (with document number identifier) CRLF
RECORD 1 CRLF
RECORD 2 CRLF
"
RECORD 9 CRLF

======= The files are about 96 documents, so the above is repeated 
about 96 times for each document (which has about 9 pages, or records 
each).  I am hoping I can use random access to find text strings in 
the file I need and change them.  I basically want to know if for a 
file this size if it's going to be a waste of time to deal with the 
text directly as opposed to just creating a database with all the 
many fields per document.

Any input appreciated!  Thanks!

[C]




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~-> 


'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [EMAIL PROTECTED]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to