home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / busi / tsb70_79.zip / TECHB071.DOC (.txt) < prev    next >
Smart Software Document  |  1988-02-10  |  5KB  |  346 lines

  1. INFORMIX
  2. SOFTWARE,
  3. LENEXA,
  4. Technical
  5. Support
  6. Bulletin
  7. Number
  8. Title:
  9. Columnar
  10. Sorting
  11. Manager
  12. Labels
  13. Date:
  14. November
  15. printing
  16. multiple
  17. columns
  18. labels
  19. using
  20. Manager
  21. Report
  22. command,
  23. labels
  24. printed
  25. current
  26. logical
  27. order
  28. going
  29. horizon
  30. tally
  31. first
  32. vertically.
  33. example,
  34. order
  35. company
  36. name,
  37. report
  38. would
  39. looking
  40. something
  41. this:
  42. Repair
  43. Service
  44. Appleby
  45. Smith
  46. Assc.
  47. Astro
  48. Burgers,
  49. Beardsley
  50. Consulting
  51. Blair
  52. Brothers
  53. Corp.
  54. Bradford
  55. Hospital
  56. Often,
  57. however,
  58. prefer
  59. order
  60. report
  61. vertical
  62. column
  63. printed.
  64. above
  65. example,
  66. desired
  67. order
  68. this:
  69. Repair
  70. Service
  71. Beardsly
  72. Consult
  73. Appleby
  74. Smith
  75. Assc.
  76. Blair
  77. Brothers
  78. Corp.
  79. Astro
  80. Burgers,
  81. Bradford
  82. Hospital
  83. Unfortunately,
  84. there
  85. currently
  86. means
  87. which
  88. automatically
  89. these
  90. labels
  91. listed
  92. order
  93. lumnar
  94. fashion.
  95. However,
  96. sible
  97. which
  98. obtain
  99. ordering
  100. presented
  101. here.
  102. Getting
  103. report
  104. print
  105. vertical
  106. order
  107. nothing
  108. definition
  109. definition
  110. using
  111. changed.
  112. trick
  113. ordered.
  114. ordering
  115. makes
  116. REPORT
  117. command's
  118. horizontal
  119. ordering
  120. nique
  121. order
  122. achieve
  123. verti
  124. ordering.
  125. query
  126. assign
  127. value
  128. numeric
  129. field
  130. base.
  131. value
  132. based
  133. current
  134. logical
  135. record
  136. number
  137. positi
  138. where
  139. record
  140. appear
  141. page.
  142. meric
  143. field
  144. field
  145. place
  146. appropri
  147. order
  148. label
  149. printing.
  150. following
  151. query
  152. assigning
  153. these
  154. values
  155. field
  156. called
  157. [Position]
  158. represent
  159. field.
  160. assumes
  161. report
  162. defini
  163. columns
  164. labels
  165. taining
  166. labels.
  167. query
  168. follows:
  169. replace
  170. [Position]
  171. int(record/22)
  172. mod(record,22)
  173. mod(record,22)
  174. mod(record,22)
  175. mod(record,22)
  176. value
  177. represents
  178. number
  179. labels
  180. value
  181. represents
  182. number
  183. first
  184. column.
  185. query
  186. modified
  187. differ
  188. number
  189. labels
  190. changing
  191. occur
  192. rences
  193. these
  194. values.
  195. three
  196. columns
  197. labels,
  198. query
  199. would
  200. this:
  201. replace
  202. [Position]
  203. int(record/33)
  204. mod(record,33)
  205. mod(rec
  206. ord,33)
  207. mod(record,33)
  208. mod(record,33)
  209. mod(record,33)
  210. mod(record,33)
  211. Again,
  212. value
  213. query
  214. represents
  215. labels
  216. page.
  217. query
  218. scribe
  219. first
  220. changes
  221. query
  222. varying
  223. numbers
  224. labels
  225. should
  226. apparent.
  227. Finally,
  228. query
  229. columns
  230. labels
  231. should
  232. written
  233. replace
  234. [Position]
  235. int(record/44)
  236. mod(record,44)
  237. mod(record,44)
  238. mod(record,44)
  239. mod(record,44)
  240. mod(record,44)
  241. mod(record,44)
  242. mod(record,44)
  243. mod(record,44)
  244. Again,
  245. beyond
  246. representing
  247. number
  248. page,
  249. becomes
  250. somewhat
  251. difficult
  252. deter
  253. meaning
  254. other
  255. parts
  256. formula.
  257. represents
  258. number
  259. columns
  260. other
  261. numbers
  262. based
  263. number
  264. labels
  265. which
  266. appear
  267. page.
  268. order
  269. process
  270. successful,
  271. impor
  272. follow
  273. these
  274. steps
  275. generating
  276. port:
  277. 1. If
  278. there
  279. inactive
  280. records
  281. file,
  282. necessary
  283. query
  284. index
  285. records.
  286. leted
  287. records
  288. print
  289. report
  290. throw
  291. vertical
  292. dering.
  293. 2. Sort
  294. desired
  295. field.
  296. 3. Use
  297. QUERY
  298. Predefined
  299. command
  300. generate
  301. given
  302. query
  303. definition.
  304. Since
  305. index
  306. quired,
  307. Neither
  308. option.
  309. 4. Sort
  310. [Position]
  311. field
  312. ascend
  313. order.
  314. Order
  315. index.
  316. 5. Generate
  317. report
  318. using
  319. REPORT
  320. Print
  321. mand.
  322. option
  323. consistent
  324. query
  325. definition.
  326. final
  327. important
  328. note:
  329. since
  330. REPORT
  331. still
  332. print
  333. label
  334. right,
  335. dering
  336. confused
  337. enough
  338. labels
  339. page.
  340. avoid
  341. problem,
  342. enough
  343. blank
  344. records
  345. page.
  346.