home *** CD-ROM | disk | FTP | other *** search
/ Computer Based Training: …, Windows 95 & NT Basics / a1454501.iso / mo97a03 / AA02.CTL < prev    next >
Encoding:
Text File  |  1997-05-14  |  36.0 KB  |  1,282 lines

  1. *
  2. SimScrn 2 1 11
  3. *********************************
  4. *          Course:   Advanced Access 97
  5. *          Unit:     Working with queries        Unit No.:02
  6. *          Topic:    Total and summary queries        Topic No.: 1
  7. ****
  8. eff.exe a02_101.gif 0 459 0 1 0 15 15 15
  9. *                                   When defining queries you some
  10. isave 196 390 535 339 text1
  11. textbox 196 390 535 339
  12. showtext 0 0 2
  13. pause 1 1 1 1 1 1 1 1
  14. **
  15. eff.exe a02_102a.gif 222 180 0 1 0 15 15 15
  16. eff.exe a02_102b.gif 344 227 0 1 0 15 15 15
  17. *                                   Instead you might wish to see,
  18. isave 196 344 535 288 text2
  19. growbox 196 344 535 288
  20. showtext 0 0 3
  21. pause 1 1 1 1 1 1 1 1
  22. **
  23. eff.exe a02_103a.gif 413 152 0 1 0 15 15 15
  24. eff.exe a02_103b.gif 413 96 0 1 0 15 15 15
  25. *                                   A total query is a type of sel
  26. isave 196 293 535 237 text3
  27. growbox 196 293 535 237
  28. showtext 0 0 3
  29. pause 1 1 1 1 1 1 1 1
  30. **
  31. image memory text3 0 196 293
  32. image memory text2 0 196 344
  33. image memory text1 0 196 390
  34. *
  35. eff.exe a02_104a.gif 403 226 0 1 0 15 15 15
  36. eff.exe a02_104b.gif 499 226 0 1 0 15 15 15
  37. eff.exe a02_104c.gif 499 93 0 1 0 15 15 15
  38. *                                   Suppose you are interested in 
  39. isave 293 405 526 337 text1
  40. textbox 293 405 526 337
  41. showtext 0 0 3
  42. pause 1 1 1 1 1 1 1 1
  43. **
  44. eff.exe a02_105a.gif 2 458 0 1 0 15 15 15
  45. *                                   You decide to define a new que
  46. isave 293 342 526 269 text2
  47. growbox 293 342 526 269
  48. showtext 0 0 4
  49. pause 1 1 1 1 1 1 1 1
  50. **
  51. image memory text2 0 293 342
  52. image memory text1 0 293 405
  53. *
  54. eff.exe a02_106a.gif 64 276 0 1 0 15 15 15
  55. *                                   At this stage you have include
  56. isave 350 457 629 372 text1
  57. textbox 350 457 629 372
  58. showtext 0 0 4
  59. pause 1 1 1 1 1 1 1 1
  60. **
  61. eff.exe a02_107a.gif 64 316 0 1 0 15 15 15
  62. eff.exe a02_107b.gif 64 276 0 1 0 15 15 15
  63. *                                   ≥ Unit Price (from the Product
  64. isave 350 377 629 338 text2
  65. growbox 350 377 629 338
  66. showtext 0 0 2
  67. pause 1 1 1 1 1 1 1 1
  68. **
  69. eff.exe a02_108a.gif 186 316 0 1 0 15 15 15
  70. eff.exe a02_108b.gif 186 274 0 1 0 15 15 15
  71. *                                   ≥ Units sold (from the Sales t
  72. isave 350 343 629 304 text3
  73. growbox 350 343 629 304
  74. showtext 0 0 2
  75. pause 1 1 1 1 1 1 1 1
  76. **
  77. eff.exe a02_109a.gif 270 273 0 1 0 15 15 15
  78. eff.exe a02_109b.gif 633 273 0 1 0 15 15 15
  79. *                                   ≥ an expression multiplying Un
  80. isave 350 309 629 253 text4
  81. growbox 350 309 629 253
  82. showtext 0 0 3
  83. pause 1 1 1 1 1 1 1 1
  84. **
  85. image memory text4 0 350 309
  86. image memory text3 0 350 343
  87. image memory text2 0 350 377
  88. image memory text1 0 350 457
  89. *
  90. eff.exe a02_110a.gif 60 256 0 1 0 15 15 15
  91. eff.exe a02_110b.gif 192 272 0 1 0 15 15 15
  92. eff.exe a02_110c.gif 192 72 0 1 0 15 15 15
  93. *                                   Notice that you can change a f
  94. isave 369 454 623 335 text1
  95. textbox 369 454 623 335
  96. showtext 0 0 6
  97. pause 1 1 1 1 1 1 1 1
  98. **
  99. eff.exe a02_111a.gif 76 274 0 1 0 15 15 15
  100. eff.exe a02_111b.gif 354 273 0 1 0 15 15 15
  101. eff.exe a02_111c.gif 354 70 0 1 0 15 15 15
  102. *                                   This is useful for making reco
  103. isave 369 340 623 267 text2
  104. growbox 369 340 623 267
  105. showtext 0 0 4
  106. pause 1 1 1 1 1 1 1 1
  107. **
  108. image memory text2 0 369 340
  109. image memory text1 0 369 454
  110. *
  111. eff.exe a02_112a.gif 0 458 0 1 0 15 15 15
  112. eff.exe a02_112b.gif 342 273 0 1 0 15 15 15
  113. *                                   You can see the recordset resu
  114. isave 25 240 314 172 text1
  115. textbox 25 240 314 172
  116. showtext 0 0 3
  117. pause 1 1 1 1 1 1 1 1
  118. **
  119. eff.exe a02_113a.gif 0 458 0 1 0 15 15 15
  120. *                                   The recordset shows individual
  121. isave 25 177 314 104 text2
  122. growbox 25 177 314 104
  123. showtext 0 0 4
  124. pause 1 1 1 1 1 1 1 1
  125. **
  126. qcall AA02q 020101
  127. eff.exe a02_114a.gif 450 323 0 1 0 15 15 15
  128. eff.exe a02_114b.gif 630 147 0 1 0 15 15 15
  129. *                                   You can now group all the occu
  130. isave 25 109 314 19 text3
  131. growbox 25 109 314 19
  132. showtext 0 0 5
  133. pause 1 1 1 1 1 1 1 1
  134. **
  135. image memory text3 0 25 109
  136. image memory text2 0 25 177
  137. image memory text1 0 25 240
  138. *
  139. eff.exe a02_115a.gif 2 452 0 1 0 15 15 15
  140. *                                   To do this you click the Total
  141. isave 18 177 315 126 text1
  142. textbox 18 177 315 126
  143. showtext 0 0 2
  144. pause 1 1 1 1 1 1 1 1
  145. **
  146. eff.exe a02_116a.gif 17 446 0 1 0 15 15 15
  147. eff.exe a02_116b.gif 70 63 0 1 0 15 15 15
  148. *                                   A new row - the Total row - is
  149. isave 18 131 315 75 text2
  150. growbox 18 131 315 75
  151. showtext 0 0 3
  152. pause 1 1 1 1 1 1 1 1
  153. **
  154. eff.exe a02_117a.gif 17 263 0 1 0 15 15 15
  155. *                                   By default, the Total row cont
  156. isave 18 80 315 24 text3
  157. growbox 18 80 315 24
  158. showtext 0 0 3
  159. pause 1 1 1 1 1 1 1 1
  160. **
  161. image memory text3 0 18 80
  162. image memory text2 0 18 131
  163. image memory text1 0 18 177
  164. *
  165. eff.exe a02_118a.gif 316 440 0 1 0 15 15 15
  166. eff.exe a02_118b.gif 20 263 0 1 0 15 15 15
  167. *                                   The records will be grouped ac
  168. isave 73 163 313 95 text1
  169. textbox 73 163 313 95
  170. showtext 0 0 3
  171. pause 1 1 1 1 1 1 1 1
  172. **
  173. eff.exe a02_119a.gif 2 452 0 1 0 15 15 15
  174. *                                   Now the recordset shows one ro
  175. isave 73 100 313 27 text2
  176. growbox 73 100 313 27
  177. showtext 0 0 4
  178. footnote 1
  179. pause 1 1 1 1 1 1 1 1
  180. **
  181. image memory text2 0 73 100
  182. image memory text1 0 73 163
  183. *
  184. eff.exe a02_120a.gif 2 452 0 1 0 15 15 15
  185. *                                   You can replace Group By in an
  186. isave 308 450 625 382 text1
  187. textbox 308 450 625 382
  188. showtext 0 0 3
  189. pause 1 1 1 1 1 1 1 1
  190. **
  191. eff.exe a02_121a.gif 20 427 0 1 0 15 15 15
  192. eff.exe a02_121b.gif 20 265 0 1 0 15 15 15
  193. eff.exe a02_121c.gif 615 265 0 1 0 15 15 15
  194. *                                   Alternatively, you can choose 
  195. isave 308 387 625 314 text2
  196. growbox 308 387 625 314
  197. showtext 0 0 4
  198. pause 1 1 1 1 1 1 1 1
  199. **
  200. eff.exe a02_122a.gif 242 208 0 1 0 15 15 15
  201. *                                   Here, you require the Sum func
  202. isave 308 319 625 280 text3
  203. growbox 308 319 625 280
  204. showtext 0 0 2
  205. pause 1 1 1 1 1 1 1 1
  206. **
  207. image memory text3 0 308 319
  208. image memory text2 0 308 387
  209. image memory text1 0 308 450
  210. *
  211. eff.exe a02_123a.gif 2 452 0 1 0 15 15 15
  212. *                                   Each Product Name entry in the
  213. isave 83 244 329 159 text1
  214. textbox 83 244 329 159
  215. showtext 0 0 4
  216. pause 1 1 1 1 1 1 1 1
  217. **
  218. eff.exe a02_124a.gif 7 418 0 1 0 15 15 15
  219. eff.exe a02_124b.gif 295 392 0 1 0 15 15 15
  220. eff.exe a02_124c.gif 295 41 0 1 0 15 15 15
  221. *                                   Also shown are the total numbe
  222. isave 83 164 329 74 text2
  223. growbox 83 164 329 74
  224. showtext 0 0 5
  225. pause 1 1 1 1 1 1 1 1
  226. **
  227. image memory text2 0 83 164
  228. image memory text1 0 83 244
  229. *
  230. eff.exe a02_125a.gif 2 452 0 1 0 15 15 15
  231. *                                   In addition to Group By and th
  232. isave 327 436 617 334 text1
  233. textbox 327 436 617 334
  234. showtext 0 0 5
  235. pause 1 1 1 1 1 1 1 1
  236. **
  237. eff.exe a02_126a.gif 57 130 0 1 0 15 15 15
  238. *                                   ≥ Wher
  239. isave 327 339 617 300 text2
  240. growbox 327 339 617 300
  241. showtext 0 0 2
  242. pause 1 1 1 1 1 1 1 1
  243. **
  244. eff.exe a02_127a.gif 56 170 0 1 0 15 15 15
  245. *                                   Expression allows you to creat
  246. isave 327 305 617 232 text3
  247. growbox 327 305 617 232
  248. showtext 0 0 4
  249. pause 1 1 1 1 1 1 1 1
  250. **
  251. image memory text3 0 327 305
  252. image memory text2 0 327 339
  253. image memory text1 0 327 436
  254. *
  255. qcall AA02q 020102
  256. eff.exe a02_128a.gif 56 170 0 1 0 15 15 15
  257. eff.exe a02_128b.gif 237 197 0 1 0 15 15 15
  258. *                                   You can use Where, together wi
  259. isave 275 455 634 387 text1
  260. textbox 275 455 634 387
  261. showtext 0 0 3
  262. pause 1 1 1 1 1 1 1 1
  263. **
  264. eff.exe a02_129a.gif 56 431 0 1 0 15 15 15
  265. eff.exe a02_129b.gif 495 431 0 1 0 15 15 15
  266. eff.exe a02_129c.gif 56 256 0 1 0 15 15 15
  267. *                                   For example, you might be inte
  268. isave 275 392 634 319 text2
  269. growbox 275 392 634 319
  270. showtext 0 0 4
  271. pause 1 1 1 1 1 1 1 1
  272. **
  273. eff.exe a02_130a.gif 2 452 0 1 0 15 15 15
  274. *                                   Running the query now returns 
  275. isave 275 324 634 268 text3
  276. growbox 275 324 634 268
  277. showtext 0 0 3
  278. pause 1 1 1 1 1 1 1 1
  279. **
  280. footnote 0
  281. image memory text3 0 275 324
  282. image memory text2 0 275 392
  283. image memory text1 0 275 455
  284. *
  285. eff.exe a02_131a.gif 2 452 0 1 0 15 15 15
  286. *                                   If you want the product names 
  287. isave 324 405 603 320 text1
  288. textbox 324 405 603 320
  289. showtext 0 0 4
  290. pause 1 1 1 1 1 1 1 1
  291. **
  292. eff.exe a02_132a.gif 0 452 0 1 0 15 15 15
  293. *                                   Now the Product Name groups ar
  294. isave 324 325 603 269 text2
  295. growbox 324 325 603 269
  296. showtext 0 0 3
  297. pause 1 1 1 1 1 1 1 1
  298. **
  299. image memory text2 0 324 325
  300. image memory text1 0 324 405
  301. *
  302.  
  303.  
  304.  
  305.  
  306. SimScrn 2 2 11
  307. *********************************
  308. eff.exe a02_133.gif 0 459 0 1 0 15 15 15
  309. *                                   A summary query is a total que
  310. isave 4 200 268 132 text1
  311. textbox 4 200 268 132
  312. showtext 0 0 3
  313. pause 1 1 1 1 1 1 1 1
  314. **
  315. *                                   You click the New button on th
  316. notebox 275 183 507 
  317. **
  318. eff.exe a02_135a.gif 20 427 0 1 0 15 15 15
  319. eff.exe a02_135b.gif 547 434 0 1 0 15 15 15
  320. eff.exe a02_135c.gif 11 18 0 1 0 15 15 15
  321. eff.exe a02_135d.gif 547 18 0 1 0 15 15 15
  322. *                                   First you choose the fields yo
  323. isave 4 137 268 64 text2
  324. growbox 4 137 268 64
  325. showtext 0 0 4
  326. pause 1 1 1 1 1 1 1 1
  327. **
  328. eff.exe a02_136a.gif 35 376 0 1 0 15 15 15
  329. eff.exe a02_136b.gif 35 77 0 1 0 15 15 15
  330. *                                   Now you can choose between a D
  331. isave 4 69 268 13 text3
  332. growbox 4 69 268 13
  333. showtext 0 0 3
  334. pause 1 1 1 1 1 1 1 1
  335. **
  336. image memory text3 0 4 69
  337. image memory text2 0 4 137
  338. image memory text1 0 4 200
  339. *
  340. eff.exe a02_137a.gif 49 356 0 1 0 15 15 15
  341. eff.exe a02_137b.gif 198 376 0 1 0 15 15 15
  342. *                                   The Summary Options button bec
  343. isave 38 187 316 119 text1
  344. textbox 38 187 316 119
  345. showtext 0 0 3
  346. pause 1 1 1 1 1 1 1 1
  347. **
  348. eff.exe a02a138a.gif 26 398 0 1 0 15 15 15
  349. eff.exe a02a138b.gif 25 371 0 1 0 15 15 15
  350. eff.exe a02a138c.gif 514 53 0 1 0 15 15 15
  351. *qcall AA02q 020103
  352. eff.exe a02_138a.gif 157 315 0 1 0 15 15 15
  353. *                                   When you click the Summary Opt
  354. isave 38 124 316 34 text2
  355. growbox 38 124 316 34
  356. showtext 0 0 5
  357. pause 1 1 1 1 1 1 1 1
  358. **
  359. image memory text2 0 38 124
  360. image memory text1 0 38 187
  361. *
  362. eff.exe a02_139a.gif 507 426 0 1 0 15 15 15
  363. eff.exe a02_139b.gif 25 315 0 1 0 15 15 15
  364. eff.exe a02_139c.gif 507 102 0 1 0 15 15 15
  365. *                                   As well as selecting one or mo
  366. isave 277 458 584 373 text1
  367. textbox 277 458 584 373
  368. showtext 0 0 4
  369. pause 1 1 1 1 1 1 1 1
  370. **
  371. eff.exe a02_140a.gif 93 427 0 1 0 15 15 15
  372. eff.exe a02_140b.gif 524 427 0 1 0 15 15 15
  373. eff.exe a02_140c.gif 93 337 0 1 0 15 15 15
  374. *                                   You click OK to return to the 
  375. isave 277 378 584 339 text2
  376. growbox 277 378 584 339
  377. showtext 0 0 2
  378. pause 1 1 1 1 1 1 1 1
  379. **
  380. eff.exe a02_141a.gif 26 398 0 1 0 15 15 15
  381. eff.exe a02_141b.gif 35 371 0 1 0 15 15 15
  382. *                                   Then you click Next to continu
  383. isave 277 344 584 305 text3
  384. growbox 277 344 584 305
  385. showtext 0 0 2
  386. pause 1 1 1 1 1 1 1 1
  387. **
  388. image memory text3 0 277 344
  389. image memory text2 0 277 378
  390. image memory text1 0 277 458
  391. *
  392. eff.exe a02_142a.gif 50 427 0 1 0 15 15 15
  393. eff.exe a02_142b.gif 50 366 0 1 0 15 15 15
  394. *                                   Now you can give the query a t
  395. isave 273 436 544 368 text1
  396. textbox 273 436 544 368
  397. showtext 0 0 3
  398. pause 1 1 1 1 1 1 1 1
  399. **
  400. eff.exe a02_143a.gif 210 427 0 1 0 15 15 15
  401. eff.exe a02_143b.gif 80 207 0 1 0 15 15 15
  402. eff.exe a02_143c.gif 210 207 0 1 0 15 15 15
  403. *                                   When you click Finish, Access 
  404. isave 273 373 544 300 text2
  405. growbox 273 373 544 300
  406. showtext 0 0 4
  407. pause 1 1 1 1 1 1 1 1
  408. **
  409. image memory text2 0 273 373
  410. image memory text1 0 273 436
  411. *
  412. eff.exe a02_144a.gif 2 452 0 1 0 15 15 15
  413. eff.exe a02_144b.gif 2 18 0 1 0 15 15 15
  414. *                                   As you can see, your summary q
  415. isave 86 163 353 112 text1
  416. textbox 86 163 353 112
  417. showtext 0 0 2
  418. pause 1 1 1 1 1 1 1 1
  419. **
  420. eff.exe a02_145a.gif 2 452 0 1 0 15 15 15
  421. *                                   In the Datasheet View you can 
  422. isave 86 117 353 27 text2
  423. growbox 86 117 353 27
  424. showtext 0 0 5
  425. pause 1 1 1 1 1 1 1 1
  426. **
  427. image memory text2 0 86 117
  428. image memory text1 0 86 163
  429. *
  430. *          Topic:    Crosstab queries        Topic No.: 2
  431. ****
  432.  
  433.  
  434.  
  435.  
  436. SimScrn 2 3 11
  437. *********************************
  438. eff.exe a02_201.gif 0 459 0 1 0 15 15 15
  439. *                                   A crosstab query is a special 
  440. isave 289 456 627 388 text1
  441. textbox 289 456 627 388
  442. showtext 0 0 3
  443. pause 1 1 1 1 1 1 1 1
  444. **
  445. eff.exe a02_202a.gif 547 434 0 1 0 15 15 15
  446. eff.exe a02_202b.gif 20 368 0 1 0 15 15 15
  447. eff.exe a02_202c.gif 501 125 0 1 0 15 15 15
  448. *                                   For example, you could use a c
  449. isave 289 393 627 320 text2
  450. growbox 289 393 627 320
  451. showtext 0 0 4
  452. pause 1 1 1 1 1 1 1 1
  453. **
  454. image memory text2 0 289 393
  455. image memory text1 0 289 456
  456. *
  457. eff.exe a02_203a.gif 268 303 0 1 0 15 15 15
  458. *                                   You can easily create a crosst
  459. isave 389 441 623 356 text1
  460. textbox 389 441 623 356
  461. showtext 0 0 4
  462. pause 1 1 1 1 1 1 1 1
  463. **
  464. image memory text1 0 389 441
  465. *
  466. eff.exe a02_204a.gif 20 453 0 1 0 15 15 15
  467. eff.exe a02_204b.gif 11 18 0 1 0 15 15 15
  468. *                                   First you choose a table or qu
  469. isave 22 227 277 159 text1
  470. textbox 22 227 277 159
  471. showtext 0 0 3
  472. pause 1 1 1 1 1 1 1 1
  473. **
  474. eff.exe a02_205a.gif 53 430 0 1 0 15 15 15
  475. eff.exe a02_205b.gif 53 149 0 1 0 15 15 15
  476. *                                   If you wish to use fields from
  477. isave 22 164 277 74 text2
  478. growbox 22 164 277 74
  479. showtext 0 0 5
  480. pause 1 1 1 1 1 1 1 1
  481. **
  482. eff.exe a02_206a.gif 53 393 0 1 0 15 15 15
  483. eff.exe a02_206b.gif 371 372 0 1 0 15 15 15
  484. *                                   You double-click the required 
  485. isave 22 79 277 6 text3
  486. growbox 22 79 277 6
  487. showtext 0 0 4
  488. pause 1 1 1 1 1 1 1 1
  489. **
  490. image memory text3 0 22 79
  491. image memory text2 0 22 164
  492. image memory text1 0 22 227
  493. *
  494. eff.exe a02_207a.gif 68 421 0 1 0 15 15 15
  495. eff.exe a02_207b.gif 68 87 0 1 0 15 15 15
  496. *                                   Now you choose the field(s) th
  497. isave 34 214 275 146 text1
  498. textbox 34 214 275 146
  499. showtext 0 0 3
  500. pause 1 1 1 1 1 1 1 1
  501. **
  502. eff.exe a02a208a.gif 216 410 0 1 0 15 15 15
  503. eff.exe a02a208b.gif 291 211 0 1 0 15 15 15
  504. qcall AA02q 020201
  505. eff.exe a02_208a.gif 258 386 0 1 0 15 15 15
  506. eff.exe a02_208b.gif 291 211 0 1 0 15 15 15
  507. *                                   To select a field, you highlig
  508. isave 34 151 275 61 text2
  509. growbox 34 151 275 61
  510. showtext 0 0 5
  511. pause 1 1 1 1 1 1 1 1
  512. **
  513. eff.exe a02_209a.gif 258 401 0 1 0 15 15 15
  514. eff.exe a02_209b.gif 244 211 0 1 0 15 15 15
  515. *                                   Then you click Next to continu
  516. isave 34 66 275 27 text3
  517. growbox 34 66 275 27
  518. showtext 0 0 2
  519. pause 1 1 1 1 1 1 1 1
  520. **
  521. image memory text3 0 34 66
  522. image memory text2 0 34 151
  523. image memory text1 0 34 214
  524. *
  525. eff.exe a02_210a.gif 68 418 0 1 0 15 15 15
  526. eff.exe a02_210b.gif 271 422 0 1 0 15 15 15
  527. eff.exe a02_210c.gif 296 211 0 1 0 15 15 15
  528. *                                   Now you select the field that 
  529. isave 7 326 318 258 text1
  530. textbox 7 326 318 258
  531. showtext 0 0 3
  532. pause 1 1 1 1 1 1 1 1
  533. **
  534. *                                   Although you can select up to 
  535. notebox 38 236 280 
  536. **
  537. eff.exe a02_212a.gif 67 418 0 1 0 15 15 15
  538. eff.exe a02_212b.gif 271 422 0 1 0 15 15 15
  539. *                                   Then you decide on a calculate
  540. isave 7 263 318 207 text2
  541. growbox 7 263 318 207
  542. showtext 0 0 3
  543. pause 1 1 1 1 1 1 1 1
  544. **
  545. eff.exe a02_213a.gif 305 336 0 1 0 15 15 15
  546. *                                   You select a field and a funct
  547. isave 7 212 318 156 text3
  548. growbox 7 212 318 156
  549. showtext 0 0 3
  550. pause 1 1 1 1 1 1 1 1
  551. **
  552. eff.exe a02_214a.gif 70 303 0 1 0 15 15 15
  553. eff.exe a02_214b.gif 383 336 0 1 0 15 15 15
  554. eff.exe a02_214c.gif 296 211 0 1 0 15 15 15
  555. *                                   If you don't need row sums you
  556. isave 7 161 318 105 text4
  557. growbox 7 161 318 105
  558. showtext 0 0 3
  559. pause 1 1 1 1 1 1 1 1
  560. **
  561. *                                   A row sum summarizes the calcu
  562. notebox 24 436 289 
  563. **
  564. image memory text4 0 7 161
  565. image memory text3 0 7 212
  566. image memory text2 0 7 263
  567. image memory text1 0 7 326
  568. *
  569. eff.exe a02_216a.gif 65 431 0 1 0 15 15 15
  570. *                                   Finally you can name the query
  571. isave 28 207 256 139 text1
  572. textbox 28 207 256 139
  573. showtext 0 0 3
  574. pause 1 1 1 1 1 1 1 1
  575. **
  576. eff.exe a02_217a.gif 2 453 0 1 0 15 15 15
  577. *                                   In the Datasheet View you can 
  578. isave 28 144 256 54 text2
  579. growbox 28 144 256 54
  580. showtext 0 0 5
  581. pause 1 1 1 1 1 1 1 1
  582. **
  583. image memory text2 0 28 144
  584. image memory text1 0 28 207
  585. *
  586. qcall AA02q 020202
  587. eff.exe a02_218a.gif 2 452 0 1 0 15 15 15
  588. *                                   In Design View you can identif
  589. isave 3 331 265 229 text1
  590. textbox 3 331 265 229
  591. showtext 0 0 5
  592. pause 1 1 1 1 1 1 1 1
  593. **
  594. eff.exe a02_219a.gif 232 459 0 1 0 15 15 15
  595. eff.exe a02_219b.gif 7 241 0 1 0 15 15 15
  596. *                                   Since the Crosstab Query Wizar
  597. isave 3 234 265 144 text2
  598. growbox 3 234 265 144
  599. showtext 0 0 5
  600. pause 1 1 1 1 1 1 1 1
  601. **
  602. image memory text2 0 3 234
  603. image memory text1 0 3 331
  604. *
  605.  
  606.  
  607.  
  608. SimScrn 2 4 11
  609. *********************************
  610. eff.exe a02_220.gif 0 459 0 1 0 15 15 15
  611. qcall AA02q 020203
  612. *                                   You can also create a crosstab
  613. isave 262 422 506 371 text1
  614. textbox 262 422 506 371
  615. showtext 0 0 2
  616. pause 1 1 1 1 1 1 1 1
  617. **
  618. eff.exe a02_221a.gif 9 409 0 1 0 15 15 15
  619. eff.exe a02_221b.gif 297 211 0 1 0 15 15 15
  620. *                                   You can use the design grid to
  621. isave 262 376 506 286 text2
  622. growbox 262 376 506 286
  623. showtext 0 0 5
  624. pause 1 1 1 1 1 1 1 1
  625. **
  626. eff.exe a02_222a.gif 2 452 0 1 0 15 15 15
  627. *                                   City Sales is currently a sele
  628. isave 262 291 506 235 text3
  629. growbox 262 291 506 235
  630. showtext 0 0 3
  631. pause 1 1 1 1 1 1 1 1
  632. **
  633. image memory text3 0 262 291
  634. image memory text2 0 262 376
  635. image memory text1 0 262 422
  636. *
  637. eff.exe a02_223a.gif 2 452 0 1 0 15 15 15
  638. *                                   To convert it to a crosstab qu
  639. isave 10 456 260 371 text1
  640. textbox 10 456 260 371
  641. showtext 0 0 4
  642. pause 1 1 1 1 1 1 1 1
  643. **
  644. *                                   Alternatively, you can choose 
  645. notebox 44 348 226 
  646. **
  647. eff.exe a02_225a.gif 282 434 0 1 0 15 15 15
  648. eff.exe a02_225b.gif 8 228 0 1 0 15 15 15
  649. *                                   Now the Total and Crosstab row
  650. isave 10 376 260 320 text2
  651. growbox 10 376 260 320
  652. showtext 0 0 3
  653. pause 1 1 1 1 1 1 1 1
  654. **
  655. eff.exe a02_226a.gif 8 431 0 1 0 15 15 15
  656. eff.exe a02_226b.gif 8 244 0 1 0 15 15 15
  657. *                                   You use the drop-down list in 
  658. isave 10 325 260 235 text3
  659. growbox 10 325 260 235
  660. showtext 0 0 5
  661. pause 1 1 1 1 1 1 1 1
  662. **
  663. image memory text3 0 10 325
  664. image memory text2 0 10 376
  665. image memory text1 0 10 456
  666. *
  667. eff.exe a02_227a.gif 26 427 0 1 0 15 15 15
  668. eff.exe a02_227b.gif 26 227 0 1 0 15 15 15
  669. *                                   Each column heading must have 
  670. isave 348 456 628 405 text1
  671. textbox 348 456 628 405
  672. showtext 0 0 2
  673. pause 1 1 1 1 1 1 1 1
  674. **
  675. *                                   Any field that provides row he
  676. notebox 380 381 596 
  677. **
  678. qcall AA02q 020204
  679. eff.exe a02_229a.gif 26 432 0 1 0 15 15 15
  680. eff.exe a02_229b.gif 26 227 0 1 0 15 15 15
  681. *                                   For your crosstab query to wor
  682. isave 348 410 628 320 text2
  683. growbox 348 410 628 320
  684. showtext 0 0 5
  685. pause 1 1 1 1 1 1 1 1
  686. **
  687. eff.exe a02_230a.gif 161 432 0 1 0 15 15 15
  688. eff.exe a02_230b.gif 161 216 0 1 0 15 15 15
  689. eff.exe a02_230c.gif 418 216 0 1 0 15 15 15
  690. *                                   The field containing the Value
  691. isave 348 325 628 235 text3
  692. growbox 348 325 628 235
  693. showtext 0 0 5
  694. pause 1 1 1 1 1 1 1 1
  695. **
  696. image memory text3 0 348 325
  697. image memory text2 0 348 410
  698. image memory text1 0 348 456
  699. *
  700. eff.exe a02_231a.gif 258 149 0 1 0 15 15 15
  701. eff.exe a02_231b.gif 415 251 0 1 0 15 15 15
  702. eff.exe a02_231c.gif 403 37 0 1 0 15 15 15
  703. *                                   Since you do not wish to use t
  704. isave 351 454 625 369 text1
  705. textbox 351 454 625 369
  706. showtext 0 0 4
  707. pause 1 1 1 1 1 1 1 1
  708. **
  709. eff.exe a02_232a.gif 0 444 0 1 0 15 15 15
  710. eff.exe a02_232b.gif 424 431 0 1 0 15 15 15
  711. *                                   Now you can click the View but
  712. isave 351 374 625 318 text2
  713. growbox 351 374 625 318
  714. showtext 0 0 3
  715. pause 1 1 1 1 1 1 1 1
  716. **
  717. eff.exe a02_233a.gif 0 452 0 1 0 15 15 15
  718. *                                   Notice that entries in the Nam
  719. isave 351 323 625 233 text3
  720. growbox 351 323 625 233
  721. showtext 0 0 5
  722. pause 1 1 1 1 1 1 1 1
  723. **
  724. image memory text3 0 351 323
  725. image memory text2 0 351 374
  726. image memory text1 0 351 454
  727. *
  728. eff.exe a02_234a.gif 26 459 0 1 0 15 15 15
  729. eff.exe a02_234b.gif 159 459 0 1 0 15 15 15
  730. *                                   When you click the Close Windo
  731. isave 13 228 224 143 text1
  732. textbox 13 228 224 143
  733. showtext 0 0 4
  734. pause 1 1 1 1 1 1 1 1
  735. **
  736. eff.exe a02_235a.gif 2 459 0 1 0 15 15 15
  737. *                                   On the Queries tab, the icon n
  738. isave 13 148 224 58 text2
  739. growbox 13 148 224 58
  740. showtext 0 0 5
  741. pause 1 1 1 1 1 1 1 1
  742. **
  743. image memory text2 0 13 148
  744. image memory text1 0 13 228
  745. *
  746. *          Topic:    Hands-on: Customizing a crosstab query        Topic No.: 3
  747. ****
  748. SimScrn 2 5 11
  749. MoveCtrl 1 493 426 0 0
  750. *********************************
  751. *                                   Sometimes it is useful to base
  752. isave 29 395 369 344 text1
  753. textbox 29 395 369 344
  754. showtext 0 0 2
  755. pause 1 1 1 1 1 1 1 1
  756. *
  757.                                    For example, an existing query
  758. isave 29 349 369 276 text2
  759. growbox 29 349 369 276
  760. showtext 0 0 4
  761. pause 1 1 1 1 1 1 1 1
  762. *
  763. image memory text2 0 29 349
  764. image memory text1 0 29 395
  765. *
  766. exercise 01 01 120 70
  767. *
  768. *
  769. *task 1 0101 320 300 320 12 50 67 5 5
  770. task 1 0101 0 300 320 12 50 67 5 5
  771. pause 1 1 1 1 1 1 1 1
  772. **
  773. *
  774.  
  775. SimScrn 2 6 11
  776. *********************************
  777. eff.exe a02_401.gif 0 459 0 1 0 15 15 15
  778. *                                   An action query is a query tha
  779. isave 8 228 306 177 text1
  780. textbox 8 228 306 177
  781. showtext 0 0 2
  782. pause 1 1 1 1 1 1 1 1
  783. **
  784. eff.exe a02_402a.gif 213 341 0 1 0 15 15 15
  785. *                                   There are four types of action
  786. isave 8 182 306 109 text2
  787. growbox 8 182 306 109
  788. showtext 0 0 4
  789. pause 1 1 1 1 1 1 1 1
  790. **
  791. eff.exe a02_404a.gif 213 341 0 1 0 15 15 15
  792. eff.exe a02_404b.gif 335 341 0 1 0 15 15 15
  793. *                                   ≥ delete querie
  794. isave 8 114 306 75 text3
  795. growbox 8 114 306 75
  796. showtext 0 0 2
  797. pause 1 1 1 1 1 1 1 1
  798. **
  799. eff.exe a02_403a.gif 217 336 0 1 0 15 15 15
  800. eff.exe a02_403b.gif 350 336 0 1 0 15 15 15
  801. *                                   ≥ append querie
  802. isave 8 80 306 41 text4
  803. growbox 8 80 306 41
  804. showtext 0 0 2
  805. pause 1 1 1 1 1 1 1 1
  806. **
  807. eff.exe a02_405a.gif 217 336 0 1 0 15 15 15
  808. eff.exe a02_405b.gif 350 339 0 1 0 15 15 15
  809. *                                   ≥ update querie
  810. isave 8 46 306 7 text5
  811. growbox 8 46 306 7
  812. showtext 0 0 2
  813. pause 1 1 1 1 1 1 1 1
  814. **
  815. image memory text5 0 8 46
  816. image memory text4 0 8 80
  817. image memory text3 0 8 114
  818. image memory text2 0 8 182
  819. image memory text1 0 8 228
  820. *
  821. eff.exe a02_406a.gif 23 353 0 1 0 15 15 15
  822. eff.exe a02_406b.gif 204 360 0 1 0 15 15 15
  823. *                                   You might find that you often 
  824. isave 11 449 298 381 text1
  825. textbox 11 449 298 381
  826. showtext 0 0 3
  827. pause 1 1 1 1 1 1 1 1
  828. **
  829. eff.exe a02_407a.gif 2 452 0 1 0 15 15 15
  830. *                                   In such a case, it could be us
  831. isave 11 386 298 313 text2
  832. growbox 11 386 298 313
  833. showtext 0 0 4
  834. pause 1 1 1 1 1 1 1 1
  835. **
  836. eff.exe a02_408a.gif 2 452 0 1 0 15 15 15
  837. *                                   You can create a new table by 
  838. isave 11 318 298 245 text3
  839. growbox 11 318 298 245
  840. showtext 0 0 4
  841. pause 1 1 1 1 1 1 1 1
  842. **
  843. image memory text3 0 11 318
  844. image memory text2 0 11 386
  845. image memory text1 0 11 449
  846. *
  847. eff.exe a02a409a.gif 154 457 0 1 0 15 15 15
  848. qcall AA02q 020401
  849. eff.exe a02_409a.gif 137 459 0 1 0 15 15 15
  850. eff.exe a02_409b.gif 103 320 0 1 0 15 15 15
  851. *                                   To convert this select query t
  852. isave 144 200 477 132 text1
  853. textbox 144 200 477 132
  854. showtext 0 0 3
  855. pause 1 1 1 1 1 1 1 1
  856. **
  857. *                                   Alternatively you can choose M
  858. notebox 189 110 438 
  859. **
  860. eff.exe a02_411a.gif 72 459 0 1 0 15 15 15
  861. *                                   Then you type a name for the n
  862. isave 144 137 477 81 text2
  863. growbox 144 137 477 81
  864. showtext 0 0 3
  865. pause 1 1 1 1 1 1 1 1
  866. **
  867. eff.exe a02_412a.gif 143 319 0 1 0 15 15 15
  868. eff.exe a02_412b.gif 474 336 0 1 0 15 15 15
  869. *                                   You can choose to add the new 
  870. isave 144 86 477 13 text3
  871. growbox 144 86 477 13
  872. showtext 0 0 4
  873. pause 1 1 1 1 1 1 1 1
  874. **
  875. image memory text3 0 144 86
  876. image memory text2 0 144 137
  877. image memory text1 0 144 200
  878. *
  879. eff.exe a02_413a.gif 72 430 0 1 0 15 15 15
  880. eff.exe a02_413b.gif 140 430 0 1 0 15 15 15
  881. *                                   You can recognize this query a
  882. isave 323 273 603 205 text1
  883. textbox 323 273 603 205
  884. showtext 0 0 3
  885. pause 1 1 1 1 1 1 1 1
  886. **
  887. eff.exe a02_414a.gif 72 434 0 1 0 15 15 15
  888. eff.exe a02_414b.gif 161 434 0 1 0 15 15 15
  889. eff.exe a02_414c.gif 72 250 0 1 0 15 15 15
  890. eff.exe a02_414d.gif 161 250 0 1 0 15 15 15
  891. *                                   Now you can make the new table
  892. isave 323 210 603 154 text2
  893. growbox 323 210 603 154
  894. showtext 0 0 3
  895. pause 1 1 1 1 1 1 1 1
  896. **
  897. *                                   You could also select Query - 
  898. notebox 356 368 568 
  899. **
  900. eff.exe a02_416a.gif 74 430 0 1 0 15 15 15
  901. eff.exe a02_416b.gif 524 431 0 1 0 15 15 15
  902. *                                   Access asks you to confirm tha
  903. isave 323 159 603 86 text3
  904. growbox 323 159 603 86
  905. showtext 0 0 4
  906. pause 1 1 1 1 1 1 1 1
  907. **
  908. image memory text3 0 323 159
  909. image memory text2 0 323 210
  910. image memory text1 0 323 273
  911. *
  912. eff.exe a02_417a.gif 2 452 0 1 0 15 15 15
  913. *                                   You can now see the new table 
  914. isave 50 181 276 113 text1
  915. textbox 50 181 276 113
  916. showtext 0 0 3
  917. pause 1 1 1 1 1 1 1 1
  918. **
  919. image memory text1 0 50 181
  920. *
  921.  
  922.  
  923.  
  924. SimScrn 2 7 11
  925. *********************************
  926. eff.exe a02_418.gif 0 459 0 1 0 15 15 15
  927. *                                   An append query adds a group o
  928. isave 404 458 635 390 text1
  929. textbox 404 458 635 390
  930. showtext 0 0 3
  931. pause 1 1 1 1 1 1 1 1
  932. **
  933. eff.exe a02_419a.gif 2 452 0 1 0 15 15 15
  934. *                                   Suppose you have recently adde
  935. isave 404 395 635 322 text2
  936. growbox 404 395 635 322
  937. showtext 0 0 4
  938. pause 1 1 1 1 1 1 1 1
  939. **
  940. eff.exe a02_420a.gif 2 452 0 1 0 15 15 15
  941. *                                   You can use an append query to
  942. isave 404 327 635 254 text3
  943. growbox 404 327 635 254
  944. showtext 0 0 4
  945. pause 1 1 1 1 1 1 1 1
  946. **
  947. image memory text3 0 404 327
  948. image memory text2 0 404 395
  949. image memory text1 0 404 458
  950. *
  951. eff.exe a02_421a.gif 7 403 0 1 0 15 15 15
  952. eff.exe a02_421b.gif 20 367 0 1 0 15 15 15
  953. *                                   Again, it is convenient to con
  954. isave 11 181 310 130 text1
  955. textbox 11 181 310 130
  956. showtext 0 0 2
  957. pause 1 1 1 1 1 1 1 1
  958. **
  959. eff.exe a02_422a.gif 2 452 0 1 0 15 15 15
  960. *                                   You can use the Query Type but
  961. isave 11 135 310 79 text2
  962. growbox 11 135 310 79
  963. showtext 0 0 3
  964. pause 1 1 1 1 1 1 1 1
  965. **
  966. eff.exe a02_423a.gif 74 434 0 1 0 15 15 15
  967. eff.exe a02_423b.gif 140 434 0 1 0 15 15 15
  968. *                                   Now you click OK in the Append
  969. isave 11 84 310 11 text3
  970. growbox 11 84 310 11
  971. showtext 0 0 4
  972. pause 1 1 1 1 1 1 1 1
  973. **
  974. image memory text3 0 11 84
  975. image memory text2 0 11 135
  976. image memory text1 0 11 181
  977. *
  978. qcall AA02q 020402
  979. eff.exe a02_424a.gif 140 431 0 1 0 15 15 15
  980. eff.exe a02_424b.gif 8 206 0 1 0 15 15 15
  981. eff.exe a02_424c.gif 582 206 0 1 0 15 15 15
  982. *                                   Before you run the query you m
  983. isave 375 278 632 193 text1
  984. textbox 375 278 632 193
  985. showtext 0 0 4
  986. pause 1 1 1 1 1 1 1 1
  987. **
  988. eff.exe a02_425a.gif 353 357 0 1 0 15 15 15
  989. eff.exe a02_425b.gif 113 241 0 1 0 15 15 15
  990. *                                   You drag the field you want to
  991. isave 375 198 632 125 text2
  992. growbox 375 198 632 125
  993. showtext 0 0 4
  994. pause 1 1 1 1 1 1 1 1
  995. **
  996. eff.exe a02_426a.gif 258 431 0 1 0 15 15 15
  997. eff.exe a02_426b.gif 24 242 0 1 0 15 15 15
  998. eff.exe a02_426c.gif 542 242 0 1 0 15 15 15
  999. *                                   Then you type the condition(s)
  1000. isave 375 130 632 57 text3
  1001. growbox 375 130 632 57
  1002. showtext 0 0 4
  1003. pause 1 1 1 1 1 1 1 1
  1004. **
  1005. image memory text3 0 375 130
  1006. image memory text2 0 375 198
  1007. image memory text1 0 375 278
  1008. *
  1009. eff.exe a02_427a.gif 2 452 0 1 0 15 15 15
  1010. *                                   You can preview the records th
  1011. isave 375 267 628 199 text1
  1012. textbox 375 267 628 199
  1013. showtext 0 0 3
  1014. pause 1 1 1 1 1 1 1 1
  1015. **
  1016. eff.exe a02_428a.gif 2 459 0 1 0 15 15 15
  1017. *                                   Then you return to Design View
  1018. isave 375 204 628 131 text2
  1019. growbox 375 204 628 131
  1020. showtext 0 0 4
  1021. pause 1 1 1 1 1 1 1 1
  1022. **
  1023. eff.exe a02_429a.gif 102 459 0 1 0 15 15 15
  1024. *                                   You click Yes to confirm that 
  1025. isave 375 136 628 63 text3
  1026. growbox 375 136 628 63
  1027. showtext 0 0 4
  1028. pause 1 1 1 1 1 1 1 1
  1029. **
  1030. image memory text3 0 375 136
  1031. image memory text2 0 375 204
  1032. image memory text1 0 375 267
  1033. *
  1034. eff.exe a02_430a.gif 2 452 0 1 0 15 15 15
  1035. *                                   Then you can return to the Dat
  1036. isave 409 447 627 362 text1
  1037. textbox 409 447 627 362
  1038. showtext 0 0 4
  1039. pause 1 1 1 1 1 1 1 1
  1040. **
  1041. eff.exe a02_431a.gif 2 452 0 1 0 15 15 15
  1042. *                                   The new records have been adde
  1043. isave 409 367 627 311 text2
  1044. growbox 409 367 627 311
  1045. showtext 0 0 3
  1046. pause 1 1 1 1 1 1 1 1
  1047. **
  1048. image memory text2 0 409 367
  1049. image memory text1 0 409 447
  1050. *
  1051.  
  1052. SimScrn 2 8 11
  1053. *********************************
  1054. eff.exe a02_432.gif 0 459 0 1 0 15 15 15
  1055. *                                   Suppose you wish to discontinu
  1056. isave 360 453 631 385 text1
  1057. textbox 360 453 631 385
  1058. showtext 0 0 3
  1059. pause 1 1 1 1 1 1 1 1
  1060. **
  1061. eff.exe a02_433a.gif 250 330 0 1 0 15 15 15
  1062. *                                   You can use a delete query to 
  1063. isave 360 390 631 317 text2
  1064. growbox 360 390 631 317
  1065. showtext 0 0 4
  1066. pause 1 1 1 1 1 1 1 1
  1067. **
  1068. image memory text2 0 360 390
  1069. image memory text1 0 360 453
  1070. *
  1071. eff.exe a02_434a.gif 2 459 0 1 0 15 15 15
  1072. *                                   You begin by creating a select
  1073. isave 321 285 624 217 text1
  1074. textbox 321 285 624 217
  1075. showtext 0 0 3
  1076. pause 1 1 1 1 1 1 1 1
  1077. **
  1078. eff.exe a02_435a.gif 108 459 0 1 0 15 15 15
  1079. eff.exe a02_435b.gif 236 459 0 1 0 15 15 15
  1080. eff.exe a02_435c.gif 74 248 0 1 0 15 15 15
  1081. eff.exe a02_435d.gif 236 248 0 1 0 15 15 15
  1082. *                                   Then you select Delete Query f
  1083. isave 321 222 624 166 text2
  1084. growbox 321 222 624 166
  1085. showtext 0 0 3
  1086. pause 1 1 1 1 1 1 1 1
  1087. **
  1088. eff.exe a02_436a.gif 258 446 0 1 0 15 15 15
  1089. eff.exe a02_436b.gif 30 245 0 1 0 15 15 15
  1090. *                                   Now you insert all the fields 
  1091. isave 321 171 624 115 text3
  1092. growbox 321 171 624 115
  1093. showtext 0 0 3
  1094. pause 1 1 1 1 1 1 1 1
  1095. **
  1096. eff.exe a02_437a.gif 55 430 0 1 0 15 15 15
  1097. eff.exe a02_437b.gif 55 244 0 1 0 15 15 15
  1098. *                                   Access automatically inserts t
  1099. isave 321 120 624 64 text4
  1100. growbox 321 120 624 64
  1101. showtext 0 0 3
  1102. pause 1 1 1 1 1 1 1 1
  1103. **
  1104. image memory text4 0 321 120
  1105. image memory text3 0 321 171
  1106. image memory text2 0 321 222
  1107. image memory text1 0 321 285
  1108. *
  1109. eff.exe a02_438a.gif 55 430 0 1 0 15 15 15
  1110. eff.exe a02_438b.gif 55 244 0 1 0 15 15 15
  1111. *                                   In the design grid you also ne
  1112. isave 347 282 625 214 text1
  1113. textbox 347 282 625 214
  1114. showtext 0 0 3
  1115. pause 1 1 1 1 1 1 1 1
  1116. **
  1117. eff.exe a02_439a.gif 186 328 0 1 0 15 15 15
  1118. *                                   Access inserts the word "Where
  1119. isave 347 219 625 129 text2
  1120. growbox 347 219 625 129
  1121. showtext 0 0 5
  1122. pause 1 1 1 1 1 1 1 1
  1123. **
  1124. eff.exe a02_440a.gif 2 452 0 1 0 15 15 15
  1125. *                                   You can use the Datasheet View
  1126. isave 347 134 625 61 text3
  1127. growbox 347 134 625 61
  1128. showtext 0 0 4
  1129. pause 1 1 1 1 1 1 1 1
  1130. **
  1131. image memory text3 0 347 134
  1132. image memory text2 0 347 219
  1133. image memory text1 0 347 282
  1134. *
  1135. eff.exe a02_441a.gif 2 452 0 1 0 15 15 15
  1136. *                                   When you are satisfied that th
  1137. isave 18 184 278 99 text1
  1138. textbox 18 184 278 99
  1139. showtext 0 0 4
  1140. pause 1 1 1 1 1 1 1 1
  1141. **
  1142. qcall AA02q 020403
  1143. eff.exe a02_442a.gif 163 427 0 1 0 15 15 15
  1144. eff.exe a02_442b.gif 524 431 0 1 0 15 15 15
  1145. *                                   You cannot undo a delete actio
  1146. isave 18 104 278 31 text2
  1147. growbox 18 104 278 31
  1148. showtext 0 0 4
  1149. pause 1 1 1 1 1 1 1 1
  1150. **
  1151. image memory text2 0 18 104
  1152. image memory text1 0 18 184
  1153. *
  1154. eff.exe a02_443a.gif 163 459 0 1 0 15 15 15
  1155. eff.exe a02_443b.gif 524 459 0 1 0 15 15 15
  1156. *                                   If the related table is open w
  1157. isave 364 449 624 381 text1
  1158. textbox 364 449 624 381
  1159. showtext 0 0 3
  1160. pause 1 1 1 1 1 1 1 1
  1161. **
  1162. eff.exe a02_444a.gif 2 459 0 1 0 15 15 15
  1163. *                                   The table now shows where the 
  1164. isave 364 386 624 330 text2
  1165. growbox 364 386 624 330
  1166. showtext 0 0 3
  1167. pause 1 1 1 1 1 1 1 1
  1168. **
  1169. eff.exe a02_445a.gif 2 389 0 1 0 15 15 15
  1170. eff.exe a02_445b.gif 2 41 0 1 0 15 15 15
  1171. *                                   When you next open the table t
  1172. isave 364 335 624 279 text3
  1173. growbox 364 335 624 279
  1174. showtext 0 0 3
  1175. pause 1 1 1 1 1 1 1 1
  1176. **
  1177. image memory text3 0 364 335
  1178. image memory text2 0 364 386
  1179. image memory text1 0 364 449
  1180. *
  1181. qcall AA02q 020404
  1182. eff.exe a02_446a.gif 2 408 0 1 0 15 15 15
  1183. eff.exe a02_446b.gif 2 39 0 1 0 15 15 15
  1184. *                                   However, records meeting the c
  1185. isave 93 186 463 135 text1
  1186. textbox 93 186 463 135
  1187. showtext 0 0 2
  1188. pause 1 1 1 1 1 1 1 1
  1189. **
  1190. eff.exe a02_447a.gif 2 452 0 1 0 15 15 15
  1191. *                                   Access cannot delete records f
  1192. isave 93 140 463 67 text2
  1193. growbox 93 140 463 67
  1194. showtext 0 0 4
  1195. pause 1 1 1 1 1 1 1 1
  1196. **
  1197. eff.exe a02_448a.gif 92 459 0 1 0 15 15 15
  1198. *                                   You take away the selected tab
  1199. isave 93 72 463 16 text3
  1200. growbox 93 72 463 16
  1201. showtext 0 0 3
  1202. pause 1 1 1 1 1 1 1 1
  1203. **
  1204. image memory text3 0 93 72
  1205. image memory text2 0 93 140
  1206. image memory text1 0 93 186
  1207. *
  1208. eff.exe a02_449a.gif 48 459 0 1 0 15 15 15
  1209. eff.exe a02_449b.gif 322 434 0 1 0 15 15 15
  1210. *                                   Now you click the Run button a
  1211. isave 329 320 626 269 text1
  1212. textbox 329 320 626 269
  1213. showtext 0 0 2
  1214. pause 1 1 1 1 1 1 1 1
  1215. **
  1216. *                                   If you run a delete query on a
  1217. notebox 336 247 614 
  1218. **
  1219. eff.exe a02_451a.gif 48 417 0 1 0 15 15 15
  1220. eff.exe a02_451b.gif 524 431 0 1 0 15 15 15
  1221. *                                   You click Yes to proceed when 
  1222. isave 329 274 626 218 text2
  1223. growbox 329 274 626 218
  1224. showtext 0 0 3
  1225. pause 1 1 1 1 1 1 1 1
  1226. **
  1227. eff.exe a02_452a.gif 0 459 0 1 0 15 15 15
  1228. *                                   The Products table (which was 
  1229. isave 329 223 626 150 text3
  1230. growbox 329 223 626 150
  1231. showtext 0 0 4
  1232. pause 1 1 1 1 1 1 1 1
  1233. **
  1234. image memory text3 0 329 223
  1235. image memory text2 0 329 274
  1236. image memory text1 0 329 320
  1237. *
  1238. *          Topic:    Hands-on: Creating and running an update query        Topic No.: 5
  1239. ****
  1240.  
  1241. SimScrn 2 9 11
  1242. *********************************
  1243. MoveCtrl 1 493 426 0
  1244. *                                   Suppose you want to make chang
  1245. isave 19 286 281 201 text1
  1246. textbox 19 286 281 201
  1247. showtext 0 0 4
  1248. pause 1 1 1 1 1 1 1 1
  1249. **
  1250. *                                   For example, the current datab
  1251. isave 19 206 281 116 text2
  1252. growbox 19 206 281 116
  1253. showtext 0 0 5
  1254. pause 1 1 1 1 1 1 1 1
  1255. **
  1256. *
  1257. image memory text2 0 19 206
  1258. image memory text1 0 19 286
  1259. **
  1260. exercise 02 3 120 70
  1261. task 2 0102 280 300 360 4 70 67 35 75
  1262. *
  1263. pause 1 1 1 1 1 1 1 1
  1264. *
  1265. **
  1266. *************************
  1267.  
  1268.  
  1269. SimScrn 2 10 11
  1270. *************************
  1271. task 03 0103 404 320 236 4 70 67 35 75
  1272. *
  1273. pause 1 1 1 1 1 1 1 1 1
  1274. *
  1275. **
  1276. SimScrn 2 11 11
  1277. task 04 0104 404 320 236 4 70 67 35 75
  1278. *
  1279. pause 1 1 1 1 1 1 1 1 1
  1280. **
  1281.  
  1282.