home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Unleashed / Visual_Basic_4_Unleashed_SAMS_Publishing_1995.iso / choreo / custserv.fr_ / custserv.bin (.txt)
Encoding:
Visual Basic Form  |  1995-09-12  |  8.5 KB  |  269 lines

  1. VERSION 2.00
  2. Begin Form cfrmCustService 
  3.    BackColor       =   &H00C0C0C0&
  4.    Caption         =   "Customer Service"
  5.    ClientHeight    =   5145
  6.    ClientLeft      =   1035
  7.    ClientTop       =   1710
  8.    ClientWidth     =   7515
  9.    Height          =   5550
  10.    Left            =   975
  11.    LinkTopic       =   "Form1"
  12.    MDIChild        =   -1  'True
  13.    ScaleHeight     =   5145
  14.    ScaleWidth      =   7515
  15.    Top             =   1365
  16.    Width           =   7635
  17.    Begin SSFrame fra3dOrderInfo 
  18.       Caption         =   "Order Information"
  19.       ForeColor       =   &H00000000&
  20.       Height          =   2175
  21.       Left            =   120
  22.       TabIndex        =   24
  23.       Top             =   2880
  24.       Width           =   7335
  25.       Begin CVDataGrid dgOrderDetail 
  26.          ColAlignment    =   "0,0,0,0,0"
  27.          ColCaption      =   "Order ID,Order Date,Ship Date,Tax Rate,Shipping Fee"
  28.          ColName         =   "colOrderID,colOrderDate,colShipDate,colTaxRate,colShippingFee"
  29.          ColReadOnlyFlag =   "0,1,1,0,0"
  30.          Columns         =   5
  31.          ColWidths       =   "1125,1500,1500,1350,1305"
  32.          Height          =   1275
  33.          Left            =   210
  34.          TabIndex        =   25
  35.          Top             =   315
  36.          Width           =   6885
  37.       End
  38.       Begin SSCommand cmb3dShowOrderDetail 
  39.          Caption         =   "Show Order Detail"
  40.          Height          =   375
  41.          Left            =   5040
  42.          TabIndex        =   13
  43.          Top             =   1680
  44.          Width           =   2055
  45.       End
  46.       Begin SSCommand cmb3dDeleteOrder 
  47.          Caption         =   "Delete Order"
  48.          Height          =   375
  49.          Left            =   2625
  50.          TabIndex        =   12
  51.          Top             =   1680
  52.          Width           =   2055
  53.       End
  54.       Begin SSCommand cmb3dInsertOrder 
  55.          Caption         =   "Insert Order ..."
  56.          Height          =   375
  57.          Left            =   240
  58.          TabIndex        =   11
  59.          Top             =   1680
  60.          Width           =   2055
  61.       End
  62.    End
  63.    Begin SSFrame fra3dCustInfo 
  64.       Caption         =   "Customer Information"
  65.       ForeColor       =   &H00000000&
  66.       Height          =   2295
  67.       Left            =   120
  68.       TabIndex        =   14
  69.       Top             =   120
  70.       Width           =   7335
  71.       Begin ComboBox cboCSRep 
  72.          Height          =   300
  73.          Left            =   960
  74.          Style           =   2  'Dropdown List
  75.          TabIndex        =   6
  76.          Top             =   1785
  77.          Width           =   3255
  78.       End
  79.       Begin TextBox txtPosition 
  80.          Height          =   300
  81.          Left            =   5280
  82.          TabIndex        =   10
  83.          Text            =   " "
  84.          Top             =   1800
  85.          Width           =   1935
  86.       End
  87.       Begin TextBox txtContact 
  88.          Height          =   300
  89.          Left            =   5280
  90.          TabIndex        =   9
  91.          Text            =   " "
  92.          Top             =   1440
  93.          Width           =   1935
  94.       End
  95.       Begin TextBox txtFAX 
  96.          Height          =   300
  97.          Left            =   5280
  98.          TabIndex        =   8
  99.          Text            =   " "
  100.          Top             =   1080
  101.          Width           =   1935
  102.       End
  103.       Begin TextBox txtPhone 
  104.          Height          =   300
  105.          Left            =   5280
  106.          TabIndex        =   7
  107.          Text            =   " "
  108.          Top             =   720
  109.          Width           =   1935
  110.       End
  111.       Begin TextBox txtCustID 
  112.          Height          =   300
  113.          Left            =   5280
  114.          TabIndex        =   19
  115.          TabStop         =   0   'False
  116.          Text            =   " "
  117.          Top             =   360
  118.          Width           =   1935
  119.       End
  120.       Begin TextBox txtZip 
  121.          Height          =   300
  122.          Left            =   3120
  123.          TabIndex        =   5
  124.          Text            =   " "
  125.          Top             =   1320
  126.          Width           =   1095
  127.       End
  128.       Begin TextBox txtState 
  129.          Height          =   300
  130.          Left            =   2520
  131.          TabIndex        =   4
  132.          Text            =   " "
  133.          Top             =   1320
  134.          Width           =   615
  135.       End
  136.       Begin TextBox txtCity 
  137.          Height          =   300
  138.          Left            =   960
  139.          TabIndex        =   3
  140.          Text            =   " "
  141.          Top             =   1320
  142.          Width           =   1575
  143.       End
  144.       Begin TextBox txtAddress2 
  145.          Height          =   300
  146.          Left            =   960
  147.          TabIndex        =   2
  148.          Text            =   " "
  149.          Top             =   1020
  150.          Width           =   3255
  151.       End
  152.       Begin TextBox txtName 
  153.          Height          =   300
  154.          Left            =   960
  155.          TabIndex        =   0
  156.          Text            =   " "
  157.          Top             =   360
  158.          Width           =   3255
  159.       End
  160.       Begin TextBox txtAddress1 
  161.          Height          =   300
  162.          Left            =   960
  163.          TabIndex        =   1
  164.          Text            =   " "
  165.          Top             =   720
  166.          Width           =   3255
  167.       End
  168.       Begin Label lblPosition 
  169.          BackColor       =   &H00C0C0C0&
  170.          Caption         =   "Position:"
  171.          Height          =   255
  172.          Left            =   4440
  173.          TabIndex        =   23
  174.          Top             =   1800
  175.          Width           =   735
  176.       End
  177.       Begin Label lblContact 
  178.          BackColor       =   &H00C0C0C0&
  179.          Caption         =   "Contact:"
  180.          Height          =   255
  181.          Left            =   4440
  182.          TabIndex        =   22
  183.          Top             =   1440
  184.          Width           =   735
  185.       End
  186.       Begin Label lblFAX 
  187.          BackColor       =   &H00C0C0C0&
  188.          Caption         =   "FAX:"
  189.          Height          =   255
  190.          Left            =   4440
  191.          TabIndex        =   21
  192.          Top             =   1080
  193.          Width           =   495
  194.       End
  195.       Begin Label lblPhone 
  196.          BackColor       =   &H00C0C0C0&
  197.          Caption         =   "Phone:"
  198.          Height          =   255
  199.          Left            =   4440
  200.          TabIndex        =   20
  201.          Top             =   720
  202.          Width           =   615
  203.       End
  204.       Begin Label lblCustID 
  205.          BackColor       =   &H00C0C0C0&
  206.          Caption         =   "Cust ID:"
  207.          Height          =   255
  208.          Left            =   4440
  209.          TabIndex        =   18
  210.          Top             =   360
  211.          Width           =   735
  212.       End
  213.       Begin Label lblCSRep 
  214.          BackColor       =   &H00C0C0C0&
  215.          Caption         =   "CS Rep:"
  216.          Height          =   255
  217.          Left            =   120
  218.          TabIndex        =   17
  219.          Top             =   1800
  220.          Width           =   735
  221.       End
  222.       Begin Label lblAddress 
  223.          BackColor       =   &H00C0C0C0&
  224.          Caption         =   "Address:"
  225.          Height          =   255
  226.          Left            =   120
  227.          TabIndex        =   16
  228.          Top             =   840
  229.          Width           =   735
  230.       End
  231.       Begin Label lblName 
  232.          BackColor       =   &H00C0C0C0&
  233.          Caption         =   "Name:"
  234.          Height          =   255
  235.          Left            =   120
  236.          TabIndex        =   15
  237.          Top             =   360
  238.          Width           =   615
  239.       End
  240.    End
  241. Sub cmb3dDeleteOrder_Click ()
  242.     If CalDeleteRecord(hDataGroup, "ORDERS") Then
  243.         MsgBox "Order successfully deleted.", 48
  244.     Else
  245.         MsgBox "Unable to delete current Order.", 48
  246.     End If
  247. End Sub
  248. Sub cmb3dInsertOrder_Click ()
  249.     Dim iResult As Integer
  250.     iResult = CalNewRecord(hDataGroup, "ORDERS")
  251.     cmb3dInsertOrder.Enabled = False
  252.     dfrmNewOrder.Show
  253. End Sub
  254. Sub cmb3dShowOrderDetail_Click ()
  255.     cmb3dShowOrderDetail.Enabled = False
  256.     cfrmReviewOrders.Show
  257. End Sub
  258. Sub Form_Load ()
  259.     cfrmCustService.Height = 5550
  260.     cfrmCustService.Width = 7635
  261.     cfrmCustService.Top = 0
  262.     cfrmCustService.Left = 0
  263.     mdifrmMain.mnuWindowCustomerService.Enabled = False
  264.     hDataGroup = CalGetDataGroup("CustomerService")
  265. End Sub
  266. Sub Form_Unload (Cancel As Integer)
  267.     mdifrmMain.mnuWindowCustomerService.Enabled = True
  268. End Sub
  269.