Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by DMG2000

  1. DMG2000

    Help seperating and parsing a text file input

    > open (FILE, &quot;text.txt&quot;); > @file = <FILE>; > close(FILE); Now when this dumps the contents of FILE into an array and closes the file, does it delete the contents? When I write back to the file, will it insert duplicates, or start fresh? This would be excellent if I could achive the...
  2. DMG2000

    Help seperating and parsing a text file input

    Perhaps you could help with the following as well, this should be an easy one for you: I want to take a text file containing user names that appear as such: user1 user2 user3 ect... I want to take each line into an array (I have this part already) and the delete the lines from the text file, 5...
  3. DMG2000

    Help seperating and parsing a text file input

    Oh man, you are beautiful!!!! Works exactly as I want it to, thank you much. I will tweak around with the code and post back if I have any further questions, again, I appreciate it! Shawn (DMG2000) compute_x@yahoo.com
  4. DMG2000

    Help seperating and parsing a text file input

    ok...my input reads as follows: mark@sales ken@sales kelly@sales bob@accounting kim@accounting ect.... what I need to do is parse so that I get an output like: sales: mark ken kelly accounting: bob kim I have tried the code above, and even tried tweaking, but get bomb errors from perl.... I...
  5. DMG2000

    Beautiful Arrays : NEED HELP!

    No, the splice does not take out from 5 to end, it only removes the first 5, this has been tried and true so I know this works. Shawn (DMG2000) compute_x@yahoo.com
  6. DMG2000

    Beautiful Arrays : NEED HELP!

    Hmmmm...this is what happens when you stop thinking in logic: code line should be: foreach $line (@test[0,1,2,3,4]) I hate posting to myself, very simullar to talking to ones self..... Shawn (DMG2000) compute_x@yahoo.com
  7. DMG2000

    Beautiful Arrays : NEED HELP!

    Okay, this is the situation: ### Gets the text fil ### $list = 'list22.txt'; open(INF,&quot;$list&quot;); @test = <INF>; ### for each line, writes the line#### foreach $line (@test) { chomp($line); print &quot;$line\n&quot;; } print &quot;\nnext five lines being...
  8. DMG2000

    Help seperating and parsing a text file input

    Hi: I am new to perl and cgi, atho am experienced with vb and asp, so bear with me: I need to take a text file generated from a db of users@domains and I need to accomplish two things: 1> Seperate the users@domains so that output is like domain1:user1,user2,user3 domain2:user1,user2,user3 and...
  9. DMG2000

    Need Parsing Text Help

    Hi: I am new to perl and cgi, atho am experienced with vb and asp, so bear with me: I need to take a text file generated from a db of users@domains and I need to accomplish two things: 1> Seperate the users@domains so that output is like domain1:user1,user2,user3 domain2:user1,user2,user3 and...
  10. DMG2000

    DataReports and Printing

    does this print all records retrieved, or just the current record?
  11. DMG2000

    DataReports and Printing

    I have an orders application that I would like to print out the unprocessed orders via a menu item. Do I need to make a DataReport based on this, or can I have a Print Command that prints all the records displayed in the app form? Thanks!
  12. DMG2000

    Adding an ODBC to Registry

    Is it possible to have my app,when installing, utomaticly add a database to the ODBC under Win98 & NT Via a registry key? or do I need to create a dll? Thanks!
  13. DMG2000

    Using Code to Update a field in a table

    db.excute(&quot;Select * From Table Where Field ='&quot; & var &&quot;'&quot;) or query = Select * From Table Where Field = &quot; & var & &quot;
  14. DMG2000

    Date Input Mask...need mm/yy

    I need to get my date input mask so that acceepts &quot;mm/yy&quot; format for a credit card expiration....I have tried using &quot;99/99/00;0;_&quot; for the mask, but when entered 01/02 it appears in the db as 01/02/00. Thanks!
  15. DMG2000

    Opening MDIChild Form as Maximized???

    Ah hah....I gues it is working...my prob was when the child form loaded normal, it was small and had no scroll down, not a issue, but adding the height and width on load works excellent. Thanks again!

Part and Inventory Search

Back
Top