-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSuppliers.rep
238 lines (208 loc) · 7.4 KB
/
Suppliers.rep
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
** END HEADER -- do not remove this line
//
// Generated on 22/11/2024
//
local r
r = new SUPPLIERSREPORT()
r.render()
class SUPPLIERSREPORT of BASECREPORT from :DT_Custom2:Base.crp
set procedure to :DT_Custom2:CustomReportControls2.cc additive
set procedure to supplier.dmd additive
set procedure to C:\ProgramData\dBASE\dBASE2019\dBLClasses\ReportControls\REPORT.CC additive
with (this)
title = "Suppliers"
endwith
this.SUPPLIERDATAMODULE1 = new SUPPLIERDATAMODULE()
this.SUPPLIERDATAMODULE1.parent = this
with (this.SUPPLIERDATAMODULE1)
left = 0.75
top = 0.0
width = 1.0
height = 0.0
endwith
with (this.STREAMSOURCE1.detailBand)
height = 0.0
endwith
this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT1 = new MYFIELDHEADINGTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT1)
height = 0.2083
left = 0.1979
top = 0.0826
width = 1.0
fontBold = true
text = "Company:"
endwith
this.STREAMSOURCE1.detailBand.MYFIELDTEXT1 = new MYFIELDTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDTEXT1)
height = 0.2083
left = 1.2708
top = 0.0931
width = 2.0
text = {||form.streamsource1.rowset.fields["Company"].value}
endwith
this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT2 = new MYFIELDHEADINGTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT2)
height = 0.2083
left = 3.5938
top = 0.0931
width = 1.0
fontBold = true
text = "Supplier ID:"
endwith
this.STREAMSOURCE1.detailBand.MYFIELDTEXT2 = new MYFIELDTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDTEXT2)
height = 0.2083
left = 4.7083
top = 0.0826
width = 0.6563
text = {||form.streamsource1.rowset.fields["Supplier ID"].value}
endwith
this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT3 = new MYFIELDHEADINGTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT3)
height = 0.2083
left = 0.1979
top = 0.3222
width = 1.0
fontBold = true
text = "Contact:"
endwith
this.STREAMSOURCE1.detailBand.MYFIELDTEXT3 = new MYFIELDTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDTEXT3)
height = 0.2083
left = 1.2708
top = 0.3222
width = 2.0
text = {||form.streamsource1.rowset.fields["Contact"].value}
endwith
this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT4 = new MYFIELDHEADINGTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT4)
height = 0.2083
left = 3.5938
top = 0.3125
width = 1.0
fontBold = true
text = "Email:"
endwith
this.STREAMSOURCE1.detailBand.MYFIELDTEXT4 = new MYFIELDTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDTEXT4)
height = 0.2083
left = 4.7083
top = 0.3229
width = 2.6
text = {||form.streamsource1.rowset.fields["Email"].value}
endwith
this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT5 = new MYFIELDHEADINGTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT5)
height = 0.2083
left = 0.1979
top = 0.541
width = 1.0
fontBold = true
text = "Phone:"
endwith
this.STREAMSOURCE1.detailBand.MYFIELDTEXT5 = new MYFIELDTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDTEXT5)
height = 0.2083
left = 1.2708
top = 0.541
width = 2.0
text = {||form.streamsource1.rowset.fields["Phone"].value}
endwith
this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT6 = new MYFIELDHEADINGTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT6)
height = 0.2083
left = 3.5938
top = 0.5417
width = 1.0
fontBold = true
text = "Fax:"
endwith
this.STREAMSOURCE1.detailBand.MYFIELDTEXT6 = new MYFIELDTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDTEXT6)
height = 0.2083
left = 4.7083
top = 0.5313
width = 2.0
text = {||form.streamsource1.rowset.fields["Fax"].value}
endwith
this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT7 = new MYFIELDHEADINGTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT7)
height = 0.2083
left = 0.1979
top = 0.7701
width = 1.0
fontBold = true
text = "Address:"
endwith
this.STREAMSOURCE1.detailBand.MYFIELDTEXT7 = new MYFIELDTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDTEXT7)
height = 0.2083
left = 1.2708
top = 0.7701
width = 1.5
text = {||form.streamsource1.rowset.fields["Street1"].value}
endwith
this.STREAMSOURCE1.detailBand.MYFIELDTEXT8 = new MYFIELDTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDTEXT8)
height = 0.2083
left = 1.2708
top = 1.0104
width = 1.5
suppressIfBlank = true
text = {||form.streamsource1.rowset.fields["Street2"].value}
endwith
this.STREAMSOURCE1.detailBand.MYFIELDTEXT9 = new MYFIELDTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDTEXT9)
canRender = class::MYFIELDTEXT9_CANRENDER
height = 0.2083
left = 1.2708
top = 1.2493
width = 2.5
endwith
this.STREAMSOURCE1.detailBand.MYFIELDTEXT10 = new MYFIELDTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDTEXT10)
height = 0.2083
left = 1.2708
top = 1.5097
width = 1.5
text = {||form.streamsource1.rowset.fields["Country ID"].value}
endwith
this.STREAMSOURCE1.detailBand.MYLINE1 = new MYLINE(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYLINE1)
left = 0.0
right = 7.5
top = 0.0313
bottom = 0.0313
width = 0
endwith
form.STREAMFRAME1 = form.pagetemplate1.streamframe1
with (this.PAGETEMPLATE1.MYREPORTTITLETEXT1)
text = "Suppliers"
form.MYREPORTTITLETEXT1 = form.pagetemplate1.myreporttitletext1
endwith
form.MYDATETEXT1 = form.pagetemplate1.mydatetext1
form.PAGENUMBER1 = form.pagetemplate1.pagenumber1
with (this.printer)
duplex = 1 // None
orientation = 1 // Portrait
paperSource = 15
paperSize = 1
resolution = 0 // Default
color = 2 // Color
trueTypeFonts = 3 // Substitute
endwith
this.firstPageTemplate = this.form.pagetemplate1
this.form.pagetemplate1.nextPageTemplate = this.form.pagetemplate1
this.form.pagetemplate1.streamframe1.streamSource = this.form.streamsource1
this.form.streamsource1.rowset = this.form.supplierdatamodule1.supplier1.rowset
function MYFIELDTEXT9_canRender()
local f
f = form.streamsource1.rowset.fields
this.text := ""
this.text += new string( trim( f["CITY"].value ) )
this.text += ", "
this.text += new string( trim( f["STATE ID"].value ) )
this.text += " "
this.text += new string( f["POSTAL"].value )
return true
endclass