home *** CD-ROM | disk | FTP | other *** search
/ Delphi Anthology / aDELPHI.iso / Runimage / Delphi50 / Demos / Db / Bkquery / queryfrm.dfm / queryfrm.txt
Encoding:
Text File  |  1999-08-11  |  2.9 KB  |  159 lines

  1. object AdhocForm: TAdhocForm
  2.   Left = 195
  3.   Top = 109
  4.   BorderStyle = bsSingle
  5.   Caption = 'Adhoc Background Query Demo'
  6.   ClientHeight = 297
  7.   ClientWidth = 545
  8.   Color = clBtnFace
  9.   ParentFont = True
  10.   OldCreateOrder = True
  11.   Position = poScreenCenter
  12.   OnCloseQuery = FormCloseQuery
  13.   OnCreate = FormCreate
  14.   OnDestroy = FormDestroy
  15.   PixelsPerInch = 96
  16.   TextHeight = 13
  17.   object Label1: TLabel
  18.     Left = 16
  19.     Top = 16
  20.     Width = 74
  21.     Height = 13
  22.     Caption = '&Database Alias:'
  23.     FocusControl = AliasCombo
  24.   end
  25.   object Label2: TLabel
  26.     Left = 16
  27.     Top = 56
  28.     Width = 31
  29.     Height = 13
  30.     Caption = '&Query:'
  31.     FocusControl = QueryEdit
  32.   end
  33.   object Label3: TLabel
  34.     Left = 152
  35.     Top = 16
  36.     Width = 56
  37.     Height = 13
  38.     Caption = '&User Name:'
  39.     FocusControl = NameEdit
  40.   end
  41.   object Label4: TLabel
  42.     Left = 304
  43.     Top = 16
  44.     Width = 49
  45.     Height = 13
  46.     Caption = '&Password:'
  47.     FocusControl = PasswordEdit
  48.   end
  49.   object Label5: TLabel
  50.     Left = 15
  51.     Top = 259
  52.     Width = 72
  53.     Height = 13
  54.     Caption = '&Retrieve query:'
  55.     FocusControl = SavedQueryCombo
  56.   end
  57.   object Bevel1: TBevel
  58.     Left = 8
  59.     Top = 8
  60.     Width = 449
  61.     Height = 281
  62.     Shape = bsFrame
  63.   end
  64.   object AliasCombo: TComboBox
  65.     Left = 16
  66.     Top = 32
  67.     Width = 129
  68.     Height = 21
  69.     ItemHeight = 13
  70.     TabOrder = 0
  71.     Text = 'AliasCombo'
  72.   end
  73.   object QueryEdit: TMemo
  74.     Left = 16
  75.     Top = 72
  76.     Width = 425
  77.     Height = 177
  78.     Lines.Strings = (
  79.       'select Company, Sum(ItemsTotal) - Sum(AmountPaid) as AmountDue '
  80.       '  from customer, orders '
  81.       '  where Customer.CustNo = Orders.CustNo'
  82.       '  group by Company')
  83.     TabOrder = 3
  84.   end
  85.   object NameEdit: TEdit
  86.     Left = 152
  87.     Top = 32
  88.     Width = 145
  89.     Height = 21
  90.     TabOrder = 1
  91.   end
  92.   object PasswordEdit: TEdit
  93.     Left = 304
  94.     Top = 32
  95.     Width = 137
  96.     Height = 21
  97.     PasswordChar = '*'
  98.     TabOrder = 2
  99.     Text = 'masterkey'
  100.   end
  101.   object ExecuteBtn: TButton
  102.     Left = 464
  103.     Top = 8
  104.     Width = 75
  105.     Height = 25
  106.     Caption = '&Execute'
  107.     Default = True
  108.     TabOrder = 5
  109.     OnClick = ExecuteBtnClick
  110.   end
  111.   object CloseBtn: TButton
  112.     Left = 464
  113.     Top = 134
  114.     Width = 75
  115.     Height = 25
  116.     Cancel = True
  117.     Caption = '&Close'
  118.     TabOrder = 6
  119.     OnClick = CloseBtnClick
  120.   end
  121.   object SavedQueryCombo: TComboBox
  122.     Left = 96
  123.     Top = 256
  124.     Width = 345
  125.     Height = 21
  126.     Style = csDropDownList
  127.     ItemHeight = 13
  128.     TabOrder = 4
  129.     OnChange = SavedQueryComboChange
  130.   end
  131.   object SaveBtn: TButton
  132.     Left = 464
  133.     Top = 72
  134.     Width = 75
  135.     Height = 25
  136.     Caption = '&Save'
  137.     TabOrder = 7
  138.     OnClick = SaveBtnClick
  139.   end
  140.   object SaveAsBtn: TButton
  141.     Left = 464
  142.     Top = 104
  143.     Width = 75
  144.     Height = 25
  145.     Caption = 'Save &as'
  146.     TabOrder = 8
  147.     OnClick = SaveAsBtnClick
  148.   end
  149.   object NewBtn: TButton
  150.     Left = 464
  151.     Top = 40
  152.     Width = 75
  153.     Height = 25
  154.     Caption = '&New'
  155.     TabOrder = 9
  156.     OnClick = NewBtnClick
  157.   end
  158. end
  159.