Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - import from a text file into vfp
Message
De
11/07/1997 10:44:49
 
 
À
11/07/1997 08:51:39
Jp Steffen
Leadership Data Services
Des Moines, Iowa, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00038828
Message ID:
00039456
Vues:
45
>>one >of the most inefficient ways to do it is low level file manipulation. Why are you reprogramming Fox?
>>>
>>>Ok Guys! Sorry I was off the thread for a few days, but I wanted to answer Doris' question, "Why am I reprogramming Fox?" Well Doris you must be aware of some SET command or APPEND FROM argument which has of yet eluded me. Do me a favor and try this little test out. 1) Create a text file by opening a text editor and just typing into it WITHOUT inserting hard returns (No CRLF characters). Make sure to type a couple hundred characters in there for good measure. 2) Create a small .dbf table with 3 or four fields of 2 or three characters each. 3) Now use our highly esteem APPEND FROM command, APPEND FROM test.txt SDF.
>>>
>>>Doris and/or Dave, what happend on your machine? Do you know of some undocumented aurgument that tells Fox to break the strings according to the character length of the .dbf table. Not that this would change my reasons for using low-level file functions, I do things like input audits and conditionally post incoming tape data and un-packing 'packed binary' data from its original EBCDIC format. APPEND FROM is limited. Yes your right Doris, Low-level file functions can be a big performance hit. Sometimes I use a langauge a little closer to the hardware. But in many cases Fox's LL File functions allow me to read in, interpret and audit incoming data as it would normally come to me form an Standard 9 Track Tape.
>>>
>>>Dave, I never said you were a lazy programmer.
>>>
>>>JP
>>
>>well then let me be the first. if someone else has done the work for me, i say thanks, give them the credit and pass the savings on to the client...
>
>Point well taken Dave! So here are my thanks.... Thanks to MS and Fox Software before them for a product that leveraged my existing knowledge and has taken me much further that I ever thought possible. Thanks to Flash and Codebook for making a Fox 2.5/2.6 programmer out of me. Thanks to Micromega for saving me and my clients hundreds of hours of work and many thousands of dollars creating a reporting tool that even comes close in comparison. Thanks to Devigus for VFX, an application framework that enables us to create solid Visual Applications in record time. Oh, and thanks for those 'Low-Level' file functions when all the more evolved solutuions just can't quite get the job done!
>
>With warm regards,
>JP

I have to agree with JP. We programmers do our best to deliver a product. We all have different ways of doing things (lower level functions, wizards, a magnetic tool). As long as we do our best work and we are fair, then the billable hours will be what they will be. You know, as a programmer, most of the time, the client gets the better deal. They get code that works forever.
I would not worry about passing the savings onto the client, I would pass the savings onto your family.

Rob and family.
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform