-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUREntrega.dfm
More file actions
327 lines (326 loc) · 7.07 KB
/
Copy pathUREntrega.dfm
File metadata and controls
327 lines (326 loc) · 7.07 KB
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
inherited frmREntrega: TfrmREntrega
Caption = 'frmREntrega'
ClientWidth = 1319
ExplicitLeft = -495
ExplicitWidth = 1335
PixelsPerInch = 96
TextHeight = 13
inherited RLReport1: TRLReport
Top = 8
Width = 1123
Height = 794
PageSetup.Orientation = poLandscape
ExplicitTop = 8
ExplicitWidth = 1123
ExplicitHeight = 794
inherited RLBand1: TRLBand
Width = 1047
Height = 75
Font.Height = -11
Font.Style = [fsBold]
ParentFont = False
BeforePrint = RLBand1BeforePrint
ExplicitWidth = 1047
ExplicitHeight = 75
inherited RLLabel1: TRLLabel
Width = 270
Caption = 'Listagem de Cadastros'
ExplicitWidth = 270
end
inherited RLSystemInfo1: TRLSystemInfo
Top = 40
ExplicitTop = 40
end
inherited RLSystemInfo2: TRLSystemInfo
Left = 800
Top = 39
ExplicitLeft = 800
ExplicitTop = 39
end
object TipoRelatorio: TRLMemo
Left = 0
Top = 61
Width = 1047
Height = 14
Align = faBottom
Behavior = [beSiteExpander]
Lines.Strings = (
'Filtrado por: Todos')
end
end
inherited RLBand2: TRLBand
Top = 180
Width = 1047
ExplicitTop = 180
ExplicitWidth = 1047
inherited RLLabel2: TRLLabel
Width = 1047
ExplicitWidth = 1047
end
end
object RLBand3: TRLBand
Left = 38
Top = 142
Width = 1047
Height = 22
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -12
Font.Name = 'Arial'
Font.Style = []
ParentFont = False
object RLDraw5: TRLDraw
Left = 2
Top = -3
Width = 95
Height = 25
end
object RLDraw6: TRLDraw
Left = 96
Top = -3
Width = 305
Height = 25
end
object RLDraw7: TRLDraw
Left = 399
Top = -3
Width = 178
Height = 25
end
object RLDraw8: TRLDraw
Left = 888
Top = -3
Width = 158
Height = 25
end
object RLDBText1: TRLDBText
Left = 20
Top = 2
Width = 70
Height = 15
Alignment = taCenter
DataField = 'COD_IND'
DataSource = dsTab
Text = ''
end
object RLDBText2: TRLDBText
Left = 104
Top = 2
Width = 289
Height = 15
AutoSize = False
DataField = 'NOME'
DataSource = dsTab
Text = ''
end
object RLDBText3: TRLDBText
Left = 407
Top = 2
Width = 163
Height = 15
Alignment = taCenter
AutoSize = False
DataField = 'IDADE'
DataSource = dsTab
Text = ''
end
object RLDBMemo1: TRLDBMemo
Left = 889
Top = 2
Width = 152
Height = 15
Behavior = [beSiteExpander]
DataField = 'P_CONSULTA'
DataSource = dsTab
end
object RLDraw11: TRLDraw
Left = 576
Top = -3
Width = 178
Height = 25
end
object RLDBText4: TRLDBText
Left = 584
Top = 2
Width = 164
Height = 15
Alignment = taCenter
AutoSize = False
DataField = 'CART_SUS'
DataSource = dsTab
Text = ''
end
object RLDraw12: TRLDraw
Left = 754
Top = -3
Width = 134
Height = 25
end
object RLDBText5: TRLDBText
Left = 762
Top = 2
Width = 120
Height = 15
Alignment = taCenter
AutoSize = False
DataField = 'DAT_NASC'
DataSource = dsTab
Text = ''
end
end
object RLBand4: TRLBand
Left = 38
Top = 164
Width = 1047
Height = 16
BandType = btSummary
object RLDBResult1: TRLDBResult
Left = 2
Top = 1
Width = 155
Height = 14
DataField = 'COD_IND'
DataSource = dsTab
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Arial'
Font.Style = [fsItalic]
Info = riCount
ParentFont = False
Text = 'Registro(s) Listado(s): '
end
end
object RLBand5: TRLBand
Left = 38
Top = 113
Width = 1047
Height = 29
BandType = btColumnHeader
object RLDraw4: TRLDraw
Left = 888
Top = 4
Width = 158
Height = 25
end
object RLDraw3: TRLDraw
Left = 399
Top = 4
Width = 178
Height = 25
end
object RLDraw2: TRLDraw
Left = 96
Top = 4
Width = 305
Height = 25
end
object RLDraw1: TRLDraw
Left = 2
Top = 4
Width = 95
Height = 25
end
object RLLabel4: TRLLabel
Left = 104
Top = 9
Width = 35
Height = 14
Caption = 'Nome'
end
object RLLabel6: TRLLabel
Left = 916
Top = 9
Width = 107
Height = 16
Caption = 'Pr'#243'xima Consulta'
end
object RLLabel5: TRLLabel
Left = 407
Top = 9
Width = 163
Height = 14
Alignment = taCenter
Caption = 'Idade'
end
object RLLabel3: TRLLabel
Left = 20
Top = 9
Width = 54
Height = 14
Caption = 'Indicador'
end
object RLDraw9: TRLDraw
Left = 576
Top = 4
Width = 178
Height = 25
end
object RLLabel7: TRLLabel
Left = 619
Top = 9
Width = 92
Height = 16
Alignment = taCenter
Caption = 'Cart'#227'o do SUS'
end
object RLDraw10: TRLDraw
Left = 753
Top = 4
Width = 135
Height = 25
end
object RLLabel8: TRLLabel
Left = 791
Top = 9
Width = 70
Height = 16
Alignment = taCenter
Caption = 'Data Nasc.'
end
end
end
inherited cdsTab: TClientDataSet
object cdsTabCOD_IND: TIntegerField
FieldName = 'COD_IND'
end
object cdsTabNOME: TStringField
FieldName = 'NOME'
Size = 100
end
object cdsTabIDADE: TStringField
FieldName = 'IDADE'
Size = 300
end
object cdsTabOBS: TBlobField
FieldName = 'OBS'
Size = 1
end
object cdsTabCART_SUS: TStringField
FieldName = 'CART_SUS'
Size = 100
end
object cdsTabDAT_NASC: TDateField
FieldName = 'DAT_NASC'
end
object cdsTabP_CONSULTA: TDateField
FieldName = 'P_CONSULTA'
end
end
inherited sqlTab: TSQLQuery
MaxBlobSize = 1
SQL.Strings = (
'SELECT'
' P.COD_IND,'
' P.NOME,'
' (SELECT IDADE_REAL FROM CALCULA_IDADE(P.COD_PESSOA)) AS IDAD' +
'E,'
' P.OBS,'
' P.CART_SUS, p.DAT_NASC,'
' dateadd (180 day to p.dat_consulta) as p_consulta'
'FROM PESSOAS P')
end
inherited RLXLSFilter1: TRLXLSFilter
Options = [foFindValueCells, foOneSheetOnly]
end
end