-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dlgQualifyTimes.dfm
472 lines (472 loc) · 12.3 KB
/
dlgQualifyTimes.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
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
object QualifyTimes: TQualifyTimes
Left = 0
Top = 0
BorderStyle = bsDialog
Caption = 'Qualification Times...'
ClientHeight = 768
ClientWidth = 724
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Segoe UI'
Font.Style = []
Position = poOwnerFormCenter
OnCreate = FormCreate
OnDestroy = FormDestroy
TextHeight = 21
object PageControl1: TPageControl
Left = 0
Top = 0
Width = 724
Height = 727
ActivePage = TabSheet1
Align = alClient
TabOrder = 0
ExplicitWidth = 720
ExplicitHeight = 726
object TabSheet1: TTabSheet
Caption = 'Setup'
object DBGrid1: TDBGrid
Left = 0
Top = 130
Width = 716
Height = 561
Align = alClient
BorderStyle = bsNone
DataSource = DSQualify
Options = [dgEditing, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit, dgTitleClick, dgTitleHotTrack]
TabOrder = 0
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -16
TitleFont.Name = 'Segoe UI'
TitleFont.Style = []
end
object Panel1: TPanel
Left = 0
Top = 97
Width = 716
Height = 33
Align = alTop
BevelEdges = [beTop]
BevelKind = bkFlat
BevelOuter = bvNone
BevelWidth = 4
TabOrder = 1
ExplicitWidth = 712
DesignSize = (
716
31)
object Label3: TLabel
Left = 4
Top = 8
Width = 701
Height = 19
Alignment = taCenter
Anchors = [akLeft, akTop, akRight]
AutoSize = False
Caption = 'Qualification Times for Short Course Events (SC)'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
ExplicitWidth = 381
end
end
object Panel3: TPanel
Left = 0
Top = 0
Width = 716
Height = 97
Align = alTop
BevelOuter = bvNone
TabOrder = 2
ExplicitWidth = 712
object Label4: TLabel
Left = 26
Top = 7
Width = 65
Height = 84
Alignment = taCenter
Caption = 'The distance to QUALIFY.'
WordWrap = True
end
object Label5: TLabel
Left = 266
Top = 26
Width = 60
Height = 63
Alignment = taCenter
Caption = 'The TRIAL distance.'
WordWrap = True
end
object Label6: TLabel
Left = 450
Top = 26
Width = 133
Height = 63
Alignment = taCenter
Caption = 'The TIME the TRIAL distance must be completed in.'
WordWrap = True
end
object Label7: TLabel
Left = 112
Top = 47
Width = 75
Height = 42
Alignment = taCenter
Caption = 'Swimming Stroke'
WordWrap = True
end
object Label8: TLabel
Left = 363
Top = 68
Width = 51
Height = 21
Alignment = taCenter
Caption = 'Gender'
WordWrap = True
end
end
end
object TabSheet2: TTabSheet
Caption = 'Reports'
ImageIndex = 1
object Label1: TLabel
Left = 118
Top = 112
Width = 513
Height = 42
AutoSize = False
Caption =
'Post-Session : Highlight qualified swimmers in the current sessi' +
'on. Ordered by name.'
WordWrap = True
end
object Label2: TLabel
Left = 118
Top = 219
Width = 514
Height = 39
AutoSize = False
Caption =
'Display a qualification report for each club member. Ordered by ' +
#39'last name'#39'.'
WordWrap = True
end
object Label10: TLabel
Left = 118
Top = 270
Width = 514
Height = 39
AutoSize = False
Caption =
'Display a summary of club members who have qualified. Ordered by' +
' distance and stroke.'
WordWrap = True
end
object Label12: TLabel
Left = 118
Top = 329
Width = 514
Height = 26
AutoSize = False
Caption =
'Prepare a report of the qualification times table, ready for pri' +
'nting.'
WordWrap = True
end
object Label9: TLabel
Left = 117
Top = 43
Width = 514
Height = 44
AutoSize = False
Caption =
'List members who have nominated for events in the current sessio' +
'n and have been given a lane but are not qualified to swim those' +
' events.'
WordWrap = True
end
object Label11: TLabel
Left = 11
Top = 20
Width = 224
Height = 17
Caption = 'REPORTS FOR THE CURRENT SESSION'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Segoe UI'
Font.Style = [fsUnderline]
ParentFont = False
end
object Label13: TLabel
Left = 11
Top = 196
Width = 156
Height = 17
Caption = 'OTHER GENERAL REPORTS'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Segoe UI'
Font.Style = [fsUnderline]
ParentFont = False
end
object btnSessionReport: TButton
Left = 11
Top = 112
Width = 90
Height = 35
Caption = 'Session'
TabOrder = 1
OnClick = btnSessionReportClick
end
object btnMemberReport: TButton
Left = 11
Top = 219
Width = 90
Height = 35
Caption = 'Member'
TabOrder = 2
OnClick = btnMemberReportClick
end
object btnDistStrokeReport: TButton
Left = 11
Top = 270
Width = 90
Height = 35
Caption = 'Dist:Stroke'
TabOrder = 3
OnClick = btnDistStrokeReportClick
end
object btnTableReport: TButton
Left = 11
Top = 329
Width = 90
Height = 35
Caption = 'Table'
TabOrder = 4
OnClick = btnTableReportClick
end
object btnNotQualifyReport: TButton
Left = 11
Top = 43
Width = 90
Height = 47
Caption = 'Not Qualified'
TabOrder = 0
WordWrap = True
OnClick = btnNotQualifyReportClick
end
end
end
object Panel2: TPanel
Left = 0
Top = 727
Width = 724
Height = 41
Align = alBottom
BevelOuter = bvNone
TabOrder = 1
ExplicitTop = 726
ExplicitWidth = 720
DesignSize = (
724
41)
object BtnClose: TButton
Left = 606
Top = 6
Width = 75
Height = 25
Anchors = [akTop, akRight]
Caption = 'Close'
TabOrder = 0
OnClick = BtnCloseClick
ExplicitLeft = 602
end
end
object qryQualify: TFDQuery
ActiveStoredUsage = [auDesignTime]
Active = True
IndexFieldNames = 'QualifyID'
Connection = SCM.scmConnection
UpdateOptions.UpdateTableName = 'SwimClubMeet..Qualify'
UpdateOptions.KeyFields = 'QualifyID'
SQL.Strings = (
'SELECT'
' Qualify.TrialDistID,'
' Qualify.QualifyDistID,'
' Qualify.StrokeID,'
' Qualify.TrialTime,'
' Qualify.IsShortCourse,'
' Qualify.GenderID,'
' Qualify.QualifyID'
'FROM'
' Qualify'
'WHERE (Qualify.IsShortCourse = :ISSHORTCOURSE)')
Left = 104
Top = 496
ParamData = <
item
Name = 'ISSHORTCOURSE'
DataType = ftBoolean
ParamType = ptInput
Value = True
end>
object qryQualifyTrialDistID: TIntegerField
FieldName = 'TrialDistID'
Origin = 'TrialDistID'
Visible = False
end
object qryQualifyQualifyDistID: TIntegerField
FieldName = 'QualifyDistID'
Origin = 'QualifyDistID'
Visible = False
end
object qryQualifyStrokeID: TIntegerField
FieldName = 'StrokeID'
Origin = 'StrokeID'
Visible = False
end
object qryQualifyIsShortCourse: TBooleanField
FieldName = 'IsShortCourse'
Origin = 'IsShortCourse'
Visible = False
end
object qryQualifyGenderID: TIntegerField
FieldName = 'GenderID'
Origin = 'GenderID'
Visible = False
end
object qryQualifyQualifyID: TFDAutoIncField
FieldName = 'QualifyID'
Origin = 'QualifyID'
ProviderFlags = [pfInWhere, pfInKey]
ReadOnly = True
Visible = False
end
object qryQualifyluQDistance: TStringField
Alignment = taRightJustify
DisplayLabel = 'QDistance'
DisplayWidth = 9
FieldKind = fkLookup
FieldName = 'luQDistance'
LookupDataSet = qryQDistance
LookupKeyFields = 'DistanceID'
LookupResultField = 'Caption'
KeyFields = 'QualifyDistID'
Lookup = True
end
object qryQualifyluStroke: TStringField
DisplayLabel = 'Stroke'
DisplayWidth = 16
FieldKind = fkLookup
FieldName = 'luStroke'
LookupDataSet = tblStroke
LookupKeyFields = 'StrokeID'
LookupResultField = 'Caption'
KeyFields = 'StrokeID'
Lookup = True
end
object qryQualifyluTDistance: TStringField
Alignment = taRightJustify
DisplayLabel = 'TDistance'
DisplayWidth = 9
FieldKind = fkLookup
FieldName = 'luTDistance'
LookupDataSet = qryTDistance
LookupKeyFields = 'DistanceID'
LookupResultField = 'Caption'
KeyFields = 'TrialDistID'
Lookup = True
end
object qryQualifyluGender: TStringField
Alignment = taCenter
DisplayLabel = 'Gender'
DisplayWidth = 12
FieldKind = fkLookup
FieldName = 'luGender'
LookupDataSet = tblGender
LookupKeyFields = 'GenderID'
LookupResultField = 'Caption'
KeyFields = 'GenderID'
Lookup = True
end
object qryQualifyTrialTime: TTimeField
Alignment = taRightJustify
DisplayLabel = 'TIME'
FieldName = 'TrialTime'
Origin = 'TrialTime'
OnGetText = qryQualifyTrialTimeGetText
OnSetText = qryQualifyTrialTimeSetText
DisplayFormat = 'nn:ss.zzz'
EditMask = '!00:00.000;1;0'
end
end
object DSQualify: TDataSource
DataSet = qryQualify
Left = 168
Top = 496
end
object tblStroke: TFDTable
ActiveStoredUsage = [auDesignTime]
Active = True
IndexFieldNames = 'StrokeID'
Connection = SCM.scmConnection
UpdateOptions.UpdateTableName = 'SwimClubMeet..Stroke'
TableName = 'SwimClubMeet..Stroke'
Left = 368
Top = 504
end
object tblGender: TFDTable
ActiveStoredUsage = [auDesignTime]
Active = True
IndexFieldNames = 'GenderID'
Connection = SCM.scmConnection
UpdateOptions.UpdateTableName = 'SwimClubMeet..Gender'
TableName = 'SwimClubMeet..Gender'
Left = 368
Top = 568
end
object qryQDistance: TFDQuery
ActiveStoredUsage = [auDesignTime]
Active = True
IndexFieldNames = 'DistanceID'
Connection = SCM.scmConnection
UpdateOptions.AssignedValues = [uvEDelete, uvEInsert, uvEUpdate]
UpdateOptions.EnableDelete = False
UpdateOptions.EnableInsert = False
UpdateOptions.EnableUpdate = False
UpdateOptions.UpdateTableName = 'SwimClubMeet.dbo.Distance'
UpdateOptions.KeyFields = 'DistanceID'
SQL.Strings = (
'USE SwimClubMeet'
';'
'SELECT * FROM dbo.Distance WHERE [Distance].[EventTypeID] = 1;')
Left = 288
Top = 504
end
object qryTDistance: TFDQuery
ActiveStoredUsage = [auDesignTime]
Active = True
IndexFieldNames = 'DistanceID'
Connection = SCM.scmConnection
UpdateOptions.AssignedValues = [uvEDelete, uvEInsert, uvEUpdate]
UpdateOptions.EnableDelete = False
UpdateOptions.EnableInsert = False
UpdateOptions.EnableUpdate = False
UpdateOptions.UpdateTableName = 'SwimClubMeet.dbo.Distance'
UpdateOptions.KeyFields = 'DistanceID'
SQL.Strings = (
'USE SwimClubMeet'
';'
'SELECT * FROM dbo.Distance WHERE [Distance].[EventTypeID] = 1;')
Left = 288
Top = 568
end
end