-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfMain.dfm
328 lines (328 loc) · 9.82 KB
/
fMain.dfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
object fmMain: TfmMain
Left = 0
Top = 0
Caption = 'Raport'
ClientHeight = 561
ClientWidth = 961
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object pHeader: TPanel
Left = 0
Top = 0
Width = 961
Height = 89
Align = alTop
BevelOuter = bvNone
ShowCaption = False
TabOrder = 0
DesignSize = (
961
89)
object cxbtnConnect: TcxButton
Left = 874
Top = 56
Width = 75
Height = 25
Anchors = [akTop, akRight]
Caption = 'Connect'
TabOrder = 0
OnClick = cxbtnConnectClick
end
object cxteConnection: TcxTextEdit
Left = 16
Top = 29
Anchors = [akLeft, akTop, akRight]
TabOrder = 1
Text =
'SERVER=LAP-GORAK\SQLEXPRESS;OSAuthent=Yes;ApplicationName=Enterp' +
'rise/Architect/Ultimate;Workstation=LAP-GORAK;DATABASE=LSI_Expor' +
't;MARS=yes;DriverID=MSSQL'
Width = 933
end
object cxlConnection: TcxLabel
Left = 18
Top = 6
Caption = 'Connection string'
end
end
object pFilter: TPanel
Left = 0
Top = 89
Width = 185
Height = 472
Align = alLeft
BevelOuter = bvNone
ShowCaption = False
TabOrder = 1
object cxcbPlace: TcxComboBox
Left = 16
Top = 29
Enabled = False
Properties.DropDownListStyle = lsEditFixedList
TabOrder = 0
Width = 161
end
object cxbtnFiltr: TcxButton
Left = 16
Top = 440
Width = 75
Height = 25
Caption = 'Zatwierd'#378
Enabled = False
TabOrder = 1
OnClick = cxbtnFiltrClick
end
object cxlPlace: TcxLabel
Left = 16
Top = 6
Caption = 'Lokal'
end
object cxdeDateFrom: TcxDateEdit
Left = 16
Top = 79
Enabled = False
Properties.DateButtons = [btnToday]
Properties.SaveTime = False
Properties.ShowTime = False
Properties.ShowToday = False
TabOrder = 3
Width = 161
end
object cxlDateFrom: TcxLabel
Left = 16
Top = 56
Caption = 'Data od'
end
object cxdeDateTo: TcxDateEdit
Left = 18
Top = 129
Enabled = False
Properties.DateButtons = [btnToday]
Properties.SaveTime = False
Properties.ShowTime = False
Properties.ShowToday = False
TabOrder = 5
Width = 161
end
object cxlDateTo: TcxLabel
Left = 18
Top = 106
Caption = 'Data do'
end
end
object cxgExport: TcxGrid
Left = 185
Top = 89
Width = 776
Height = 472
Align = alClient
TabOrder = 2
object cxdbgtvGrid1DBTableView1: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
ScrollbarAnnotations.CustomAnnotations = <>
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <>
DataController.Summary.SummaryGroups = <>
object cxdbgtvGrid1DBTableView1Column1: TcxGridDBColumn
DataBinding.IsNullValueType = True
end
end
object cxdbgtvExportTV: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
Navigator.Buttons.First.Visible = True
Navigator.Buttons.PriorPage.Visible = True
Navigator.Buttons.Prior.Visible = True
Navigator.Buttons.Next.Visible = True
Navigator.Buttons.NextPage.Visible = True
Navigator.Buttons.Last.Visible = True
Navigator.Buttons.Insert.Visible = True
Navigator.Buttons.Append.Visible = False
Navigator.Buttons.Delete.Visible = True
Navigator.Buttons.Edit.Visible = True
Navigator.Buttons.Post.Visible = True
Navigator.Buttons.Cancel.Visible = True
Navigator.Buttons.Refresh.Visible = True
Navigator.Buttons.SaveBookmark.Visible = True
Navigator.Buttons.GotoBookmark.Visible = True
Navigator.Buttons.Filter.Visible = True
FilterBox.Visible = fvNever
ScrollbarAnnotations.CustomAnnotations = <>
DataController.DataModeController.SyncMode = False
DataController.DataSource = dsExport
DataController.KeyFieldNames = 'ID'
DataController.MultiThreadedOptions.Filtering = bFalse
DataController.MultiThreadedOptions.Sorting = bFalse
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <>
DataController.Summary.SummaryGroups = <>
OptionsCustomize.ColumnFiltering = False
OptionsData.Deleting = False
OptionsData.Editing = False
OptionsData.Inserting = False
OptionsSelection.CellSelect = False
OptionsView.GroupByBox = False
OptionsView.HeaderFilterButtonShowMode = fbmSmartTag
OptionsView.ShowColumnFilterButtons = sfbWhenSelected
object cxgrdbclmncxg1DBTableView1EXPORT_NAME: TcxGridDBColumn
Caption = 'Nazwa'
DataBinding.FieldName = 'EXPORT_NAME'
Width = 200
end
object cxgrdbclmncxg1DBTableView1EXPORT_DATE: TcxGridDBColumn
Caption = 'Data'
DataBinding.FieldName = 'EXPORT_DATE'
end
object cxgrdbclmncxg1DBTableView1EXPORT_TIME: TcxGridDBColumn
Caption = 'Godzina'
DataBinding.FieldName = 'EXPORT_TIME'
Width = 87
end
object cxgrdbclmncxg1DBTableView1EXPORT_USER: TcxGridDBColumn
Caption = 'U'#380'ytkownik'
DataBinding.FieldName = 'EXPORT_USER'
Width = 200
end
object cxgrdbclmncxg1DBTableView1EXPORT_PLACE: TcxGridDBColumn
Caption = 'Lokal'
DataBinding.FieldName = 'EXPORT_PLACE'
Width = 200
end
end
object cxdbgtvcxg1DBTableView11: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
Navigator.Buttons.First.Visible = True
Navigator.Buttons.PriorPage.Visible = True
Navigator.Buttons.Prior.Visible = True
Navigator.Buttons.Next.Visible = True
Navigator.Buttons.NextPage.Visible = True
Navigator.Buttons.Last.Visible = True
Navigator.Buttons.Insert.Visible = True
Navigator.Buttons.Append.Visible = False
Navigator.Buttons.Delete.Visible = True
Navigator.Buttons.Edit.Visible = True
Navigator.Buttons.Post.Visible = True
Navigator.Buttons.Cancel.Visible = True
Navigator.Buttons.Refresh.Visible = True
Navigator.Buttons.SaveBookmark.Visible = True
Navigator.Buttons.GotoBookmark.Visible = True
Navigator.Buttons.Filter.Visible = True
FilterBox.Visible = fvNever
ScrollbarAnnotations.CustomAnnotations = <>
DataController.DataModeController.SyncMode = False
DataController.DataSource = dsExport
DataController.KeyFieldNames = 'ID'
DataController.MultiThreadedOptions.Filtering = bFalse
DataController.MultiThreadedOptions.Sorting = bFalse
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <>
DataController.Summary.SummaryGroups = <>
OptionsCustomize.ColumnFiltering = False
OptionsSelection.CellSelect = False
OptionsView.GroupByBox = False
OptionsView.HeaderFilterButtonShowMode = fbmSmartTag
OptionsView.ShowColumnFilterButtons = sfbWhenSelected
object cxgrdbclmncxg1DBTableView1EXPORT_NAME1: TcxGridDBColumn
DataBinding.FieldName = 'EXPORT_NAME'
end
object cxgrdbclmncxg1DBTableView1EXPORT_DATE1: TcxGridDBColumn
DataBinding.FieldName = 'EXPORT_DATE'
end
object cxgrdbclmncxg1DBTableView1EXPORT_TIME1: TcxGridDBColumn
DataBinding.FieldName = 'EXPORT_TIME'
end
object cxgrdbclmncxg1DBTableView1EXPORT_USER1: TcxGridDBColumn
DataBinding.FieldName = 'EXPORT_USER'
end
object cxgrdbclmncxg1DBTableView1EXPORT_PLACE1: TcxGridDBColumn
DataBinding.FieldName = 'EXPORT_PLACE'
end
end
object cxglExportLvl: TcxGridLevel
Caption = 'cxg1Level1'
GridView = cxdbgtvExportTV
end
end
object fdcMain: TFDConnection
Params.Strings = (
'SERVER=LAP-GORAK\SQLEXPRESS'
'OSAuthent=Yes'
'ApplicationName=Enterprise/Architect/Ultimate'
'Workstation=LAP-GORAK'
'DATABASE=LSI_Export'
'MARS=yes'
'DriverID=MSSQL')
LoginPrompt = False
Left = 344
Top = 128
end
object fdqTemp: TFDQuery
Connection = fdcMain
Left = 392
Top = 128
end
object fdphysmsqldrvrlnk1: TFDPhysMSSQLDriverLink
Left = 496
Top = 224
end
object fdqExport: TFDQuery
Connection = fdcMain
SQL.Strings = (
'SELECT TOP (1000) [ID]'
' ,[EXPORT_NAME]'
' ,CONVERT(date, [EXPORT_DATETIME]) as EXPORT_DATE'
#9' ,CONVERT(time, [EXPORT_DATETIME]) as EXPORT_TIME'
' ,[EXPORT_USER]'
' ,[EXPORT_PLACE]'
' FROM [LSI_Export].[dbo].[EXPORT]')
Left = 632
Top = 120
object lrgntfldExportID: TLargeintField
AutoGenerateValue = arAutoInc
FieldName = 'ID'
Origin = 'ID'
ProviderFlags = [pfInWhere, pfInKey]
ReadOnly = True
end
object wdstrngfldExportEXPORT_NAME: TWideStringField
FieldName = 'EXPORT_NAME'
Origin = 'EXPORT_NAME'
FixedChar = True
Size = 255
end
object dtfldExportEXPORT_DATE: TDateField
FieldName = 'EXPORT_DATE'
Origin = 'EXPORT_DATE'
ReadOnly = True
end
object tmfldExportEXPORT_TIME: TTimeField
FieldName = 'EXPORT_TIME'
Origin = 'EXPORT_TIME'
ReadOnly = True
end
object wdstrngfldExportEXPORT_USER: TWideStringField
FieldName = 'EXPORT_USER'
Origin = 'EXPORT_USER'
FixedChar = True
Size = 255
end
object wdstrngfldExportEXPORT_PLACE: TWideStringField
FieldName = 'EXPORT_PLACE'
Origin = 'EXPORT_PLACE'
FixedChar = True
Size = 255
end
end
object dsExport: TDataSource
DataSet = fdqExport
Left = 688
Top = 120
end
end