-
Notifications
You must be signed in to change notification settings - Fork 0
/
UDados.dfm
226 lines (222 loc) · 4.95 KB
/
UDados.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
object Dados: TDados
OldCreateOrder = False
Height = 344
Width = 630
object DB: TSQLConnection
ConnectionName = 'IBConnection'
DriverName = 'Firebird'
GetDriverFunc = 'getSQLDriverINTERBASE'
LibraryName = 'dbxfb.dll'
LoginPrompt = False
Params.Strings = (
'DriverPackageLoader=TDBXDynalinkDriverLoader,DbxCommonDriver140.' +
'bpl'
'VendorLib=fbclient.DLL')
VendorLib = 'fbclient.dll'
Left = 32
Top = 24
end
object sqlBusca: TSQLQuery
MaxBlobSize = -1
Params = <>
SQLConnection = DB
Left = 88
Top = 24
end
object sqlUsuario: TSQLQuery
MaxBlobSize = -1
Params = <>
SQL.Strings = (
'SELECT * FROM USUARIO')
SQLConnection = DB
Left = 152
Top = 32
end
object cdsUsuario: TClientDataSet
Aggregates = <>
Params = <>
ProviderName = 'dspUsuario'
Left = 205
Top = 32
object cdsUsuarioCOD_USU: TIntegerField
FieldName = 'COD_USU'
Required = True
end
object cdsUsuarioDAT_CAD: TDateField
FieldName = 'DAT_CAD'
end
object cdsUsuarioNOME: TStringField
FieldName = 'NOME'
Size = 100
end
object cdsUsuarioLOGIN: TStringField
FieldName = 'LOGIN'
Size = 80
end
object cdsUsuarioSENHA: TStringField
FieldName = 'SENHA'
Size = 200
end
object cdsUsuarioPOSICAO: TStringField
FieldName = 'POSICAO'
Size = 1
end
end
object dspUsuario: TDataSetProvider
DataSet = sqlUsuario
Left = 261
Top = 32
end
object dsUsuario: TDataSource
DataSet = cdsUsuario
Left = 314
Top = 34
end
object sqlParam: TSQLQuery
MaxBlobSize = 1
Params = <>
SQL.Strings = (
'SELECT * FROM PARAM')
SQLConnection = DB
Left = 368
Top = 32
object sqlParamLOGOTIPO: TBlobField
FieldName = 'LOGOTIPO'
Size = 1
end
end
object cdsParam: TClientDataSet
Aggregates = <>
Params = <>
ProviderName = 'dspParam'
Left = 421
Top = 32
object cdsParamLOGOTIPO: TBlobField
FieldName = 'LOGOTIPO'
Size = 1
end
end
object dspParam: TDataSetProvider
DataSet = sqlParam
UpdateMode = upWhereKeyOnly
Left = 477
Top = 32
end
object dsParam: TDataSource
DataSet = cdsParam
Left = 530
Top = 34
end
object sqlComprador: TSQLQuery
MaxBlobSize = -1
Params = <>
SQL.Strings = (
'SELECT'
'C.COD_COMP, C.NOME || '#39' - '#39' || C.ENDERECO || '#39' - '#39' || C.CIDADE' +
' AS COMPRADOR'
'FROM COMPRADOR C ORDER BY C.NOME')
SQLConnection = DB
Left = 40
Top = 96
end
object cdsComprador: TClientDataSet
Aggregates = <>
Params = <>
ProviderName = 'dspComprador'
Left = 93
Top = 96
object cdsCompradorCOD_COMP: TIntegerField
FieldName = 'COD_COMP'
Required = True
end
object cdsCompradorCOMPRADOR: TStringField
FieldName = 'COMPRADOR'
Size = 256
end
end
object dspComprador: TDataSetProvider
DataSet = sqlComprador
Left = 149
Top = 96
end
object dsComprador: TDataSource
DataSet = cdsComprador
Left = 202
Top = 98
end
object cdsVendedor: TClientDataSet
Aggregates = <>
Params = <>
ProviderName = 'dspVendedor'
Left = 325
Top = 104
object cdsVendedorVENDEDOR: TStringField
FieldName = 'VENDEDOR'
Size = 256
end
object cdsVendedorCOD_VEND: TIntegerField
FieldName = 'COD_VEND'
Required = True
end
end
object dsVendedor: TDataSource
DataSet = cdsVendedor
Left = 434
Top = 106
end
object dspVendedor: TDataSetProvider
DataSet = sqlVendedor
Left = 381
Top = 104
end
object sqlVendedor: TSQLQuery
MaxBlobSize = -1
Params = <>
SQL.Strings = (
'SELECT'
' C.COD_COMP AS COD_VEND, C.NOME || '#39' - '#39' || C.ENDERECO || '#39' - ' +
#39' || C.CIDADE AS VENDEDOR'
'FROM COMPRADOR C ORDER BY C.NOME')
SQLConnection = DB
Left = 272
Top = 104
end
object cdsVeiculo: TClientDataSet
Aggregates = <>
Params = <>
ProviderName = 'dspVeiculo'
Left = 93
Top = 160
object cdsVeiculoCOD_VEICULO: TIntegerField
FieldName = 'COD_VEICULO'
Required = True
end
object cdsVeiculoVEICULO: TStringField
FieldName = 'VEICULO'
Size = 359
end
end
object dsVeiculo: TDataSource
DataSet = cdsVeiculo
Left = 202
Top = 162
end
object dspVeiculo: TDataSetProvider
DataSet = sqlVeiculo
Left = 149
Top = 160
end
object sqlVeiculo: TSQLQuery
MaxBlobSize = -1
Params = <>
SQL.Strings = (
'SELECT'
' C.COD_VEICULO, C.DESCRICAO || '#39' - '#39' || COALESCE(C.MARCA, '#39#39') ' +
'|| '#39' - '#39' || COALESCE(C.MARCA, '#39#39') || '#39' - '#39' || COALESCE(C.PLACA, ' +
#39#39') AS VEICULO'
'FROM VEICULOS C ORDER BY C.DESCRICAO')
SQLConnection = DB
Left = 40
Top = 160
end
end