home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / dbase / vviews.zip / SPACE.H < prev    next >
Text File  |  1990-09-27  |  2KB  |  75 lines

  1.  
  2. /* space.h
  3.  
  4. The following data structure(s) are for allocating the underlying data
  5. storage for the specified form(s) in your application.
  6.  
  7. The typedef name for each form's data structure is the form name in capital
  8. letters.  The data structure has a member for each item (field, memo, or
  9. scrollable region) on the form; the member name is the name of the item.  The
  10. member for a scroll region is an array of the data structure for the scroll
  11. region (the structure has a member for each of its fields).  Members are not
  12. included if the OMITFROMSTRUCT option is turned ON for that particular item.
  13.  
  14. This file was created: 27-Sep-90   11:19:44
  15.  
  16. */
  17.  
  18.  
  19. typedef struct                /* Data form data structure           */
  20. {
  21.     UCHAR transport[26];
  22. } TRANSPORT_FORM;
  23.  
  24.  
  25. typedef struct                /* Data form data structure           */
  26. {
  27.     UCHAR destination[26];
  28. } OTHER_DEST_FORM;
  29.  
  30.  
  31. typedef struct                /* Scroll region data structure          */
  32. {
  33.     UCHAR description[38];
  34.     UCHAR quantity[9];
  35. } SUPPLIES;
  36.  
  37.  
  38. typedef struct                /* Data form data structure           */
  39. {
  40.     SUPPLIES supplies[20];        /* For scroll region on form          */
  41. } SUPPLY_FORM;
  42.  
  43.  
  44. typedef struct                /* Scroll region data structure          */
  45. {
  46.     UCHAR name[21];
  47.     UCHAR species[21];
  48.     UCHAR idno[7];
  49. } GENERAL_STAFF;
  50.  
  51.  
  52. typedef struct                /* Data form data structure           */
  53. {
  54.     UCHAR scofficer[33];
  55.     UCHAR comofficer[33];
  56.     UCHAR navigator[33];
  57.     UCHAR pilot[33];
  58.     UCHAR warlord[33];
  59.     GENERAL_STAFF general_staff[20];/* For scroll region on form          */
  60. } CREW_FORM;
  61.  
  62.  
  63. typedef struct                /* Data form data structure           */
  64. {
  65.     UCHAR missioncom[27];
  66.     UCHAR transport[26];
  67.     UCHAR destination[26];
  68.     UCHAR speedunit[22];
  69.     UCHAR speed[22];
  70.     UCHAR missionpurpose[1520];
  71.     GENERAL_STAFF general_staff[20];/* For scroll region on form          */
  72.     SUPPLIES supplies[20];        /* For scroll region on form          */
  73. } SUMMARY_FORM;
  74.  
  75.