home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / db2db / db2db.sam (.txt) < prev    next >
Encoding:
Ami Pro/Word Pro document  |  1992-02-15  |  7.1 KB  |  233 lines

  1. [ver]
  2. [sty]
  3. [files]
  4. [charset]
  5.     ANSI (Windows, IBM CP 1252)
  6. [revisions]
  7. [prn]
  8.     PCL / HP LaserJet
  9. [lang]
  10. [desc]
  11.     698254188
  12.     694018817
  13. [fopts]
  14. [lnopts]
  15.     Body Text
  16. [docopts]
  17. [tag]
  18.     Body Text
  19.     [fnt]
  20.         TimesNewRomanPS
  21.         240
  22.         49152
  23.     [algn]
  24.     [spc]
  25.         273
  26.         100
  27.     [brk]
  28.     [line]
  29.     [spec]
  30.     [nfmt]
  31.         280
  32.     Body Text
  33. [tag]
  34.     Body Single
  35.     [fnt]
  36.         TimesNewRomanPS
  37.         240
  38.         49152
  39.     [algn]
  40.     [spc]
  41.         273
  42.         100
  43.     [brk]
  44.     [line]
  45.     [spec]
  46.     [nfmt]
  47.         280
  48.     Body Single
  49. [tag]
  50.     Bullet
  51.     [fnt]
  52.         TimesNewRomanPS
  53.         240
  54.         49152
  55.     [algn]
  56.         288
  57.         288
  58.     [spc]
  59.         273
  60.         100
  61.     [brk]
  62.     [line]
  63.     [spec]
  64.         <*0>
  65.         360
  66.     [nfmt]
  67.         272
  68.     Bullet
  69. [tag]
  70.     Bullet 1
  71.     [fnt]
  72.         TimesNewRomanPS
  73.         240
  74.         49152
  75.     [algn]
  76.         288
  77.         288
  78.         288
  79.     [spc]
  80.         273
  81.         100
  82.     [brk]
  83.     [line]
  84.     [spec]
  85.         <*5>
  86.     [nfmt]
  87.         280
  88.     Bullet 1
  89. [tag]
  90.     Number List
  91.     [fnt]
  92.         TimesNewRomanPS
  93.         240
  94.         49152
  95.     [algn]
  96.         360
  97.         360
  98.         360
  99.     [spc]
  100.         273
  101.         100
  102.     [brk]
  103.     [line]
  104.     [spec]
  105.         <*:>.
  106.         360
  107.     [nfmt]
  108.         272
  109.     Number List
  110. [tag]
  111.     Subhead
  112.     [fnt]
  113.         TimesNewRomanPS
  114.         240
  115.         49155
  116.     [algn]
  117.     [spc]
  118.         273
  119.         100
  120.     [brk]
  121.     [line]
  122.     [spec]
  123.     [nfmt]
  124.         272
  125.     Subhead
  126. [tag]
  127.     Title
  128.     [fnt]
  129.         Arial MT
  130.         360
  131.         16385
  132.     [algn]
  133.     [spc]
  134.         446
  135.         144
  136.         100
  137.     [brk]
  138.     [line]
  139.     [spec]
  140.     [nfmt]
  141.         272
  142.     Title
  143. [lay]
  144.     Standard
  145.     [rght]
  146.         15840
  147.         12240
  148.         1440
  149.         1440
  150.         1440
  151.         1440
  152.         1440
  153.         10800
  154.         720
  155.         1440
  156.         2160
  157.         2880
  158.         3600
  159.         4320
  160.         5040
  161.         5760
  162.         6480
  163.         7200
  164.         7920
  165.         8640
  166.     [hrght]
  167.     [lyfrm]
  168.         11200
  169.         12240
  170.         1440
  171.         1 0 0 0 0 0 0
  172.     [frmlay]
  173.         1440
  174.         12240
  175.         1440
  176.         792
  177.         1440
  178.         1440
  179.         10800
  180.         9360
  181.     [txt]
  182.     [frght]
  183.     [lyfrm]
  184.         13248
  185.         14400
  186.         12240
  187.         15840
  188.         1 0 0 0 0 0 0
  189.     [frmlay]
  190.         15840
  191.         12240
  192.         1440
  193.         792
  194.         14472
  195.         1440
  196.         1440
  197.         10800
  198.         4680
  199.         9360
  200.     [txt]
  201. [elay]
  202.     18 281 47 1025 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
  203. [edoc]
  204. dB2dB 1.00                                    2/15/92
  205. <:s><:#278,9360>
  206. <+#>What is dB2dB?<-#>
  207. <:s><:#278,9360>
  208. dB2dB is a utility program written in Visual Basic that allows for quick and easy transformations of database record information from one database to another.  Any field in one
  209. <:s><:#278,9360>database can be linked to another field in a second database for the purposes of data transfer.
  210. <:s><:#278,9360>
  211. <+#>How do you use dB2dB?<-#>
  212. <:s><:#278,9360>
  213. <:#1390,9360>Select your source database using the dB1 button.  A file box will appear that shows only files with a .dbf extension.  Select a database file and click on OK.  A window will appear with information on the selected database.  Repeat for your target database
  214.  using the dB2 button.  A window will again appear with information on the selected database.  Full paths to the selected databases appear above each dB button.  These fields are not editable.
  215. <:s><:#278,9360>
  216. Click on the list box for dB1 of the field where you have source information you wish to transfer to dB2.  Directly below the box information about the selected field will appear.  This information tells you the type of field and the length of the field.  T
  217. ypes of fields are C for character, N for numeric, D for date, M for memo, L for logical,.  dB2dB will only convert like fields.  If the source field is a date field, the target field must be a date field.  Also because of the varying memo field types, dB2d
  218. B will not link to or from any memo field.  Any attempt to do so will cause a box to be displayed notifying you that linking of memo fields is not allowed.  Click on the list box for dB2 of the field you wish to link with the selected field of dB1.  Click o
  219. n the Link button and a link will appear in the Link list box.  Continue selecting fields in dB1 to be linked with fields in dB2.  If you change your mind about a link, delink by clicking on the link information in the Link list and click on Remove Link.  T
  220. his will remove your link. 
  221. <:s><:#278,9360>
  222. <:s><:#1671,9360>After all links have been selected, click on GO.  A window will appear asking if you wish to erase the target database first if it contains any previous records.  Clicking on yes erases all previous records, clicking on no adds information to the target dat
  223. abase.  <+!>If you click on yes to erase the previous information it is gone forever.  Please be sure this is what you really want to do!<-!>  A second window will appear informing you that the erased data will be lost forever and confirmation that this is 
  224. really what you want to do.
  225. <:s><:#278,9360>
  226. <:#1668,9360>The cursor will change to an hourglass as the information is transferred between the databases.  The amount of time this takes will depend upon the CPU speed, hard disk speed, and the size of the databases.  However, it is quite fast and on slow CPU's with 
  227. small (under 1000 records) databases should take less than 2 minutes.  On fast CPU's with small (under 1000 records) databases it should take less than 10 seconds.  On a 486-33 with 16mS hard drives transferring 610 records with 57 fields took 6 seconds.
  228. <:s><:#278,9360>
  229. <:#1112,9360>This program is placed in the public domain.  The author makes no guarantees as to the appropriateness towards your application and assumes no liability for any problems or loss of data that occurs.  Other than that, I hope you find this program useful.  If
  230.  you have any questions my CIS ID is 76405,416, and AOL ID is BillT121.
  231. [Embedded]
  232. 00007243
  233.