home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / access / diverses / sbfrmf / readme.txt next >
Text File  |  1995-02-26  |  2KB  |  32 lines

  1. *****************************************************************************
  2. Charles Kangai
  3. Blueneck Computer Training & Consulting Services
  4. 9 Chandos Road
  5. Redland
  6. Bristol
  7. UK
  8.  
  9. Compuserve: 100424,1710 Internet: ckangai@blueneck.demon.co.uk
  10. *****************************************************************************
  11.  
  12. At the end of last week, I posted some code in a file called SBFRMFND.TXT.  
  13. The code enables one to perform subform searches of a main form record. To 
  14. my amazement, by Monday morning, British time, myfile had been accessed 
  15. by 174 users of the forum. By contrast, the much more important security 
  16. workaround which Microsoft posted at about the same time to close a major 
  17. Access  security hole had only been accessed by 37 users!
  18.  
  19. Overwhelmed by this response, I have now posted a fuller version of the file, 
  20. SBFRMFND.ZIP, which enables follow-up searches to find the Next and Previous 
  21. record, by using "/" and "\", respectively, as the values being searched for. 
  22. Instead of the "/" and "\" tokens, one can use simple menu options. 
  23.  
  24. Lastly, as a professional trainer and developer, I can't help pointing out to
  25. users two important points about the code: the use of IsEmpty rather than
  26. IsNull, and the use of Static to declare variables. IsEmpty is to variants as
  27. 0 is to numbers or "" is to strings. On declaring the variants OrgID and ContId
  28. variables, they are initialised as Empty. Static enables Access to remember
  29. values between executions of the procedure.
  30.  
  31. Any comments can be posted to me at my Compuserve address: 100424,1710 or by
  32. fax at: 44-117-923 8172 (if outside UK) or 0117-923 8172 (if within UK)