Abstract of INFO-MAC archived Text file 'dev/info/fox-base-plus.txt' Uploaded 03/22/1993 24668 bytes From: dent@DIALix.oz.au (Andrew Dent) Subject: tips for Fox programmers Date: Wed, 17 Mar 93 21:05:07 WST The following is a long list of tips for FoxBase+/Mac programmers (although many are generally applicable to Foxbase). ABOUT THESE NOTES All copyright to these notes is hereby relinquished and I transfer them to the public domain. However, please leave this message at the top of the notes. If you have any corrections or additional hints, forward to me and I will incorporate them in the notes for future release. Some of these notes may be a bit cryptic - they were written as more of a reminder to me when coming back to FB from other environments. Feel free to call for explanations, or mail me improved descriptions! 16th March 1993 Andy Dent A.D. Software, 94 Bermuda Dve, Ballajura Western Australia 6066 phone/fax 61-9-249-2719 CompuServe 100033,3241 Internet dent@dialix.oz.au PS I have a couple of nifty shareware XCMDS for double-clicking Browse & external scrolling list dialogs, with their own arrays! --------------------==========--------------------==========-------------------- DUPLICATE RECORD, OR CARRY FORWARD Normally you can't use the SET CARRY option unless you want to be stuck in APPEND mode with all its disadvantages (including the Append menu!). The following code snippet allows you to use SET CARRY ON to duplicate the current record, but editing it with a READ. It relies on having an empty format file for the Append, which exits so fast (due to the ctrl-end in the keyboard buffer) that there is no flicker. set carry on set format to empty keyboard(chr(23)) append set format to test && the real format file read NOTE The standard technique to duplicate a record is COPY TO a temp file and then APPEND FROM.