home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1995 June / PC_PLUS.BIN / vbdb / demoapp.vbd < prev    next >
Encoding:
Text File  |  1995-03-22  |  6.8 KB  |  448 lines

  1. VBDB Demonstration
  2. .
  3. demoapp.vbd
  4. BIBLIO.MDB    
  5.  5 
  6. Begin table Authors
  7.      3        -1             4             0 
  8.         Au_ID
  9.         "Au_ID"
  10.         -1 
  11.          4 
  12.          4 
  13.         
  14.         
  15.         
  16.         Author
  17.         "Author"
  18.         -1 
  19.          255 
  20.          10 
  21.         
  22.         
  23.         
  24.         Date
  25.         "Date"
  26.         -1 
  27.          8 
  28.          8 
  29.         
  30.         
  31.         
  32.  
  33.  0 
  34.  0 
  35.  7 
  36.     First 
  37.      0 
  38.      0 
  39.      0 
  40.      0 
  41.     Last 
  42.      0 
  43.      0 
  44.      0 
  45.      0 
  46.     Next 
  47.      0 
  48.      0 
  49.      0 
  50.      0 
  51.     Previous 
  52.      0 
  53.      0 
  54.      0 
  55.      0 
  56.     Sort
  57.      0 
  58.      0 
  59.      0 
  60.      0 
  61.     Refresh
  62.      0 
  63.      0 
  64.      0 
  65.      0 
  66.     Close
  67.      0 
  68.      0 
  69.      0 
  70.      0 
  71.          1 ,  0 ,  0 , -1 ,  1 ,  6000 ,  4000 , -1 , -1 ,  0 ,  0 
  72.     2 ,  7170 ,  2370 ,  0 ,  0 ,  0 ,  0 ,  0 ,  0 ,  0 
  73. End table 
  74. Begin table Publisher Comments
  75.      3        -1             4             0 
  76.         PubID
  77.         "PubID"
  78.         -1 
  79.          4 
  80.          4 
  81.         
  82.         
  83.         
  84.         Publisher
  85.         "Publisher"
  86.         -1 
  87.          25 
  88.          10 
  89.         
  90.         
  91.         
  92.         Comments
  93.         "Comments"
  94.         -1 
  95.          0 
  96.          12 
  97.         
  98.         
  99.         
  100.  
  101.  0 
  102.  0 
  103.  0 
  104.          1 ,  0 ,  0 , -1 ,  1 ,  8500 ,  8500 , -1 , -1 ,  0 ,  2 
  105.     1 ,  285 ,  645 ,  0 ,  0 ,  0 ,  0 ,  0 ,  0 ,  0 
  106. End table 
  107. Begin table Publishers
  108.      9        -1             0             0 
  109.         PubID
  110.         "PubID"
  111.         -1 
  112.          4 
  113.          4 
  114.         
  115.         
  116.         
  117.         Name
  118.         "Name"
  119.         -1 
  120.          50 
  121.          10 
  122.         
  123.         
  124.         
  125.         Company Name
  126.         "Company Name"
  127.         -1 
  128.          255 
  129.          10 
  130.         
  131.         
  132.         
  133.         Address
  134.         "Address"
  135.         -1 
  136.          50 
  137.          10 
  138.         
  139.         
  140.         
  141.         City
  142.         "City"
  143.         -1 
  144.          20 
  145.          10 
  146.         
  147.         
  148.         
  149.         State
  150.         "State"
  151.         -1 
  152.          10 
  153.          10 
  154.         
  155.         
  156.         
  157.         Zip
  158.         "Zip"
  159.         -1 
  160.          15 
  161.          10 
  162.         
  163.         
  164.         
  165.         Telephone
  166.         "Telephone"
  167.         -1 
  168.          15 
  169.          10 
  170.         
  171.         
  172.         
  173.         Fax
  174.         "Fax"
  175.         -1 
  176.          15 
  177.          10 
  178.         
  179.         
  180.         
  181.  
  182.  0 
  183.  0 
  184.  11 
  185.     Add
  186.      0 
  187.      0 
  188.      0 
  189.      0 
  190.     Delete
  191.      0 
  192.      0 
  193.      0 
  194.      0 
  195.     First
  196.      0 
  197.      0 
  198.      0 
  199.      0 
  200.     Last
  201.      0 
  202.      0 
  203.      0 
  204.      0 
  205.     Next
  206.      0 
  207.      0 
  208.      0 
  209.      0 
  210.     Previous
  211.      0 
  212.      0 
  213.      0 
  214.      0 
  215.     Update
  216.      0 
  217.      0 
  218.      0 
  219.      0 
  220.     Sort
  221.      0 
  222.      0 
  223.      0 
  224.      0 
  225.     Refresh
  226.      0 
  227.      0 
  228.      0 
  229.      0 
  230.     Close
  231.      0 
  232.      0 
  233.      0 
  234.      0 
  235.     Edit
  236.      0 
  237.      0 
  238.      0 
  239.      0 
  240.          1 ,  0 ,  0 , -1 ,  2 ,  8500 ,  6000 ,  0 ,  0 ,  0 ,  1 
  241.     2 ,  2655 ,  945 ,  0 ,  0 ,  0 ,  0 ,  0 ,  0 ,  0 
  242. End table 
  243. Begin table Titles
  244.      5        -1             4             0 
  245.         Title
  246.         "Title"
  247.         -1 
  248.          255 
  249.          10 
  250.         
  251.         
  252.         
  253.         Year Published
  254.         "Year Published"
  255.         -1 
  256.          2 
  257.          3 
  258.         
  259.         
  260.         
  261.         Au_ID
  262.         "Au_ID"
  263.         -1 
  264.          4 
  265.          4 
  266.         
  267.         
  268.         
  269.         ISBN
  270.         "ISBN"
  271.         -1 
  272.          20 
  273.          10 
  274.         
  275.         
  276.         
  277.         PubID
  278.         "PubID"
  279.         -1 
  280.          4 
  281.          4 
  282.         
  283.         
  284.         
  285.  
  286.  0 
  287.  0 
  288.  8 
  289.     First
  290.      0 
  291.      0 
  292.      0 
  293.      0 
  294.     Last
  295.      0 
  296.      0 
  297.      0 
  298.      0 
  299.     Next
  300.      0 
  301.      0 
  302.      0 
  303.      0 
  304.     Previous
  305.      0 
  306.      0 
  307.      0 
  308.      0 
  309.     Filter
  310.      0 
  311.      0 
  312.      0 
  313.      0 
  314.     Sort
  315.      0 
  316.      0 
  317.      0 
  318.      0 
  319.     Refresh
  320.      0 
  321.      0 
  322.      0 
  323.      0 
  324.     Close
  325.      0 
  326.      0 
  327.      0 
  328.      0 
  329.          2 ,  0 ,  0 , -1 ,  1 ,  6000 ,  5000 , -1 , -1 ,  0 ,  2 
  330.     1 ,  5055 ,  1920 ,  0 ,  0 ,  0 ,  0 ,  0 ,  0 ,  0 
  331. End table 
  332. Begin table By State
  333.      5         0             4             1 
  334.         Titles.Title
  335.         "Titles.Title"
  336.          0 
  337.          255 
  338.          10 
  339.         
  340.         
  341.         
  342.         Titles.[Year Published]
  343.         "Titles.[Year Published]"
  344.          0 
  345.          2 
  346.          3 
  347.         
  348.         
  349.         
  350.         Authors.Author
  351.         "Authors.Author"
  352.          0 
  353.          255 
  354.          10 
  355.         
  356.         
  357.         
  358.         Publisher
  359.         "Publisher"
  360.          0 
  361.          50 
  362.          10 
  363.         
  364.         
  365.         
  366.         Location
  367.         "Location"
  368.          0 
  369.          120 
  370.          10 
  371.         
  372.         
  373.         
  374.  
  375.  0 
  376.  0 
  377.  0 
  378.          2 ,  0 ,  0 , -1 ,  1 ,  8500 ,  3500 , -1 , -1 ,  0 ,  2 
  379.     1 ,  570 ,  2640 ,  0 ,  0 ,  0 ,  0 ,  0 ,  0 ,  0 
  380. End table 
  381.  0             0             0             0 
  382.  2             2             0             0 
  383.  7 
  384.  0 
  385. Publishers
  386. PubID
  387. Titles
  388. PubID
  389. "select [Publishers].[PubID], [Publishers].[Name], [Publishers].[Company Name], [Publishers].[Address], [Publishers].[City], [Publishers].[State], [Publishers].[Zip], [Publishers].[Telephone], [Publishers].[Fax] from [Publishers] "
  390. "select [Titles].[Title], [Titles].[Year Published], [Titles].[Au_ID], [Titles].[ISBN], [Titles].[PubID] from [Titles] where [Titles].[ISBN] = NULL"
  391.  2 
  392. Publishers
  393. PubID
  394. Publisher Comments
  395. PubID
  396. "This is a 'Table' object, no SQL."
  397. "select[Publisher Comments].[PubID], [Publisher Comments].[Publisher], [Publisher Comments].[Comments] from [Publisher Comments] where [Publisher Comments].[PubID] = [Publishers].[PubID]"
  398.  0 
  399. Publishers
  400. State
  401. By State
  402. [Enter state]
  403. "select [Publishers].[PubID], [Publishers].[Name], [Publishers].[Company Name], [Publishers].[Address], [Publishers].[City], [Publishers].[State], [Publishers].[Zip], [Publishers].[Telephone], [Publishers].[Fax] from [Publishers] "
  404. "select [By State].[Titles.Title], [By State].[Titles.[Year Published]], [By State].[Authors.Author], [By State].[Publisher], [By State].[Location] from [By State] where [By State].[[Enter state]] = NULL"
  405.  0 
  406. Titles
  407. Au_ID
  408. Authors
  409. Au_ID
  410. "select [Titles].[Title], [Titles].[Year Published], [Titles].[Au_ID], [Titles].[ISBN], [Titles].[PubID] from [Titles] "
  411. "select [Authors].[Au_ID], [Authors].[Author], [Authors].[Date] from [Authors] where [Authors].[Au_ID] = NULL"
  412.  3 
  413. Authors
  414. Au_ID
  415. Titles
  416. Au_ID
  417. ""
  418. ""
  419.  3 
  420. Publishers
  421. PubID
  422. Publisher Comments
  423. PubID
  424. ""
  425. ""
  426.  3 
  427. Publishers
  428. PubID
  429. Titles
  430. PubID
  431. ""
  432. ""
  433.  0 
  434.  0 
  435.  0 
  436.  0 
  437.  1 
  438.         [Enter state]
  439.         "[Enter state]"
  440.          0 
  441.          0 
  442.          0 
  443.         
  444.         State
  445.         
  446.  0 
  447. End
  448.