home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / s / sbt25gl.zip / ZIPGLC01.EXE / GLTYPE._XP (.txt) < prev    next >
MS Visual FoxPro App  |  1993-02-11  |  29KB  |  556 lines

  1. GLRANG01
  2. F$Fb/
  3. a_gltype
  4. FILTERz
  5. MAINTAIN
  6. a_gltype//
  7. gllow
  8. gllow
  9. lw_gltype
  10. gltype.spr
  11. Enter Account Type, <F2> to list, or <Esc> to Quit
  12. a_gltype,
  13. gltype.spr
  14. a_gltype,
  15. gltype.spr
  16. gltype.spr
  17. Enter data for Account Type 
  18. gltype.spr
  19. Account Typese
  20. Edit data for Account Type 
  21. gltype.spr
  22. Account Types/
  23. New account is outside range.  Do you want
  24. to edit or cancel?
  25. Cancel
  26. \<Edit
  27. \<Cancel
  28. Edit this type
  29. Cancel changes to this type
  30. Lower limit must be less than upper limit.
  31. Lower limit can't be less than 1.8
  32. ECFFF
  33. \<Edit
  34. \<Cancel
  35. Edit this type
  36. Cancel changes to this type
  37. Limits overlap type 
  38. ECFFF
  39. gltype.spr
  40. \<Save
  41. \<Edit
  42. \<Cancel
  43. Save changes to this type
  44. Edit this type
  45. Cancel changes to this type
  46. VECFFF
  47. \<Select
  48. \<Edit
  49. \<Fwd
  50. \<Back
  51. \<Delete
  52. E\<xit
  53. Select another type
  54. Edit this type
  55. Move to Next type
  56. Move to Prior type
  57. Delete this type
  58. Return to GL menu
  59. SEFBDXFFF
  60. \<Save
  61. \<Edit
  62. \<Cancel
  63. Save changes to this type
  64. Edit this type
  65. Cancel changes to this type
  66. VECFFF
  67. \<Select
  68. \<Edit
  69. \<Fwd
  70. \<Back
  71. \<Delete
  72. E\<xit
  73. Select another type
  74. Edit this type
  75. Move to Next type
  76. Move to Prior type
  77. Delete this type
  78. Return to GL menu
  79. SERFBDXFFF
  80. \<Select
  81. \<Edit
  82. \<Ranges
  83. \<Fwd
  84. \<Back
  85. \<Delete
  86. E\<xit
  87. Select another type
  88. Edit this type
  89. Edit and adjust ranges
  90. Move to Next type
  91. Move to Prior type
  92. Delete this type
  93. Return to GL menu
  94. SERFBDXFFF
  95. \<Save
  96. \<Edit
  97. \<Cancel
  98. Save changes to this type
  99. Edit this type
  100. Cancel changes to this type
  101. VECFFF
  102. Accounts exist with this account type.
  103. Delete this account type?
  104. Delete
  105. Delete Cancelled
  106. Account Typese
  107. Account Types/
  108. a_gltype,
  109. a_gltype,
  110. Account Type Deleted
  111. gltype.spr
  112. a_gltype,
  113. gltype.spr
  114. FILTERz
  115. a_gltype5
  116. a_gltype
  117. Account Types
  118. gllow
  119. SET FILTER TO &lc_oldfilt
  120. a_gltype,
  121. a_gltype,
  122. End of File.
  123. Beginning of File.
  124. Accounts with this Account Type lie 
  125. outside these limits.
  126. Update cancelled.
  127. a_gltype,
  128. Updating Account Type File
  129. a_gltype5
  130. a_gltype
  131. Account Type F
  132.  has been added
  133. by another user.
  134. a_gltypeV
  135. a_gltype
  136. a_gltype,
  137. a_gltype,
  138. lw_gltype
  139. SET FILTER TO &lc_oldfilt
  140. LL_LOOKUP
  141. LC_TASK
  142. GN_TRACE
  143. TE_TRACE
  144. LC_TYPE
  145. LC_DESC
  146. LC_LTYPE
  147. LC_STYPE
  148. ELL_CONT
  149. LL_FIRST
  150. FLL_NEW
  151. LL_SELECT
  152. LL_EDIT
  153. LC_XTYPE
  154. LL_PICKED
  155. LN_REC
  156. NTFLN_PADNUMBLN_OPNFLTYLC_OLDFILTLL_NEWED
  157. FLN_READKEYLN_XPADNO
  158. LL_RANGNEWLC_TYPMSK
  159. LC_CHOICE
  160. LC_SEGMSK
  161. LC_OLDLOW
  162. LC_OLDUPP
  163. LC_OLDCLR
  164. LL_DUPTYPELN_ESCREADLL_GLRANG
  165. GM_MAIN
  166. TGA_SEGMSK
  167. U_CHKPV
  168. GC_USERID
  169. GC_COMPID
  170. A_GLTYPE
  171. TGU_MANT
  172. LTG_OPNFL
  173. TYGF_GLTYPEFGLLOW
  174. LW_GLTYPE
  175. G_PNTBG
  176. GS_219
  177. GLTYPE
  178. GLDESC
  179. TLTYPEHD
  180. STYPEHD
  181. LC_UPP
  182. TERGA_SEGLEN
  183. LC_LOW
  184. NTGC_ADRVPRGG_DSPST
  185. GN_MSGLINEGLUPP
  186. DG_LCKOB
  187. GN_RETRY
  188. MACCOUNT
  189. LN_RESP
  190. G_GETDLG
  191. GC_OSEOL
  192. FLA_PAD
  193. LA_PRMPT
  194. FG_DSPCH
  195. GK_ESC
  196. NTFLC_MSG
  197. G_DSPALT
  198. FG_GETCH
  199. GC_TASK
  200. LC_ERRMSG
  201. A_GLACNT
  202. G_LCKFL
  203. TL_GLRANG
  204. GLACNT
  205. LL_LOCK
  206. ADDUSER
  207. EADDDATE
  208. ADDTIME
  209. LN_RECNO
  210. OOKUP
  211. G_LCKRC
  212. TYPE("ln_type")   = "N"
  213. TYPE("lc_field")  = "C"
  214. TYPE("lc_keyvar") = "C"
  215. TYPE("lc_file")   = "C"
  216. TYPE("lc_title")  = "C"
  217. a_gltype,
  218.  not found: 
  219. a_gltype,
  220. Reenter
  221. Reenter
  222. Reenter
  223. gltype
  224. gllow
  225. a_gltype,
  226. a_gltype,
  227. No records found.
  228. ENTER
  229. KEYBOARD CHR(gk_ctlend) PLAIN
  230. RIGHTMOUSE
  231. KEYBOARD CHR(gk_ctlend) PLAIN
  232. lc_keyvar  = IIF(ln_readkey <> 12, &lc_field., "")
  233. ENTER
  234. RIGHTMOUSE
  235. LN_TYPE
  236. LC_FIELD
  237. LC_KEYVAR
  238. LC_FILE
  239. LC_TITLE
  240. GN_TRACE
  241. E_TRACE
  242. GL_ASSERT
  243. E_ASSRT
  244. LL_DONE
  245. FLL_HOTKEY
  246. LC_XKEYVARL_BRWTYP
  247. LN_RECNO
  248. RA_GLTYPE
  249. GLTYPE
  250. NTFLC_MSG
  251. LN_RESP
  252. G_GETDLG
  253. TGLLOW
  254. LC_OLDLOW
  255. GA_SEGLEN
  256. LC_OLDUPP
  257. LL_NEW
  258. G_DSPALT
  259. ENTER
  260. YVARRIGHTMOUSELL_ASSERT
  261. LN_TRACE
  262. LC_LOGFILEGC_LOGFILEGL_HOTKEY
  263. L_BROWSER
  264. LN_READKEYW_MSEL
  265. GLTYPE
  266. BROWSE FREEZE gltype  FIELDS gltype :4  :H="Type",  gldesc &lc_desclen :H="Description",  gllow  &lc_acctlen  :H="From",  glupp  &lc_acctlen  :H="To"  WHEN l_reftyp()  NOMENU  NOEDIT  NOAPPEND  NODELETE  WINDOW w_msel  TITLE "Select Account Type"  COLOR SCHEME 10
  267. LC_ACCTLENLC_DESCLENLN_DESCLENGA_SEGLEN
  268. LC_FILE
  269. ENW_MSEL
  270. ALECSTIXY?
  271. 1234567890 
  272. 1234567890 
  273. You entered an invalid Account Type!
  274. Valid Account Type Code format:
  275. First Character:  A - Asset             L - Liability
  276.                   E - Equity            S - Sales
  277.                   C - Cost of Sales     X - Expenses
  278.                   I - Other Income      T - Taxes
  279.                   Y - Statistical
  280. Second Character: 0 - 9 
  281. Third  Character: 0 - 9 
  282.  already exists. Reenter a new type!
  283. gltype
  284. gllow
  285. ALESCXITY
  286. gltype
  287. gllow
  288. gltype
  289. GLTYPE
  290. Account Type
  291. gltype
  292. gllow
  293. Account type exists.
  294. GN_TRACE
  295. NE_TRACE
  296. ENLL_RETURN
  297. LC_CHAR2
  298. LC_CHAR3
  299. NLL_CONT
  300. LN_ESCREADLC_TYPE
  301. G_DSPBX
  302. LL_RANGNEWGLTYPE
  303. G_DSPALT
  304. RA_GLTYPE
  305. GLLOW
  306. RLL_LOOKUP
  307. LL_PICKED
  308. LC_XTYPE
  309. L_BRWTYP
  310. LL_NEW
  311. LC_DESC
  312. GLDESC
  313. LC_LTYPE
  314. LTYPEHD
  315. LC_STYPE
  316. STYPEHD
  317. LC_UPP
  318. VARGLUPP
  319. ELC_LOW
  320. GA_SEGLEN
  321. LC_SEGMSK
  322. GN_TRACE
  323. NE_TRACE
  324. ENLC_TYPE
  325. A_GLTYPE
  326. GLTYPE
  327. NLC_DESC
  328. GLDESC
  329. DLC_LTYPE
  330. LTYPEHD
  331. LC_STYPE
  332. WSTYPEHD
  333. LC_UPP
  334. RGLUPP
  335. LC_LOW
  336. RGLLOW
  337. GN_TRACE
  338. NE_TRACE
  339. ENLC_TYPE
  340. LC_LOW
  341. GA_SEGLEN
  342. LC_UPP
  343. GLRANGE
  344. Setting up Temporary File
  345. a_gltype
  346. a_gltype//
  347. There are no Account Ranges on file.
  348. a_gltype
  349. Account Ranges
  350. Edit Ranges, <F10> add type, 
  351. <Ctrl-End> saves, <Esc> cancels
  352. DO l_addnew
  353. BROWSE FIELDS gltype   :P="!99" :R :4 :H="Type" :w=.f.,  category = IIF(LEFT(a_tmpf3->gltype,1)="A", "Asset        ",  IIF(LEFT(a_tmpf3->gltype,1)="E", "Equity       ",  IIF(LEFT(a_tmpf3->gltype,1)="C", "Cost of Sales",  IIF(LEFT(a_tmpf3->gltype,1)="I", "Other Income ",  IIF(LEFT(a_tmpf3->gltype,1)="Y", "Statistical  ",  IIF(LEFT(a_tmpf3->gltype,1)="L", "Liability    ",  IIF(LEFT(a_tmpf3->gltype,1)="S", "Sales        ",  IIF(LEFT(a_tmpf3->gltype,1)="X", "Expenses     ",  IIF(LEFT(a_tmpf3->gltype,1)="T", "Taxes        ",  ""))))))))) :13 :W=.f.,  gldesc   &lc_desclen :H="Description" :w=.f. :R, gllow    &lc_acctlen  :P=lc_segmsk  :W=IIF(RIGHT(gltype,2)="00",.f.,.t.)  :E="Reenter lower end of Range"  :H="Lower",  glupp    &lc_acctlen  :P=lc_segmsk  :W=IIF(RIGHT(gltype,2)="00",.f.,.t.)  :E="Reenter upper end of Range"  :H="Upper"  VALID l_valrng()  TITLE "Modify Account Ranges"  NODELETE  NOMENU  NOAPPEND  WINDOW lw_brwrng
  354. DO g_stfqs
  355. Checking Account File against modified Types...
  356. Please wait...
  357. NEARz
  358. Account F
  359.  not found 
  360. in modified Types 
  361. which would cause this account to be without 
  362. an Account Type.
  363. Resume checking for errors, 
  364. edit, or cancel changes?
  365. Resume
  366. Cancel
  367. Asset
  368. Equity
  369. Cost of Sales
  370. Other Income
  371. Statistical
  372. Liability
  373. Sales
  374. Expenses
  375. Taxes
  376. 888888888
  377. Asset
  378. Equity
  379. Cost of Sales
  380. Other Income
  381. Statistical
  382. Liability
  383. Sales
  384. Expenses
  385. Taxes
  386. 888888888
  387. Attempt to change Account F
  388.  from 
  389.  is not allowed.
  390. Resume checking for errors, 
  391. edit, or cancel changes?
  392. Resume
  393. Cancel
  394. Changes in Ranges require 
  395.  an update of Accounts
  396.  in the Chart of Accounts file.  Proceed 
  397. with Update?
  398. Proceed
  399. Cancel
  400. Updating Account Type File
  401. gltype
  402. a_gltype0
  403. Updating Account File
  404. NEARz
  405. a_glacntV
  406. a_glacnt
  407. Accounts exist outside selected ranges.
  408. No changes will be saved.
  409. a_glacnt//
  410. glacnt
  411. a_tmpf3
  412. GN_TRACE
  413. NE_TRACE
  414. ENLN_ERROR
  415. LA_TYPE
  416. LC_UPTYPE
  417. LN_COUNT
  418. LC_ACCTLENLC_DESCLENLN_DESCLENLC_SEGMSK
  419. LC_OLDTYPELC_NEWTYPELC_HELPID
  420. LL_RNGCONTLL_LOOP
  421. G_DSPCH
  422. LW_GLTYPE
  423. GC_HELPID
  424. LL_RANGNEWGA_SEGMSK
  425. G_DSPST
  426. GN_MSGLINEA_GLACNT
  427. G_OPNFL
  428. GF_GLTYPEFA_GLTYPE
  429. RGLTYPE
  430. EGC_APPLID
  431. GC_COMPID
  432. GC_USERID
  433. G_DSPALT
  434. GC_ADRVDBFGC_TMPF3
  435. A_TMPF3
  436. FGLUPP
  437. USEGC_ADRVNDXGC_EXTNDX
  438. MACTFIX
  439. TLN_TOPROW
  440. GA_SEGLEN
  441. LW_BRWRNG
  442. MSGLINEF10
  443. LTYPE
  444. LL_ASSERT
  445. GL_ASSERT
  446. LN_TRACE
  447. LC_LOGFILEGC_LOGFILELL_HOTKEY
  448. GL_HOTKEY
  449. LN_READKEYLN_ESCREADLC_NEAR
  450. NEMACNT
  451. GLACNT
  452. EMTYPE
  453. DGLLOW
  454. LC_MSG
  455. GC_OSEOL
  456. LN_RESP
  457. G_GETDLG
  458. GCONTGC_TASK
  459. G_LCKRC
  460. GF_GLACNTFGC_EXTDBF
  461. FFFFF
  462. Lower limit must be less than upper limit 
  463. on Account Type 
  464. Lower
  465. Upper8
  466.  limit can't be 
  467. less than 1 on Account Type 
  468. FFFFF
  469. Upper limit may not be greater than FFFF
  470. Ranges for Type 
  471.  intersect with Type 
  472. Ranges for Type 
  473.  intersect with Type 
  474. GN_TRACE
  475. NE_TRACE
  476. ENLL_RETURN
  477. LC_MSG
  478. LN_LOW
  479. LN_UPP
  480. LC_TYPE
  481. ENLN_LASTUPPLN_NEXTLOWLC_LASTTYPLC_NEXTTYPLL_EOF
  482. YPELL_BOF
  483. A_TMPF3
  484. GLLOW
  485. GLUPP
  486. GLTYPE
  487. GA_SEGLEN
  488. GK_ESC
  489. TYPGA_SEGMSK
  490. G_DSPALT
  491. @! A99
  492. Enter New Account Type, or blank to return to range edit
  493. gltype.spr
  494. Lower limit must be less than upper limit.
  495. Lower limit can't be less than 1.8
  496. Reenter lower range!
  497. Special Type 00 has no range. 
  498. Reenter a type with a range!
  499. The range you entered overlaps with type 
  500. . Reenter range!
  501. \<Save
  502. \<Edit
  503. \<Cancel
  504. Save changes to this type
  505. Edit this type
  506. Cancel changes to this type
  507. VECFFF
  508. Modify Account Ranges
  509. Edit Ranges, <F10> add type, 
  510. <Ctrl-End> saves, <Esc> cancels
  511. GN_TRACE
  512. NE_TRACE
  513. ENLN_READKEYLC_SEL
  514. LN_XREC
  515. LC_XTYPMSKLC_TYPE
  516. ENA_GLTYPE
  517. PGLTYPE
  518. LOWLC_DESC
  519. YPGLDESC
  520. PLC_LTYPE
  521. ELTYPEHD
  522. LC_STYPE
  523. STYPEHD
  524. LC_UPP
  525. GA_SEGLEN
  526. LC_LOW
  527. LC_TYPMSK
  528. G_DSPST
  529. GN_MSGLINELW_GLTYPE
  530. LL_SELECT
  531. LL_NEWED
  532. GC_ADRVPRGLN_ESCREADLC_MSG
  533. EG_DSPALT
  534. GLLOW
  535. GLUPP
  536. LA_PAD
  537. LA_PRMPT
  538. FLN_XPADNO
  539. GK_ESC
  540. FG_GETCH
  541. SEADDUSER
  542. GC_USERID
  543. ADDDATE
  544. TADDTIME
  545. L_BRWTYP
  546. L_BROWSER
  547. L_VTYPE
  548. L_REFTYP
  549. L_WLOW
  550. L_GLRANG
  551. L_VALRNG
  552. L_ADDNEW
  553. C:\GLDISK\
  554. C:\GLDISK\GLTYPE.PRG
  555. GLTYPE.FXP
  556.