-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdmCoach.dfm
94 lines (94 loc) · 2.47 KB
/
dmCoach.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
object COACH: TCOACH
OnCreate = DataModuleCreate
Height = 480
Width = 640
object coachConnection: TFDConnection
Params.Strings = (
'ConnectionDef=MSSQL_SCM_Coach')
ConnectedStoredUsage = [auDesignTime]
Connected = True
LoginPrompt = False
Left = 224
Top = 56
end
object qrySession: TFDQuery
ActiveStoredUsage = [auDesignTime]
IndexFieldNames = 'SessionID'
Connection = coachConnection
UpdateOptions.UpdateTableName = 'SCM_Coach.dbo.Session'
UpdateOptions.KeyFields = 'SessionID'
SQL.Strings = (
'USE SCM_Coach;'
'SELECT * FROM dbo.Session;')
Left = 192
Top = 160
end
object qryWorkOut: TFDQuery
ActiveStoredUsage = [auDesignTime]
IndexFieldNames = 'WorkOutID'
MasterSource = dsSession
MasterFields = 'SessionID'
DetailFields = 'SessionID'
Connection = coachConnection
UpdateOptions.UpdateTableName = 'SCM_Coach.dbo.WorkOut'
UpdateOptions.KeyFields = 'WorkOutID'
SQL.Strings = (
'USE SCM_Coach;'
''
'SELECT * FROM WorkOut;')
Left = 192
Top = 232
end
object dsSession: TDataSource
DataSet = qrySession
Left = 264
Top = 160
end
object dsWorkOut: TDataSource
DataSet = qryWorkOut
Left = 272
Top = 232
end
object qrySwimmerLink: TFDQuery
ActiveStoredUsage = [auDesignTime]
IndexFieldNames = 'SwimmerLinkID'
MasterSource = dsWorkOut
MasterFields = 'WorkOutID'
DetailFields = 'WorkOutID'
Connection = coachConnection
UpdateOptions.UpdateTableName = 'SCM_Coach.dbo.SwimmerLink'
SQL.Strings = (
'USE SCM_Coach;'
'SELECT SwimmerLink.*, HR.FirstName, HR.LastName '
'FROM dbo.SwimmerLink'
'INNER JOIN dbo.HR ON dbo.SwimmerLink.HRID = dbo.HR.HRID;')
Left = 64
Top = 360
end
object qryCoachLink: TFDQuery
ActiveStoredUsage = [auDesignTime]
IndexFieldNames = 'CoachLinkID'
MasterSource = dsWorkOut
MasterFields = 'WorkOutID'
DetailFields = 'WorkOutID'
Connection = coachConnection
UpdateOptions.UpdateTableName = 'SCM_Coach.dbo.CoachLink'
SQL.Strings = (
'USE SCM_Coach;'
'SELECT CoachLink.*, HR.FirstName, HR.LastName '
'FROM dbo.CoachLink'
'INNER JOIN dbo.HR ON dbo.CoachLink.HRID = dbo.HR.HRID;')
Left = 320
Top = 360
end
object dsSwimmerLink: TDataSource
DataSet = qrySwimmerLink
Left = 136
Top = 360
end
object dsCoachLink: TDataSource
DataSet = qryCoachLink
Left = 392
Top = 360
end
end