cayz@udel.edu (James Cayz) (03/23/90)
Hi All, I am a novice HCer, with a few simple stacks under my belt... But I was recently asked to provide a report of a stack (ie, output a few key fields from each card of the stack into a text file...). Now, I can do the Open, write, etc., and get output, so that's not the problem. 1) My script does "write bg field foo & tab & bg field bar...", yet what I receive in the text file is (assuming foo="cat" and bar="dog") is "cat[return][tab]dog[return][...]". Where did the first return come from? If it isn't part of the field, how do I get rid of it, and if it is part of the field, is there something I can do to strip it off before it lands in the file (I am almost positive there are no [return]s in the HC data, but...) ????? 2) The stack cards have multiple fields, all of which I can sort / search on, no problem. However, for the report, I need them sorted by each of the 5 fields I wish to print (ie, print out fields "Category", "ShelfNumber"*, "Title", "Classification", and "Publisher", in strict ascending order... I can get sort to do one field at a time, but not more.... Any suggestions??? *Please note that all but "ShelfNumber" are Text, but "ShelfNumber" _has_ to be sorted numerically (ie 1 2 3 .. 100 ... 200, not 1 100 2 200 3 ... ). Please, replies of "Get a database system" aren't helpful at this stage, unless you are going to _give_ me one. :-) :-) :-) :-) Please, if possible, respond directly to me. I will send summaries to those who request it; posted to the net if enough answers and request-for-summaries are received.... Thanx in Advance... James Cayz |James Cayz can be found via: USPS: Educational Technology Laboratory, |E-MAIL (ARPA): cayz@louie.udel.edu : 203 Willard Hall Education Building, |PHONE: +1 302 451-6307 : University of Delaware, Newark DE 19716