Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : DB2WP.ZIP
Filename : DB2WP.WPF

 
Output of file : DB2WP.WPF contained in archive : DB2WP.ZIP
ÿWPCÙ
ûÿ2BÿÿV^‚´ÿÿW6#|xSchoolbook 10 Pt. ÿÿÿ‡*\,,,ô¯Xô\ÌlPP"®Bþþþþþþþþþÿÿÿÿÿÿþÿÿÿþÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ"ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ^,,4€Xˆ„,< p  °
Ðð0Pp°Ðð0Pp°Ð ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÌÐ#|xGLYPHIX2 GLYP.PRSXxˆt¤@ÉÉS,,,,0.xW‚ÒT I. A. 1. a.(1)(a) i) a) 1. a. i.(1)(a)(i) 1) a)TÒÐÌX°` ¸ hÀpÈ xÐ (#€%Ø'ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿX°Ðð0 P
p  °
Ðð0Pp°Ðð0Pp°Ð ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÌÐûÿ2×â¢e„véx_"ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ^HHX̐ÌÈHhh„ØHHH„HHØØØX”¨°Ä˜ŒÄÌXX¨ˆØÀ̜̌ˆ ¸˜ä¬”œh„h„H|˜xœˆL„œHDŒHܜ˜œ”hlTœxĄtt„„„ØCourier 12 Pt. (internal)Garamond 16 Pt. Courier 14 Pt. àCourier 12 Pt. ÿCourier 12 Pt. Italic,Head1Heading Level 1= «XÃÃà Ã××××ÄÄÄ ÄHead2g1Heading Level 2~ @†ÃÃà Ã××××

ÄÄÄ Äûÿ2Á p øy(q (™
Head4Heading Level 4 {_ #ÃÃ××××ÄÄCol02BP BPTwo even block-protected parallel columnsÐ5éqÜÊÒƂ°À(#ÆÒŸŇˆÅ¸ÅÒƂ°À(#‚°À(#ÆÒTabBul12Tabs for bullets at 12 cpisÐ}ÚÐÌX°Ðð0 P
p  °
Ðð0Pp°Ðð0Pp°Ð ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ,X„°Ü4` Œ
¸ ä <h”ÀìDpœÈô Lx¤Ð ü!(#ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÌÐTabNum12Tabs for numbers at 12 cpiiЫÁÐÌX°Ðð0 P
p  °
Ðð0Pp°Ðð0Pp°Ð ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿŒ¤0¼H Ô
` ì
x¨4ÀLØdð| "ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÌÐûÿ2(ó (
°C
ŽóTabBul10Tabs for bullets at 10 cpiÐ}ÚÐÌX°Ðð0 P
p  °
Ðð0Pp°Ðð0Pp°Ð ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ,X„°Ü4` Œ
¸ ä <h”ÀìDpœÈô Lx¤Ð ü!(#ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÌÐTabNum10Tabs for numbers at 10 cpiÐ{ÐÌX°Ðð0 P
p  °
Ðð0Pp°Ðð0Pp°Ð ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿŒ$°<Ô` ì
„ œ4ÀLäpü” ¬DÐ \"ô#€% 'ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÌÐOutlParaPara # def for std outline scheme XÒT 1. a. i.(1)(a)(i) 1) a) I. A. 1. a.(1)(a)[1][a]TÒCol02NewsTwo newspaper style columns, with tabs
›·{7t›ÒÆ°8 (#ÆÒÐÌX°` ¸ hÀpÈ xÐ (#€%Ø'ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿX°Ü4` Œ
¸ ä <h”À Ìø$P|¨Ô,X „!°"ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÌЇˆÒÆ°8 (#°8 (#ÆÒÐÌX°Ü4` Œ
¸ ä <h”À Ìø$P|¨Ô,X „!°"ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿX°Ü4` Œ
¸ ä <h”À Ìø$P|¨Ô,X „!°"ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÌÐûÿ2 v³®)ÿÿJ×Head3Heading Level 3 ¾ «YÃÃà Ã××××ÄÄÄ Ää-ÿÿ¦,xxx,XšXxˆt¤@ÉÉSþþþþþþÿÿÿÿÿÿþÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ´Ö?ŒHH, —= Œ ÐPP›Ïþþþþþþþÿþÿÿÿÿÿÿþÿÿÿþÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿh.ÿÿÁ2ŒŒŒ,,¼‰¼Œˆt¤@ÉÉÏó þþþþþþþþþÿÿÿÿÿÿþÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ¢-ÿÿ¦,xxx,=XùXxˆt¤@ÉIÎó þþþþþþþÿþÿÿÿÿÿÿþÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ&.ÿÿ¦,xxx,NXÙXxˆt¤ÜHɁ‚SþþþþþþþÿÿÿÿÿÿÿÿþÿÿÿþÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÕã´,ýÚyx°°dddyÚÔ



DB2WP.WPM DocumentationÁà!ì(Á© ©ƒÁ`-(#9ÁSeptember 16, 1988ãÕÃÃÛ{TabNum10ÛÐÌX°Ðð0 P
p  °
Ðð0Pp°Ðð0Pp°Ð ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿŒ$°<Ô` ì
„ œ4ÀLäpü” ¬DÐ \"ô#€% 'ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÌÐÛÛdBase III+ Delimited File to WordPerfect 5.0 Merge Format
ÄÄ

à ÃÄ ÄCopyright (c) 1988, Stuart Bloom

à ÃÄ ÄPermission is granted to distribute this macro and its
accompanying documentation on a FREE basis only. No fee may be
charged for copying, shipping, or transmission without the
author's written consent. Permission is specifically granted to
distribute this macro through on©line data base services.

à ÃÄ ÄThe user assumes all risks associated with the use of this macro
and by using it agrees to this assumption.


ÒT 1. a. i.(1)(a)(i) 1) a) 1. a.(1)(a)[1][a] 1) a)TÒThis macro, Ã ÃDB2WP.WPMÄ Ä, does two things:

Ø1.ØŒ <
ÂConverts a dBase III format delimited file into
WordPerfect 5.0 merge format.Æ(#<Æ

Œ
<
ÂA dBase III format file is a "comma©delimited ASCII" file.
All fields are separated by commas. Fields defined as
Character fields within dBase are enclosed in quotes.
Numeric fields, logical fields, and date fields are ÃÃnotÄÄ
enclosed in quotes. Commas may be present within character
fields, but not in any other type of field.Æ(#<Æ

Œ
<
ÂThis macro should work with most comma©delimited ASCII files,
with or without quotes, provided that ÃÃno commas appear in
unquoted fieldsÄÄ; it has been tested, however, ÃÃonlyÄÄ with
dBase III+ delimited files.Æ(#<Æ

Ø2.ØŒ <
ÂOnce a file has been converted into WordPerfect merge format,
allows the user to convert dates in dBase III export format
to a more standard form.Æ(#<Æ

Œ
<
ÂdBase III exports date fields in this format:Æ(#<Æ

Á
<
ÁÁ
ÔÁYYYYMMDDÂÔ„ ÂŒÂwhere:Â$$4$ÂŒ$À(ÂYYYY is the yearÆ(#ÀÆ
Á
<
ÁÁ
ÔÁÁ` ÁÁì
ÁÁ„ ÁÁÁÁœ!ÁÁ!4$ÁÂ$À(ÂMM is the monthÆ(#ÀÆ
Á
<
ÁÁ
ÔÁÁ` ÁÁì
ÁÁ„ ÁÁÁÁœ!ÁÁ!4$ÁÂ$À(ÂDD is the dayÆ(#ÀÆ

Á
<
ÁJune 11, 1989, for example, would be represented à Ã19890611Ä Ä.
Ô ‰#ԌţÅŒ
<
ÂThis is ideal for sorting, but not for human comprehension.
This macro, therefore, allows the conversion of this format
into any of these four formats:Æ(#<Æ

Á
<
ÁÁ
ÔÁMM©DD©YYÂÔ„ ÂŒÂ06©11©89Æ(#Æ
Á
<
ÁÁ
ÔÁMM/DD/YYÁ„ ÁÁÁ06/11/89
Á
<
ÁÁ
ÔÁMM©DD©YYYYÁÁ06©11©1989
Á
<
ÁÁ
ÔÁMM/DD/YYYYÁÁ06/11/1989


ÃÃPreparing the File ÒT 1. a.(1)(a)[1][a] 1) a) 1. a.(1)(a)[1][a] 1) a)TÒIn dBase III+ÄÄ:Ô
Á2


In dBase III+, the basic strategy is to use the à ÃCOPY TO DELIMITEDÄ Ä
feature to export a comma©delimited ASCII file. The steps are:

Ø1.ØŒ <
ÂMake the file from which records are to be written the active
file using a command like:Æ(#<Æ

Á
<
ÁÁ
ÔÁÃ ÃUSE [INDEX ]Ä Ä

Œ
<
ÂThe à ÃINDEX Ä Ä clause is optional. If used, the
records in the dBase III+ file will be exported in the order
specified by the index.Æ(#<Æ

Å£ÅØ2.ØŒ <
ÂWrite the desired records to a text file using the dBase III+
command:Æ(#<Æ

Á
<
ÁÂ$
ÔÂÃ ÃCOPY TO [FIELDS ... ]
[FOR ] TYPE DELIMITEDÄ ÄÆ(#ÔÆ

Œ
<
ÂThe minimum syntax is à ÃCOPY TO TYPE DELIMITEDÄ Ä. If
fields are specified, they will be exported in the order they
are named. If conditions are specified, those conditions
will govern which records are exported.Æ(#<Æ

Œ
<
Â(See the dBase III+ manual for additional options with the
à ÃCOPY TOÄ Ä command.)Æ(#<Æ

Œ
<
ÂNote that if no file extension is specified, dBase III+ will
automatically append the .TXT extension.Æ(#<Æ

ÃÃÔ Ã!ԌÅo ÅRunning the Macro In WordPerfectÄÄÔ
Á2


In WordPerfect:

ÒT 1. a.(1)(a)[1][a] 1) a) 1. a.(1)(a)[1][a] 1) a)TÒØ1.ØŒ <
ÂRetrieve the file to be converted. If the file is still a
text file (which it will be until it has been retrieved into
WordPerfect and saved), use the sequence:Æ(#<Æ

Á
<
ÁÁ
ÔÁÃ ÃCtrl©F5 T R EnterÄ Ä

Œ
<
ÂOnce the file has been saved in WordPerfect format one time,
it can be retrieved in the standard manner using à ÃShft©F10Ä Ä or
from the à Ã[List Files]Ä Ä screen.Æ(#<Æ

Åo ÅØ2.ØŒ <
ÂStart the macro à ÃDB2WPÄ Ä.Æ(#<Æ

Œ
<
ÂÃ ÃNOTE:Ä ÄÂ$` ÂÃ Ã[Cancel]Ä Ä will stop the macro at any point.Æ(#` Æ

Å4ÅØ3.ØŒ <
ÂThe first choice will be to:Æ(#<Æ

Á
<
Á1 Convert dBase III file to WP Merge
Á
<
Á2 Change Date fields
Á
<
Á0 Quit

Œ
<
ÂYou must convert the file (choice 1) before you can change
the date fields.Æ(#<Æ

Å4ÅØ4.ØŒ <
ÂTo convert the dBase file to WP Merge format:Æ(#<Æ

Á
<
ÁØa.ØÂ$ÔÂSelect à ÃCÄ Äonvert dBase III file to WP Merge (à Ã1Ä Ä)Æ(#ÔÆ

Á
<
ÁØb.ØÂ$ÔÂYou will see a message asking you to confirm that the
correct file is displayed on the screen.Æ(#ÔÆ

Á
<
ÁÁ
ÔÁØ(1)Ø°` ÂIf it is, answer "Y." The macro will do the
conversion. If you have a large file and/or a slow
computer, this will take awhile, so be patient.Æ(#` Æ

Á
<
ÁÁ
ÔÁØ(2)Ø°` ÂIf it is not, answer "N." A message will appear
instructing you to retrieve the file and re©run the
macro. The macro will then terminate.Æ(#` Æ
Ô Ã!ԌÅ| ÅØ5.ØŒ <
ÂTo convert dBase III date formats to a more standard format:Æ(#<Æ

Á
<
ÁØa.ØÂ$ÔÂSelect Change à ÃDÄ Äate fields (à Ã2Ä Ä)Æ(#ÔÆ

Á
<
ÁØb.ØÂ$ÔÂYou will see a message asking you to confirm that the
correct file is displayed on the screen.Æ(#ÔÆ

Á
<
ÁÁ
ÔÁØ(1)Ø°` ÂIf it is, answer "Y."Æ(#` Æ

Á
<
ÁÁ
ÔÁØ(2)Ø°` ÂIf it is not, answer "N." A message will appear
instructing you to retrieve the file and re©run the
macro. The macro will then terminate.Æ(#` Æ

Å| ÅÁ
<
ÁØc.ØÂ$ÔÂAssuming you have answered "Y" to the previous query, the
macro will next ask you to select your delimiter. This is
the character that will separate the month, day, and year.
You have two choices:Æ(#ÔÆ

Á
<
ÁÁ
ÔÁØ(1)Ø°` ÂA slash (à Ã/Ä Ä)Æ(#` Æ

Á
<
ÁÁ
ÔÁØ(2)Ø°` ÂA dash (à Ã-Ä Ä)Æ(#` Æ

ŐÅÁ
<
ÁØd.ØÂ$ÔÂYou are next asked to select the format in which the year
will be displayed. There are two choices:Æ(#ÔÆ

Á
<
ÁÁ
ÔÁØ(1)Ø°` Âà Ã2Ä Ä©digit format (e.g., 88)Æ(#` Æ

Á
<
ÁÁ
ÔÁØ(2)Ø°` Âà Ã4Ä Ä©digit format (e.g., 1988)Æ(#` Æ

ŐÅÁ
<
ÁØe.ØÂ$ÔÂYou are then asked for the field number to convert.Æ(#ÔÆ

Œ
<
˜
ÔÂFields are numbered beginning with the first field in each
record. If, for example, the first field - i.e., the
first line of text ending with ^R © is a date field, and
you want to convert it, type à Ã1Ä Ä, then press à Ã[Enter]Ä Ä. The
macro will then convert the first field in every record
into your chosen format.Æ(#ÔÆ

Œ
<
˜
ÔÂà ÃCAUTION:Ä Ä°„ ÂThis macro does next to no error checking. If
you select a field that is ÃÃnotÄÄ a dBase III date
field, the results will be unpredictable,
interesting, and most undesirable. Also, if you
only have 8 fields and you tell the macro to
convert field 11, strange and unpleasant things
will happen.Æ(#„ Æ
Ô ê$ԌÅÅÁ
<
ÁØf.ØÂ$ÔÂAfter the macro has finished, it will ask you for another
field number. You can continue this until you have
converted all the dBase III date field you want to
convert.Æ(#ÔÆ
ÅÅ


  3 Responses to “Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : DB2WP.ZIP
Filename : DB2WP.WPF

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/