-
Notifications
You must be signed in to change notification settings - Fork 0
/
UDM.dfm
2215 lines (2167 loc) · 63.1 KB
/
UDM.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
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
object DM: TDM
OldCreateOrder = False
OnCreate = DataModuleCreate
Height = 623
Width = 918
object CONEXAO: TADOConnection
Connected = True
ConnectionString =
'Provider=SQLOLEDB.1;Password=imb2715;Persist Security Info=True;' +
'User ID=tcc-m114-imb;Initial Catalog=tcc_m114_imobiliaria;Data S' +
'ource=SRV-BD-0\SQLEXPRESS'
LoginPrompt = False
Provider = 'SQLOLEDB.1'
Left = 48
Top = 24
end
object qryAgendamentos: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select agendCodigo, agendDataHora, funCodigo, cliCodigo, imoCodi' +
'go from AGENDAMENTOS')
Left = 264
Top = 96
object qryAgendamentosagendCodigo: TAutoIncField
DisplayLabel = 'C'#243'digo'
FieldName = 'agendCodigo'
ReadOnly = True
end
object qryAgendamentosagendDataHora: TDateTimeField
DisplayLabel = 'Data e Hora'
FieldName = 'agendDataHora'
end
object qryAgendamentosfunCodigo: TIntegerField
DisplayLabel = 'C'#243'digo do Funcion'#225'rio'
FieldName = 'funCodigo'
end
object qryAgendamentoscliCodigo: TIntegerField
DisplayLabel = 'C'#243'digo do Cliente'
FieldName = 'cliCodigo'
end
object qryAgendamentosimoCodigo: TIntegerField
DisplayLabel = 'C'#243'digo do Im'#243'vel'
FieldName = 'imoCodigo'
end
end
object qryEmails: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select emaCodigo, emaEmail, funCodigo, terCodigo, cliCodigo from' +
' EMAILS ')
Left = 168
Top = 144
object qryEmailsemaCodigo: TAutoIncField
FieldName = 'emaCodigo'
ReadOnly = True
end
object qryEmailsemaEmail: TStringField
FieldName = 'emaEmail'
Size = 200
end
object qryEmailsfunCodigo: TIntegerField
FieldName = 'funCodigo'
end
object qryEmailsterCodigo: TIntegerField
FieldName = 'terCodigo'
end
object qryEmailscliCodigo: TIntegerField
FieldName = 'cliCodigo'
end
end
object qryMensagens: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select menCodigo,menExcluida, menTitulo, menConteudo, menDataEmi' +
'ssao, menPrioridade,'
'funCodigo from MENSAGENS ')
Left = 168
Top = 96
object qryMensagensmenCodigo: TAutoIncField
DisplayLabel = 'C'#243'digo'
FieldName = 'menCodigo'
ReadOnly = True
end
object qryMensagensmenTitulo: TStringField
DisplayLabel = 'T'#237'tulo'
FieldName = 'menTitulo'
end
object qryMensagensmenConteudo: TStringField
DisplayLabel = 'Conte'#250'do'
FieldName = 'menConteudo'
Size = 700
end
object qryMensagensmenDataEmissao: TDateTimeField
DisplayLabel = 'Data de Emiss'#227'o'
FieldName = 'menDataEmissao'
end
object qryMensagensmenPrioridade: TStringField
DisplayLabel = 'Prioridade'
FieldName = 'menPrioridade'
end
object qryMensagensfunCodigo: TIntegerField
DisplayLabel = 'C'#243'digo do Remetente'
FieldName = 'funCodigo'
end
object qryMensagensmenExcluida: TBooleanField
FieldName = 'menExcluida'
end
end
object qryFuncionarios: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select funCodigo, funTipo, funNome, funRG, funCPF, funEndereco, ' +
'funCidade,'
' funEstado, funSituacao, funPagamentoBruto, funDataNascimento,'
' funCTPS, funCRECI, funObservacoes, funDataAdmissao, funDataDemi' +
'ssao,'
' funBairro, funLogin, funSenha, funCargo, funBloqueio,funNumeroI' +
'movel,funCEP'
' from FUNCIONARIOS')
Left = 56
Top = 256
object qryFuncionariosfunCodigo: TAutoIncField
DisplayLabel = 'C'#243'digo'
FieldName = 'funCodigo'
ReadOnly = True
end
object qryFuncionariosfunTipo: TStringField
DisplayLabel = 'Fun'#231#227'o no Sistema'
FieldName = 'funTipo'
Size = 15
end
object qryFuncionariosfunNome: TStringField
DisplayLabel = 'Nome'
FieldName = 'funNome'
Size = 60
end
object qryFuncionariosfunRG: TStringField
DisplayLabel = 'RG'
FieldName = 'funRG'
end
object qryFuncionariosfunCPF: TStringField
DisplayLabel = 'CPF'
FieldName = 'funCPF'
EditMask = '999.999.999-99;1;_'
Size = 15
end
object qryFuncionariosfunEndereco: TStringField
DisplayLabel = 'Endere'#231'o'
FieldName = 'funEndereco'
Size = 120
end
object qryFuncionariosfunCidade: TStringField
DisplayLabel = 'Cidade'
FieldName = 'funCidade'
Size = 60
end
object qryFuncionariosfunEstado: TStringField
DisplayLabel = 'Estado'
FieldName = 'funEstado'
Size = 2
end
object qryFuncionariosfunSituacao: TBooleanField
DisplayLabel = 'Situa'#231#227'o'
FieldName = 'funSituacao'
end
object qryFuncionariosfunPagamentoBruto: TBCDField
DisplayLabel = 'Pagamento Bruto'
FieldName = 'funPagamentoBruto'
Precision = 10
Size = 2
end
object qryFuncionariosfunDataNascimento: TDateTimeField
DisplayLabel = 'Data de Nascimento'
FieldName = 'funDataNascimento'
EditMask = '!99/99/0000;1;_'
end
object qryFuncionariosfunCTPS: TStringField
DisplayLabel = 'CTPS'
FieldName = 'funCTPS'
EditMask = '999999-9;1;_'
Size = 10
end
object qryFuncionariosfunCRECI: TStringField
DisplayLabel = 'CRECI'
FieldName = 'funCRECI'
Size = 10
end
object qryFuncionariosfunObservacoes: TStringField
DisplayLabel = 'Observa'#231#245'es'
FieldName = 'funObservacoes'
Size = 700
end
object qryFuncionariosfunDataAdmissao: TDateTimeField
DisplayLabel = 'Data de Admiss'#227'o'
FieldName = 'funDataAdmissao'
EditMask = '!99/99/0000;1;_'
end
object qryFuncionariosfunBairro: TStringField
DisplayLabel = 'Bairro'
FieldName = 'funBairro'
Size = 100
end
object qryFuncionariosfunLogin: TStringField
DisplayLabel = 'Login'
FieldName = 'funLogin'
end
object qryFuncionariosfunSenha: TStringField
DisplayLabel = 'Senha'
FieldName = 'funSenha'
end
object qryFuncionariosfunCargo: TStringField
DisplayLabel = 'Cargo'
FieldName = 'funCargo'
Size = 50
end
object qryFuncionariosfunBloqueio: TIntegerField
DisplayLabel = 'Bloqueio'
FieldName = 'funBloqueio'
end
object qryFuncionariosfunNumeroImovel: TIntegerField
FieldName = 'funNumeroImovel'
end
object qryFuncionariosfunCEP: TStringField
FieldName = 'funCEP'
EditMask = '99999-999;1;_'
Size = 50
end
object qryFuncionarioscliCodigo: TIntegerField
FieldKind = fkCalculated
FieldName = 'cliCodigo'
Calculated = True
end
object qryFuncionariosterCodigo: TIntegerField
FieldKind = fkCalculated
FieldName = 'terCodigo'
Calculated = True
end
object qryFuncionariosfunDataDemissao: TDateTimeField
FieldName = 'funDataDemissao'
end
end
object qryImoveis: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select imoNome,imoCodigo,imoCEP, imoEndereco, imoBairro, imoNum' +
'ero, imoComplemento, imoCidade, imoEstado, imoAreaTotal, imoArea' +
'Privativa, imoQuadra, imoLote, imoOcupacao,'
' imoEstadoDoImovel, imoValorIPTU, imoObservacao, imoDataRegistro' +
', imoNegociacao, imoOrientacao, tpImoCodigo from IMOVEIS')
Left = 264
Top = 320
object qryImoveisimoCodigo: TAutoIncField
DisplayLabel = 'C'#243'digo'
FieldName = 'imoCodigo'
ReadOnly = True
end
object qryImoveisimoEndereco: TStringField
DisplayLabel = 'Endere'#231'o'
FieldName = 'imoEndereco'
Size = 200
end
object qryImoveisimoBairro: TStringField
DisplayLabel = 'Bairro'
FieldName = 'imoBairro'
Size = 100
end
object qryImoveisimoNumero: TIntegerField
DisplayLabel = 'N'#250'mero'
FieldName = 'imoNumero'
end
object qryImoveisimoComplemento: TStringField
DisplayLabel = 'Complemento'
FieldName = 'imoComplemento'
Size = 50
end
object qryImoveisimoCidade: TStringField
DisplayLabel = 'Cidade'
FieldName = 'imoCidade'
Size = 60
end
object qryImoveisimoEstado: TStringField
DisplayLabel = 'Estado'
FieldName = 'imoEstado'
FixedChar = True
Size = 2
end
object qryImoveisimoAreaTotal: TBCDField
DisplayLabel = #193'rea Total'
FieldName = 'imoAreaTotal'
Precision = 10
Size = 2
end
object qryImoveisimoAreaPrivativa: TBCDField
DisplayLabel = #193'rea Privativa'
FieldName = 'imoAreaPrivativa'
Precision = 10
Size = 2
end
object qryImoveisimoQuadra: TStringField
DisplayLabel = 'Quadra'
FieldName = 'imoQuadra'
Size = 10
end
object qryImoveisimoLote: TStringField
DisplayLabel = 'Lote'
FieldName = 'imoLote'
Size = 10
end
object qryImoveisimoOcupacao: TBooleanField
DisplayLabel = 'Ocupa'#231#227'o'
FieldName = 'imoOcupacao'
end
object qryImoveisimoEstadoDoImovel: TStringField
DisplayLabel = 'Estado do Im'#243'vel'
FieldName = 'imoEstadoDoImovel'
Size = 50
end
object qryImoveisimoValorIPTU: TBCDField
DisplayLabel = 'IPTU'
FieldName = 'imoValorIPTU'
Precision = 10
Size = 2
end
object qryImoveisimoObservacao: TStringField
DisplayLabel = 'Observa'#231#227'o'
FieldName = 'imoObservacao'
Size = 300
end
object qryImoveisimoDataRegistro: TDateTimeField
DisplayLabel = 'Data de Registro'
FieldName = 'imoDataRegistro'
EditMask = '!99/99/0000;1;_'
end
object qryImoveisimoNegociacao: TStringField
DisplayLabel = 'Negocia'#231#227'o'
FieldName = 'imoNegociacao'
Size = 500
end
object qryImoveisimoOrientacao: TStringField
DisplayLabel = 'Orienta'#231#227'o Solar'
FieldName = 'imoOrientacao'
Size = 25
end
object qryImoveistpImoCodigo: TIntegerField
DisplayLabel = 'C'#243'digo do Tipo do Im'#243'vel'
FieldName = 'tpImoCodigo'
end
object qryImoveisimoCEP: TStringField
FieldName = 'imoCEP'
Size = 10
end
object qryImoveisimoNome: TStringField
FieldName = 'imoNome'
Size = 100
end
end
object qryMensagensFunc: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select menCodigo, funCodigo, menFunVisualizacao, menFunExcluida ' +
'from MENSAGENS_FUNCIONARIOS ')
Left = 56
Top = 96
object qryMensagensFuncmenCodigo: TIntegerField
DisplayLabel = 'C'#243'digo'
FieldName = 'menCodigo'
end
object qryMensagensFuncfunCodigo: TIntegerField
DisplayLabel = 'C'#243'digo do Destinat'#225'rio'
FieldName = 'funCodigo'
end
object qryMensagensFuncmenFunVisualizacao: TBooleanField
DisplayLabel = 'Status de Vizualiza'#231#227'o'
FieldName = 'menFunVisualizacao'
end
object qryMensagensFuncmenFunExcluida: TBooleanField
FieldName = 'menFunExcluida'
end
end
object qryServTerceirizados: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select terCodigo,terNome,terServico, terObservacao, terBairro, t' +
'erEndereco, terCidade, terEstado, terNumero,terCEP'
' from SERV_TERCEIRIZADOS')
Left = 264
Top = 256
object qryServTerceirizadosterCodigo: TAutoIncField
DisplayLabel = 'C'#243'digo'
FieldName = 'terCodigo'
ReadOnly = True
end
object qryServTerceirizadosterNome: TStringField
DisplayLabel = 'Nome'
FieldName = 'terNome'
Size = 60
end
object qryServTerceirizadosterServico: TStringField
DisplayLabel = 'Servi'#231'o'
FieldName = 'terServico'
Size = 100
end
object qryServTerceirizadosterObservacao: TStringField
DisplayLabel = 'Observa'#231#227'o'
FieldName = 'terObservacao'
Size = 200
end
object qryServTerceirizadosterBairro: TStringField
DisplayLabel = 'Bairro'
FieldName = 'terBairro'
Size = 60
end
object qryServTerceirizadosterEndereco: TStringField
DisplayLabel = 'Endere'#231'o'
FieldName = 'terEndereco'
Size = 100
end
object qryServTerceirizadosterCidade: TStringField
DisplayLabel = 'Cidade'
FieldName = 'terCidade'
Size = 60
end
object qryServTerceirizadosterEstado: TStringField
DisplayLabel = 'Estado'
FieldName = 'terEstado'
FixedChar = True
Size = 2
end
object qryServTerceirizadosterNumero: TIntegerField
FieldName = 'terNumero'
end
object qryServTerceirizadosterCEP: TStringField
FieldName = 'terCEP'
Size = 10
end
object qryServTerceirizadoscliCodigo: TIntegerField
FieldKind = fkCalculated
FieldName = 'cliCodigo'
Calculated = True
end
object qryServTerceirizadosfunCodigo: TIntegerField
FieldKind = fkCalculated
FieldName = 'funCodigo'
Calculated = True
end
end
object qryLocacao: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select locCodigo, locFim, locPreco, locInicio, imoCodigo, cliCod' +
'igo from LOCACOES')
Left = 56
Top = 200
object qryLocacaolocCodigo: TAutoIncField
DisplayLabel = 'C'#243'digo'
FieldName = 'locCodigo'
ReadOnly = True
end
object qryLocacaolocFim: TDateTimeField
DisplayLabel = 'Data de T'#233'rmino'
FieldName = 'locFim'
EditMask = '!90:00:0000>LL;1;_'
end
object qryLocacaolocPreco: TBCDField
DisplayLabel = 'Pre'#231'o'
FieldName = 'locPreco'
Precision = 10
Size = 2
end
object qryLocacaolocInicio: TDateTimeField
DisplayLabel = 'Data do '#205'nicio'
FieldName = 'locInicio'
EditMask = '!99/99/0000;1;_'
end
object qryLocacaoimoCodigo: TIntegerField
DisplayLabel = 'C'#243'digo do Im'#243'vel'
FieldName = 'imoCodigo'
end
object qryLocacaocliCodigo: TIntegerField
DisplayLabel = 'C'#243'digo do Cliente'
FieldName = 'cliCodigo'
end
end
object qryTipoImoveis: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
DataSource = frmCadComp.dsTpComp
Parameters = <
item
Name = 'tpImoCodigo'
Attributes = [paSigned]
DataType = ftInteger
Precision = 10
Size = 4
Value = Null
end>
SQL.Strings = (
'select tpImoCodigo,tpImoNome from TIPO_IMOVEIS'
'where tpImoCodigo = :tpImoCodigo')
Left = 488
Top = 480
object qryTipoImoveistpImoCodigo: TIntegerField
DisplayLabel = 'C'#243'digo'
FieldName = 'tpImoCodigo'
end
object qryTipoImoveistpImoNome: TStringField
DisplayLabel = 'Nome'
FieldName = 'tpImoNome'
Size = 60
end
end
object qryVendas: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select venCodigo, venSituacaoDePagamento, venPreco, venData, cli' +
'Codigo, imoCodigo, funCodigo from VENDAS')
Left = 168
Top = 200
object qryVendasvenCodigo: TAutoIncField
DisplayLabel = 'C'#243'digo'
FieldName = 'venCodigo'
ReadOnly = True
end
object qryVendasvenSituacaoDePagamento: TBooleanField
DisplayLabel = 'Situa'#231#227'o do Pagamento'
FieldName = 'venSituacaoDePagamento'
end
object qryVendasvenPreco: TBCDField
DisplayLabel = 'Pre'#231'o'
FieldName = 'venPreco'
Precision = 10
Size = 2
end
object qryVendasvenData: TDateTimeField
DisplayLabel = 'Data da Venda'
FieldName = 'venData'
EditMask = '!99/99/0000;1;_'
end
object qryVendascliCodigo: TIntegerField
DisplayLabel = 'C'#243'digo do Cliente'
FieldName = 'cliCodigo'
end
object qryVendasimoCodigo: TIntegerField
DisplayLabel = 'C'#243'digo do Im'#243'vel'
FieldName = 'imoCodigo'
end
object qryVendasfunCodigo: TIntegerField
DisplayLabel = 'C'#243'digo do Funcion'#225'rio'
FieldName = 'funCodigo'
end
end
object qryPrecos: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
DataSource = frmCadImovel.dsCadImovel
Parameters = <
item
Name = 'imoCodigo'
Attributes = [paSigned, paNullable]
DataType = ftInteger
Precision = 10
Size = 4
Value = Null
end>
SQL.Strings = (
'select preCodigo, preValor, preTpContrato, imoCodigo from PRECOS'
'where ImoCodigo = :imoCodigo')
Left = 264
Top = 200
object qryPrecospreCodigo: TAutoIncField
DisplayLabel = 'C'#243'digo'
FieldName = 'preCodigo'
ReadOnly = True
end
object qryPrecospreValor: TBCDField
DisplayLabel = 'Valor'
FieldName = 'preValor'
Precision = 10
Size = 2
end
object qryPrecospreTpContrato: TStringField
DisplayLabel = 'Tipo de Contrato'
FieldName = 'preTpContrato'
Size = 50
end
object qryPrecosimoCodigo: TIntegerField
DisplayLabel = 'C'#243'digo de Im'#243'vel'
FieldName = 'imoCodigo'
end
end
object qryTipoComp: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
DataSource = frmCadComp.dsComplemento
Parameters = <
item
Name = 'compCodigo'
Attributes = [paSigned]
DataType = ftInteger
Precision = 10
Size = 4
Value = Null
end>
SQL.Strings = (
'select compCodigo,tpImoCodigo from TIPO_COMPLEMENTOS '
'where compCodigo = :compCodigo')
Left = 488
Top = 528
object qryTipoCompcompCodigo: TIntegerField
DisplayLabel = 'C'#243'digo'
FieldName = 'compCodigo'
end
object qryTipoComptpImoCodigo: TIntegerField
DisplayLabel = 'C'#243'digo do Tipo do Im'#243'vel'
FieldName = 'tpImoCodigo'
end
end
object qryClientes: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select cliCodigo, cliNome, cliRG, cliCpfCnpj, cliEndereco, cliBa' +
'irro, cliCidade, cliEstado, cliDataNascimento, cliEstadoCivil, c' +
'liTipo,cliNumero, cliCEP'
' from CLIENTES')
Left = 168
Top = 256
object qryClientescliCodigo: TAutoIncField
DisplayLabel = 'C'#243'digo'
FieldName = 'cliCodigo'
ReadOnly = True
end
object qryClientescliNome: TStringField
DisplayLabel = 'Nome'
FieldName = 'cliNome'
Size = 60
end
object qryClientescliRG: TStringField
DisplayLabel = 'RG'
FieldName = 'cliRG'
end
object qryClientescliCpfCnpj: TStringField
DisplayLabel = 'CPF/CNPJ'
FieldName = 'cliCpfCnpj'
end
object qryClientescliEndereco: TStringField
DisplayLabel = 'Endere'#231'o'
FieldName = 'cliEndereco'
Size = 120
end
object qryClientescliBairro: TStringField
DisplayLabel = 'Bairro'
FieldName = 'cliBairro'
Size = 100
end
object qryClientescliCidade: TStringField
DisplayLabel = 'Cidade'
FieldName = 'cliCidade'
Size = 80
end
object qryClientescliEstado: TStringField
DisplayLabel = 'Estado'
FieldName = 'cliEstado'
FixedChar = True
Size = 2
end
object qryClientescliEstadoCivil: TStringField
DisplayLabel = 'Estado Civil'
FieldName = 'cliEstadoCivil'
Size = 25
end
object qryClientescliTipo: TStringField
DisplayLabel = 'Tipo'
FieldName = 'cliTipo'
Size = 25
end
object qryClientescliNumero: TIntegerField
FieldName = 'cliNumero'
end
object qryClientescliCEP: TStringField
FieldName = 'cliCEP'
Size = 10
end
object qryClientescliDataNascimento: TDateTimeField
FieldName = 'cliDataNascimento'
end
object qryClientesfunCodigo: TIntegerField
FieldKind = fkCalculated
FieldName = 'funCodigo'
Calculated = True
end
object qryClientesterCodigo: TIntegerField
FieldKind = fkCalculated
FieldName = 'terCodigo'
Calculated = True
end
end
object qryTelefones: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select telCodigo, telTipo, telDDD, telNumero, telOperadora, cliC' +
'odigo, terCodigo, funCodigo from TELEFONES')
Left = 56
Top = 152
object qryTelefonestelCodigo: TAutoIncField
FieldName = 'telCodigo'
ReadOnly = True
end
object qryTelefonestelTipo: TStringField
FieldName = 'telTipo'
end
object qryTelefonestelDDD: TIntegerField
FieldName = 'telDDD'
end
object qryTelefonestelNumero: TIntegerField
FieldName = 'telNumero'
end
object qryTelefonestelOperadora: TStringField
FieldName = 'telOperadora'
Size = 10
end
object qryTelefonescliCodigo: TIntegerField
FieldName = 'cliCodigo'
end
object qryTelefonesterCodigo: TIntegerField
FieldName = 'terCodigo'
end
object qryTelefonesfunCodigo: TIntegerField
FieldName = 'funCodigo'
end
end
object qryLogin: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <
item
Name = 'pLogin'
Attributes = [paNullable]
DataType = ftString
NumericScale = 255
Precision = 255
Size = 20
Value = Null
end
item
Name = 'pSenha'
Attributes = [paNullable]
DataType = ftString
NumericScale = 255
Precision = 255
Size = 20
Value = Null
end>
SQL.Strings = (
'select funCodigo, funNome, funTipo, funLogin, funSenha, funBloqu' +
'eio from FUNCIONARIOS'
'where (FunLogin = :pLogin) and (funSenha = :pSenha)')
Left = 176
Top = 488
object qryLoginfunCodigo: TAutoIncField
FieldName = 'funCodigo'
ReadOnly = True
end
object qryLoginfunNome: TStringField
DisplayLabel = 'Nome'
FieldName = 'funNome'
Size = 60
end
object qryLoginfunTipo: TStringField
DisplayLabel = 'Tipo'
FieldName = 'funTipo'
Size = 15
end
object qryLoginfunLogin: TStringField
DisplayLabel = 'Login'
FieldName = 'funLogin'
end
object qryLoginfunSenha: TStringField
DisplayLabel = 'Senha'
FieldName = 'funSenha'
end
object qryLoginfunBloqueio: TIntegerField
DisplayLabel = 'Bloqueio'
FieldName = 'funBloqueio'
end
end
object qryConsAgendamentos: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select agendCodigo, agendDataHora, funCodigo, cliCodigo, imoCodi' +
'go from AGENDAMENTOS')
Left = 640
Top = 96
object AutoIncField1: TAutoIncField
DisplayLabel = 'C'#243'digo'
FieldName = 'agendCodigo'
ReadOnly = True
end
object DateTimeField1: TDateTimeField
DisplayLabel = 'Data e Hora'
FieldName = 'agendDataHora'
EditMask = '!90:00:0000>LL;1;_'
end
object IntegerField1: TIntegerField
DisplayLabel = 'C'#243'digo do Funcion'#225'rio'
FieldName = 'funCodigo'
end
object IntegerField2: TIntegerField
DisplayLabel = 'C'#243'digo do Cliente'
FieldName = 'cliCodigo'
end
object IntegerField3: TIntegerField
DisplayLabel = 'C'#243'digo do Im'#243'vel'
FieldName = 'imoCodigo'
end
end
object qryConsEmails: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select emaCodigo, emaEmail, funCodigo, terCodigo, cliCodigo from' +
' EMAILS ')
Left = 544
Top = 144
object AutoIncField3: TAutoIncField
DisplayLabel = 'C'#243'digo'
FieldName = 'emaCodigo'
ReadOnly = True
end
object StringField2: TStringField
DisplayLabel = 'E-mail'
FieldName = 'emaEmail'
Size = 200
end
object IntegerField4: TIntegerField
DisplayLabel = 'C'#243'digo do Funcion'#225'rio'
FieldName = 'funCodigo'
end
object IntegerField5: TIntegerField
DisplayLabel = 'C'#243'digo do Servi'#231'o Terceirizado'
FieldName = 'terCodigo'
end
object IntegerField6: TIntegerField
DisplayLabel = 'C'#243'digo do Cliente'
FieldName = 'cliCodigo'
end
end
object qryConsFotos: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select fotoCodigo, fotoCaminho, fotoDescricao, imoCodigo, funCod' +
'igo from FOTOS')
Left = 640
Top = 144
object AutoIncField4: TAutoIncField
DisplayLabel = 'C'#243'digo'
FieldName = 'fotoCodigo'
ReadOnly = True
end
object StringField3: TStringField
DisplayLabel = 'Caminho'
FieldName = 'fotoCaminho'
Size = 500
end
object StringField4: TStringField
DisplayLabel = 'Descri'#231#227'o'
FieldName = 'fotoDescricao'
Size = 200
end
object IntegerField7: TIntegerField
DisplayLabel = 'C'#243'digo do Im'#243'vel'
FieldName = 'imoCodigo'
end
object IntegerField8: TIntegerField
DisplayLabel = 'C'#243'digo do Funcion'#225'rio'
FieldName = 'funCodigo'
end
end
object qryConsCompImoveis: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select compimoCodigo, compimoQuantidade, compimoCaracteristicas,' +
' compCodigo, imoCodigo from COMPLEMENTOS_IMOVEIS')
Left = 432
Top = 320
object AutoIncField6: TAutoIncField
DisplayLabel = 'C'#243'digo'
FieldName = 'compimoCodigo'
ReadOnly = True
end
object IntegerField10: TIntegerField
DisplayLabel = 'Quantidade'
FieldName = 'compimoQuantidade'
end
object StringField8: TStringField
DisplayLabel = 'Caracter'#237'sticas'
FieldName = 'compimoCaracteristicas'
Size = 300
end
object IntegerField11: TIntegerField
DisplayLabel = 'C'#243'digo do Complemento'
FieldName = 'compCodigo'
end
object IntegerField12: TIntegerField
DisplayLabel = 'C'#243'digo do Im'#243'vel'
FieldName = 'imoCodigo'
end
end
object qryConsFuncionarios: TADOQuery
Connection = CONEXAO
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select funCodigo, funTipo, funNome, funRG, funCPF, funEndereco, ' +
'funCidade,'
' funEstado, funSituacao, funPagamentoBruto, funDataNascimento,'
' funCTPS, funCRECI, funObservacoes, funDataAdmissao, funDataDemi' +
'ssao,'
' funBairro, funLogin, funSenha, funCargo, funBloqueio, funCEP, f' +
'unNumeroImovel from FUNCIONARIOS')
Left = 432
Top = 256
object qryConsFuncionariosfunCodigo: TAutoIncField
FieldName = 'funCodigo'
ReadOnly = True
end
object qryConsFuncionariosfunTipo: TStringField
FieldName = 'funTipo'
Size = 15
end
object qryConsFuncionariosfunNome: TStringField
FieldName = 'funNome'
Size = 60
end
object qryConsFuncionariosfunRG: TStringField
FieldName = 'funRG'
end
object qryConsFuncionariosfunCPF: TStringField
FieldName = 'funCPF'
Size = 15
end
object qryConsFuncionariosfunEndereco: TStringField
FieldName = 'funEndereco'
Size = 120
end
object qryConsFuncionariosfunCidade: TStringField
FieldName = 'funCidade'
Size = 60
end
object qryConsFuncionariosfunEstado: TStringField