home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / oracle / 2733 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.9 KB  |  41 lines

  1. Newsgroups: comp.databases.oracle
  2. Path: sparky!uunet!wupost!csus.edu!netcom.com!sjs
  3. From: sjs@netcom.com (Stephen Schow)
  4. Subject: Re: How to keep version number inside *.frm ?
  5. Message-ID: <1993Jan8.190021.22517@netcom.com>
  6. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  7. References: <dtb.726463767@otto>
  8. Date: Fri, 8 Jan 1993 19:00:21 GMT
  9. Lines: 30
  10.  
  11. I use RCS also.  You can simply put the RCS string in the form comment field
  12. or in the inp file as a variable assignment.  I had not thought of putting
  13. it in the TITLE field.  This would possibly have the effect of putting 
  14. a cryptic looking title just below the menu bar when you run the form in
  15. popup mode or one of the GUI platforms.
  16.  
  17. I put $Revision$ and $Source$ in the comment field of the form and then
  18. I also use a header block which include several display only fields, such
  19. as UserID, Date, Version, etc...
  20.  
  21. By assiging a global variable the RCS string, and then running a PL/SQL
  22. procedure that extracts just the wanted portion of that RCS string and putting
  23. that into the header block display only field.  What you end up with is 
  24. a nice little "Version X.XX" at the top of the screen.
  25.  
  26. I'm not really sure how it looks in the frm file.  WHen you check the inp
  27. file in and out of RCS, it updates the RCS strings and then you must
  28. generate that inp file to create and frm file.  I suppose it is possible
  29. that it retains the string format enough that you could use the equivlent
  30. of 'what' on the frm.  (RCS doesn't use 'what', it uses something else
  31. that I can't remember its name right now).
  32.  
  33. Hope this helped
  34. -- 
  35. ------------------------------------------------------------------
  36. Steve Schow    | But you don't have to use the claw, if you
  37. sjs@netcom.com | pick the pear with the big paw paw......
  38. (415) 354-4908 | Have I given you a clue......?
  39.                |                       - Baloo the Bear
  40. ------------------------------------------------------------------
  41.