home *** CD-ROM | disk | FTP | other *** search
/ Dr. Watson 2.0 / DRWATSON2.iso / OFFICE / WZMAIN80.MDE / bw_TblBtnActions.json < prev    next >
JavaScript Object Notation  |  1997-03-17  |  10KB

  1. {
  2.     "schema": {
  3.         "ActionID": "Integer",
  4.         "Description": "Text (50)",
  5.         "DefaultCaption": "Text (50)",
  6.         "DefaultPictureID": "Integer",
  7.         "SuggestedPictureIDs": "Text (50)",
  8.         "CategoryID": "Integer",
  9.         "NeedDocName": "Boolean NOT NULL",
  10.         "Declarations": "Text (255)",
  11.         "Body": "Memo/Hyperlink (255)",
  12.         "ErrHandler": "Text (255)"
  13.     },
  14.     "data": [
  15.         {
  16.             "ActionID": 1,
  17.             "Description": "╨í╨╗╨╡╨┤╤â╤Ä╤ë╨░╤Å ╨╖╨░╨┐╨╕╤ü╤î",
  18.             "DefaultCaption": "╨í╨╗╨╡╨┤╤â╤Ä╤ë╨░╤Å ╨╖╨░╨┐╨╕╤ü╤î",
  19.             "DefaultPictureID": 321,
  20.             "SuggestedPictureIDs": "2,28,33,268,133,321",
  21.             "CategoryID": 1,
  22.             "NeedDocName": 0,
  23.             "Body": "DoCmd.GoToRecord , , acNEXT"
  24.         },
  25.         {
  26.             "ActionID": 2,
  27.             "Description": "╨ƒ╤Ç╨╡╨┤╤ï╨┤╤â╤ë╨░╤Å ╨╖╨░╨┐╨╕╤ü╤î",
  28.             "DefaultCaption": "╨ƒ╤Ç╨╡╨┤╤ï╨┤╤â╤ë╨░╤Å ╨╖╨░╨┐╨╕╤ü╤î",
  29.             "DefaultPictureID": 322,
  30.             "SuggestedPictureIDs": "1,19,21,282,119,322",
  31.             "CategoryID": 1,
  32.             "NeedDocName": 0,
  33.             "Body": "DoCmd.GoToRecord , , acPREVIOUS"
  34.         },
  35.         {
  36.             "ActionID": 3,
  37.             "Description": "╨ƒ╨╡╤Ç╨▓╨░╤Å ╨╖╨░╨┐╨╕╤ü╤î",
  38.             "DefaultCaption": "╨ƒ╨╡╤Ç╨▓╨░╤Å ╨╖╨░╨┐╨╕╤ü╤î",
  39.             "DefaultPictureID": 323,
  40.             "SuggestedPictureIDs": "3,41,43,296,105,323",
  41.             "CategoryID": 1,
  42.             "NeedDocName": 0,
  43.             "Body": "DoCmd.GoToRecord ,,acFIRST"
  44.         },
  45.         {
  46.             "ActionID": 4,
  47.             "Description": "╨ƒ╨╛╤ü╨╗╨╡╨┤╨╜╤Å╤Å ╨╖╨░╨┐╨╕╤ü╤î",
  48.             "DefaultCaption": "╨ƒ╨╛╤ü╨╗╨╡╨┤╨╜╤Å╤Å ╨╖╨░╨┐╨╕╤ü╤î",
  49.             "DefaultPictureID": 324,
  50.             "SuggestedPictureIDs": "4,26,35,91,147,324",
  51.             "CategoryID": 1,
  52.             "NeedDocName": 0,
  53.             "Body": "DoCmd.GoToRecord , , acLAST"
  54.         },
  55.         {
  56.             "ActionID": 5,
  57.             "Description": "╨ƒ╨╛╨╕╤ü╨║ ╨╖╨░╨┐╨╕╤ü╨╕",
  58.             "DefaultCaption": "╨ƒ╨╛╨╕╤ü╨║ ╨╖╨░╨┐╨╕╤ü╨╕",
  59.             "DefaultPictureID": 167,
  60.             "SuggestedPictureIDs": "37,167",
  61.             "CategoryID": 1,
  62.             "NeedDocName": 0,
  63.             "Body": "Screen.PreviousControl.SetFocus\r\nDoCmd.DoMenuItem acFORMBAR,acEDITMENU, 10,,acMENUVER70"
  64.         },
  65.         {
  66.             "ActionID": 6,
  67.             "Description": "╨í╨╛╤à╤Ç╨░╨╜╨╡╨╜╨╕╨╡ ╨╖╨░╨┐╨╕╤ü╨╕",
  68.             "DefaultCaption": "╨í╨╛╤à╤Ç╨░╨╜╨╡╨╜╨╕╨╡ ╨╖╨░╨┐╨╕╤ü╨╕",
  69.             "DefaultPictureID": 183,
  70.             "SuggestedPictureIDs": "38,53,54,183,227",
  71.             "CategoryID": 2,
  72.             "NeedDocName": 0,
  73.             "Body": "DoCmd.DoMenuItem acFORMBAR, acRECORDSMENU, acSAVERECORD,,acMENUVER70"
  74.         },
  75.         {
  76.             "ActionID": 7,
  77.             "Description": "╨Æ╨╛╤ü╤ü╤é╨░╨╜╨╛╨▓╨╗╨╡╨╜╨╕╨╡ ╨╖╨░╨┐╨╕╤ü╨╕",
  78.             "DefaultCaption": "╨Æ╨╛╤ü╤ü╤é╨░╨╜╨╛╨▓╨╗╨╡╨╜╨╕╨╡ ╨╖╨░╨┐╨╕╤ü╨╕",
  79.             "DefaultPictureID": 248,
  80.             "SuggestedPictureIDs": "8,189,248,294",
  81.             "CategoryID": 2,
  82.             "NeedDocName": 0,
  83.             "Body": "DoCmd.DoMenuItem acFORMBAR, acEDITMENU,acUNDO,,acMENUVER70"
  84.         },
  85.         {
  86.             "ActionID": 8,
  87.             "Description": "╨ú╨┤╨░╨╗╨╡╨╜╨╕╨╡ ╨╖╨░╨┐╨╕╤ü╨╕",
  88.             "DefaultCaption": "╨ú╨┤╨░╨╗╨╡╨╜╨╕╨╡ ╨╖╨░╨┐╨╕╤ü╨╕",
  89.             "DefaultPictureID": 304,
  90.             "SuggestedPictureIDs": "55,58,304,148",
  91.             "CategoryID": 2,
  92.             "NeedDocName": 0,
  93.             "Body": "DoCmd.DoMenuItem acFORMBAR, acEDITMENU, 8,,acMENUVER70\r\nDoCmd.DoMenuItem acFORMBAR, acEDITMENU, 6,,acMENUVER70"
  94.         },
  95.         {
  96.             "ActionID": 9,
  97.             "Description": "╨ƒ╨╡╤ç╨░╤é╤î ╨╖╨░╨┐╨╕╤ü╨╕",
  98.             "DefaultCaption": "╨ƒ╨╡╤ç╨░╤é╤î ╨╖╨░╨┐╨╕╤ü╨╕",
  99.             "DefaultPictureID": 166,
  100.             "SuggestedPictureIDs": "166",
  101.             "CategoryID": 2,
  102.             "NeedDocName": 0,
  103.             "Body": "DoCmd.DoMenuItem acFORMBAR, acEDITMENU, 8,,acMENUVER70\r\nDoCmd.PrintOut acSELECTION"
  104.         },
  105.         {
  106.             "ActionID": 10,
  107.             "Description": "╨₧╤é╨║╤Ç╤ï╤é╨╕╨╡ ╤ä╨╛╤Ç╨╝╤ï",
  108.             "DefaultCaption": "╨₧╤é╨║╤Ç╤ï╤é╨╕╨╡ ╤ä╨╛╤Ç╨╝╤ï",
  109.             "DefaultPictureID": 137,
  110.             "SuggestedPictureIDs": "137",
  111.             "CategoryID": 3,
  112.             "NeedDocName": 1,
  113.             "Declarations": "Dim stDocName as String\r\nDim stLinkCriteria as String",
  114.             "Body": "DoCmd.OpenForm stDocName,,,stLinkCriteria"
  115.         },
  116.         {
  117.             "ActionID": 11,
  118.             "Description": "╨ƒ╨╡╤ç╨░╤é╤î ╨╛╤é╤ç╨╡╤é╨░",
  119.             "DefaultCaption": "╨ƒ╨╡╤ç╨░╤é╤î ╨╛╤é╤ç╨╡╤é╨░",
  120.             "DefaultPictureID": 166,
  121.             "SuggestedPictureIDs": "51,166,146",
  122.             "CategoryID": 4,
  123.             "NeedDocName": 1,
  124.             "Declarations": "Dim stDocName as String",
  125.             "Body": "DoCmd.OpenReport stDocName, acNORMAL"
  126.         },
  127.         {
  128.             "ActionID": 12,
  129.             "Description": "╨ù╨░╨║╤Ç╤ï╤é╨╕╨╡ ╤ä╨╛╤Ç╨╝╤ï",
  130.             "DefaultCaption": "╨ù╨░╨║╤Ç╤ï╤é╨╕╨╡ ╤ä╨╛╤Ç╨╝╤ï",
  131.             "DefaultPictureID": 93,
  132.             "SuggestedPictureIDs": "6,93",
  133.             "CategoryID": 3,
  134.             "NeedDocName": 0,
  135.             "Body": "DoCmd.Close"
  136.         },
  137.         {
  138.             "ActionID": 13,
  139.             "Description": "╨ƒ╨╡╤ç╨░╤é╤î ╤é╨░╨▒╨╗╨╕╤å╤ï",
  140.             "DefaultCaption": "╨ƒ╨╡╤ç╨░╤é╤î ╤é╨░╨▒╨╗╨╕╤å╤ï",
  141.             "DefaultPictureID": 166,
  142.             "SuggestedPictureIDs": "166,104",
  143.             "CategoryID": 9,
  144.             "NeedDocName": 1,
  145.             "Declarations": "Dim stDocName as String\r\nDim MyForm as Form",
  146.             "Body": "Set MyForm = Screen.ActiveForm\r\nDoCmd.SelectObject acTABLE,stDocName,TRUE\r\nDoCmd.PrintOut\r\nDoCmd.SelectObject acFORM,MyForm.Name, FALSE"
  147.         },
  148.         {
  149.             "ActionID": 14,
  150.             "Description": "╨ƒ╨╡╤ç╨░╤é╤î ╤ä╨╛╤Ç╨╝╤ï",
  151.             "DefaultCaption": "╨ƒ╨╡╤ç╨░╤é╤î ╤ä╨╛╤Ç╨╝╤ï",
  152.             "DefaultPictureID": 166,
  153.             "SuggestedPictureIDs": "166",
  154.             "CategoryID": 3,
  155.             "NeedDocName": 1,
  156.             "Declarations": "Dim stDocName as String\r\nDim MyForm as Form",
  157.             "Body": "Set MyForm = Screen.ActiveForm\r\nDoCmd.SelectObject acFORM,stDocName,TRUE\r\nDoCmd.PrintOut\r\nDoCmd.SelectObject acFORM,MyForm.Name, FALSE"
  158.         },
  159.         {
  160.             "ActionID": 16,
  161.             "Description": "╨ƒ╤Ç╨╛╤ü╨╝╨╛╤é╤Ç ╨╛╤é╤ç╨╡╤é╨░",
  162.             "DefaultCaption": "╨ƒ╤Ç╨╛╤ü╨╝╨╛╤é╤Ç ╨╛╤é╤ç╨╡╤é╨░",
  163.             "DefaultPictureID": 51,
  164.             "SuggestedPictureIDs": "51,219,199,186",
  165.             "CategoryID": 4,
  166.             "NeedDocName": 1,
  167.             "Declarations": "Dim stDocName as String",
  168.             "Body": "DoCmd.OpenReport stDocName, acPREVIEW"
  169.         },
  170.         {
  171.             "ActionID": 17,
  172.             "Description": "╨₧╨▒╨╜╨╛╨▓╨╗╨╡╨╜╨╕╨╡ ╨┤╨░╨╜╨╜╤ï╤à",
  173.             "DefaultCaption": "╨₧╨▒╨╜╨╛╨▓╨╗╨╡╨╜╨╕╨╡",
  174.             "DefaultPictureID": 0,
  175.             "CategoryID": 3,
  176.             "NeedDocName": 0,
  177.             "Body": "DoCmd.DoMenuItem acFORMBAR, acRECORDSMENU, 5,,acMENUVER70"
  178.         },
  179.         {
  180.             "ActionID": 18,
  181.             "Description": "╨ù╨░╨┐╤â╤ü╨║ ╨┐╤Ç╨╕╨╗╨╛╨╢╨╡╨╜╨╕╤Å",
  182.             "DefaultCaption": "╨ù╨░╨┐╤â╤ü╨║ ╨┐╤Ç╨╕╨╗╨╛╨╢╨╡╨╜╨╕╤Å",
  183.             "DefaultPictureID": 0,
  184.             "SuggestedPictureIDs": "73,68,212,201,145,159",
  185.             "CategoryID": 7,
  186.             "NeedDocName": 0,
  187.             "Declarations": "Dim stAppName as String",
  188.             "Body": "call Shell(stAppName, 1)"
  189.         },
  190.         {
  191.             "ActionID": 19,
  192.             "Description": "╨ƒ╤Ç╨╕╨╝╨╡╨╜╨╡╨╜╨╕╨╡ ╤ä╨╕╨╗╤î╤é╤Ç╨░",
  193.             "DefaultCaption": "╨ƒ╤Ç╨╕╨╝╨╡╨╜╨╡╨╜╨╕╨╡ ╤ä╨╕╨╗╤î╤é╤Ç╨░",
  194.             "DefaultPictureID": 178,
  195.             "SuggestedPictureIDs": "178,92,315",
  196.             "CategoryID": 3,
  197.             "NeedDocName": 0,
  198.             "Body": "DoCmd.DoMenuItem acFORMBAR,acRECORDSMENU,2,,acMENUVER70"
  199.         },
  200.         {
  201.             "ActionID": 20,
  202.             "Description": "╨ÿ╨╖╨╝╨╡╨╜╨╡╨╜╨╕╨╡ ╤ä╨╕╨╗╤î╤é╤Ç╨░",
  203.             "DefaultCaption": "╨ÿ╨╖╨╝╨╡╨╜╨╡╨╜╨╕╨╡ ╤ä╨╕╨╗╤î╤é╤Ç╨░",
  204.             "DefaultPictureID": 95,
  205.             "SuggestedPictureIDs": "95,283",
  206.             "CategoryID": 3,
  207.             "NeedDocName": 0,
  208.             "Body": "DoCmd.DoMenuItem acFORMBAR,acRECORDSMENU,0,2,acMENUVER70"
  209.         },
  210.         {
  211.             "ActionID": 21,
  212.             "Description": "╨ù╨░╨┐╤â╤ü╨║ ╨╖╨░╨┐╤Ç╨╛╤ü╨░",
  213.             "DefaultCaption": "╨Æ╤ï╨┐╨╛╨╗╨╜╨╡╨╜╨╕╨╡ ╨╖╨░╨┐╤Ç╨╛╤ü╨░",
  214.             "DefaultPictureID": 52,
  215.             "SuggestedPictureIDs": "52,290,141,127,113,99",
  216.             "CategoryID": 9,
  217.             "NeedDocName": 1,
  218.             "Declarations": "Dim stDocName as String",
  219.             "Body": "DoCmd.OpenQuery stDocName, acNORMAL,acEDIT"
  220.         },
  221.         {
  222.             "ActionID": 22,
  223.             "Description": "╨ö╨╛╨▒╨░╨▓╨╗╨╡╨╜╨╕╨╡ ╨╖╨░╨┐╨╕╤ü╨╕",
  224.             "DefaultCaption": "╨ö╨╛╨▒╨░╨▓╨╗╨╡╨╜╨╕╨╡ ╨╖╨░╨┐╨╕╤ü╨╕",
  225.             "DefaultPictureID": 214,
  226.             "SuggestedPictureIDs": "48,56,161,214",
  227.             "CategoryID": 2,
  228.             "NeedDocName": 0,
  229.             "Body": "DoCmd.GoToRecord , , acNEWREC"
  230.         },
  231.         {
  232.             "ActionID": 23,
  233.             "Description": "╨ù╨░╨┐╤â╤ü╨║ ╨╝╨░╨║╤Ç╨╛╤ü╨░",
  234.             "DefaultCaption": "╨ù╨░╨┐╤â╤ü╨║ ╨╝╨░╨║╤Ç╨╛╤ü╨░",
  235.             "DefaultPictureID": 160,
  236.             "SuggestedPictureIDs": "160,275",
  237.             "CategoryID": 9,
  238.             "NeedDocName": 1
  239.         },
  240.         {
  241.             "ActionID": 26,
  242.             "Description": "╨Æ╤ï╤à╨╛╨┤ ╨╕╨╖ ╨┐╤Ç╨╕╨╗╨╛╨╢╨╡╨╜╨╕╤Å",
  243.             "DefaultCaption": "╨Æ╤ï╤à╨╛╨┤ ╨╕╨╖ ╨┐╤Ç╨╕╨╗╨╛╨╢╨╡╨╜╨╕╤Å",
  244.             "DefaultPictureID": 6,
  245.             "SuggestedPictureIDs": "6,93",
  246.             "CategoryID": 7,
  247.             "NeedDocName": 0,
  248.             "Body": "DoCmd.Quit"
  249.         },
  250.         {
  251.             "ActionID": 27,
  252.             "Description": "╨ù╨░╨┐╤â╤ü╨║ ╨▒╨╗╨╛╨║╨╜╨╛╤é╨░",
  253.             "DefaultCaption": "╨ù╨░╨┐╤â╤ü╨║ ╨▒╨╗╨╛╨║╨╜╨╛╤é╨░",
  254.             "DefaultPictureID": 73,
  255.             "SuggestedPictureIDs": "60,61,73",
  256.             "CategoryID": 7,
  257.             "NeedDocName": 0,
  258.             "Body": "call Shell(\"NOTEPAD.EXE\", 1)"
  259.         },
  260.         {
  261.             "ActionID": 28,
  262.             "Description": "╨¥╨░╨▒╨╛╤Ç ╨╜╨╛╨╝╨╡╤Ç╨░",
  263.             "DefaultCaption": "╨¥╨░╨▒╨╛╤Ç ╨╜╨╛╨╝╨╡╤Ç╨░",
  264.             "DefaultPictureID": 15,
  265.             "SuggestedPictureIDs": "15,158",
  266.             "CategoryID": 9,
  267.             "NeedDocName": 0,
  268.             "Declarations": "Dim stDialStr as String\r\nDim PrevCtl as Control\r\nConst ERR_OBJNOTEXIST = 2467\r\nConst ERR_OBJNOTSET = 91",
  269.             "Body": "Set PrevCtl = Screen.PreviousControl\r\n\r\nIf TypeOf PrevCtl Is TEXTBOX Then\r\n  stDialStr = iif(VarType(PrevCtl) >  V_NULL ,PrevCtl,\"\")\r\nElseIf TypeOf PrevCtl Is LISTBOX Then\r\n  stDialStr = iif(VarType(PrevCtl) >  V_NULL ,PrevCtl,\"\")\r\nElseIf TypeOf PrevCtl Is COMBOBOX Then\r\n  stDialStr = iif(VarType(PrevCtl) > V_NULL ,PrevCtl,\"\")\r\nElse\r\n  stDialStr = \"\"\r\nEnd If\r\n\r\nApplication.Run \"utility.wlib_AutoDial\",stDialStr",
  270.             "ErrHandler": "if (Err = ERR_OBJNOTEXIST) or (Err = ERR_OBJNOTSET) Then\r\n  Resume Next\r\nEnd If\r\nMsgBox Err.Description"
  271.         },
  272.         {
  273.             "ActionID": 29,
  274.             "Description": "╨¥╨░╨╣╤é╨╕ ╨┤╨░╨╗╨╡╨╡",
  275.             "DefaultCaption": "╨¥╨░╨╣╤é╨╕ ╨┤╨░╨╗╨╡╨╡",
  276.             "DefaultPictureID": 211,
  277.             "SuggestedPictureIDs": "211",
  278.             "CategoryID": 1,
  279.             "NeedDocName": 0,
  280.             "Body": "Screen.PreviousControl.SetFocus\r\nDoCmd.FindNext"
  281.         },
  282.         {
  283.             "ActionID": 30,
  284.             "Description": "╨ö╤â╨▒╨╗╨╕╤Ç╨╛╨▓╨░╨╜╨╕╨╡ ╨╖╨░╨┐╨╕╤ü╨╕",
  285.             "DefaultCaption": "╨ö╤â╨▒╨╗╨╕╤Ç╨╛╨▓╨░╨╜╨╕╨╡ ╨╖╨░╨┐╨╕╤ü╨╕",
  286.             "DefaultPictureID": 228,
  287.             "SuggestedPictureIDs": "225,228",
  288.             "CategoryID": 2,
  289.             "NeedDocName": 0,
  290.             "Body": "DoCmd.DoMenuItem acFORMBAR,acEDITMENU,8,,acMENUVER70\r\nDoCmd.DoMenuItem acFORMBAR,acEDITMENU,2,,acMENUVER70\r\nDoCmd.DoMenuItem acFORMBAR,acEDITMENU,5,,acMENUVER70 'Paste Append"
  291.         },
  292.         {
  293.             "ActionID": 31,
  294.             "Description": "╨Æ╤ï╨▓╨╛╨┤ ╨╛╤é╤ç╨╡╤é╨░ ╨▓ ╤ä╨░╨╣╨╗",
  295.             "DefaultCaption": "╨₧╤é╤ç╨╡╤é ╨▓ ╤ä╨░╨╣╨╗",
  296.             "DefaultPictureID": 51,
  297.             "SuggestedPictureIDs": "51,130,116,144",
  298.             "CategoryID": 4,
  299.             "NeedDocName": 1,
  300.             "Declarations": "Dim stDocName as String",
  301.             "Body": "DoCmd.OutputTo acREPORT,stDocName"
  302.         },
  303.         {
  304.             "ActionID": 32,
  305.             "Description": "╨₧╤é╨┐╤Ç╨░╨▓╨║╨░ ╨╛╤é╤ç╨╡╤é╨░",
  306.             "DefaultCaption": "╨₧╤é╨┐╤Ç╨░╨▓╨║╨░ ╨╛╤é╤ç╨╡╤é╨░",
  307.             "DefaultPictureID": 63,
  308.             "SuggestedPictureIDs": "63,190,187,146",
  309.             "CategoryID": 4,
  310.             "NeedDocName": 1,
  311.             "Declarations": "Dim stDocName as String",
  312.             "Body": "DoCmd.SendObject acREPORT,stDocName"
  313.         },
  314.         {
  315.             "ActionID": 33,
  316.             "Description": "╨ù╨░╨┐╤â╤ü╨║ MS Excel",
  317.             "DefaultCaption": "╨ù╨░╨┐╤â╤ü╨║ Excel",
  318.             "DefaultPictureID": 159,
  319.             "SuggestedPictureIDs": "159",
  320.             "CategoryID": 7,
  321.             "NeedDocName": 0,
  322.             "Declarations": "Dim oApp as Object",
  323.             "Body": "Set oApp = CreateObject(\"Excel.Application\")\r\noApp.Visible = TRUE\r\n'Only XL 97 supports UserControl Property\r\non error resume next \r\noApp.UserControl = TRUE"
  324.         },
  325.         {
  326.             "ActionID": 34,
  327.             "Description": "╨ù╨░╨┐╤â╤ü╨║ MS Word",
  328.             "DefaultCaption": "╨ù╨░╨┐╤â╤ü╨║ Word",
  329.             "DefaultPictureID": 145,
  330.             "SuggestedPictureIDs": "145",
  331.             "CategoryID": 7,
  332.             "NeedDocName": 0,
  333.             "Declarations": "Dim oApp as Object",
  334.             "Body": "Set oApp = CreateObject(\"Word.Application\")\r\noApp.Visible = TRUE"
  335.         },
  336.         {
  337.             "ActionID": 35,
  338.             "Description": "╨ƒ╨╡╤ç╨░╤é╤î ╤é╨╡╨║╤â╤ë╨╡╨╣ ╤ä╨╛╤Ç╨╝╤ï",
  339.             "DefaultCaption": "╨ƒ╨╡╤ç╨░╤é╤î ╤ä╨╛╤Ç╨╝╤ï",
  340.             "DefaultPictureID": 166,
  341.             "SuggestedPictureIDs": "166",
  342.             "CategoryID": 3,
  343.             "NeedDocName": 0,
  344.             "Body": "DoCmd.PrintOut"
  345.         }
  346.     ]
  347. }