
|
Book Home Page Bloglines 1906 CelebrateStadium 2006 OfficeZealot Scobleizer TechRepublic AskWoody SpyJournal Computers Software Microsoft Windows Excel FrontPage PowerPoint Outlook Word Host your Web site with PureHost! |
![]() Sunday, April 13, 2008 – Permalink – Canada/US Postal CodesAutomatic Input masksIf you have a mix of Canadian and US postal codes, you might play with the following code inserted as a Country control "After Update" Event property.
See: Trinity University - San Antonio, Texas: <Doug Klippert@ 5:57 AM
Comments:
Post a Comment
Thursday, March 27, 2008 – Permalink – Entry CheckerA second chanceUnlike Word or Excel, Access does not warn you when data is changed. Unless you make a structural or code change, Access thinks you know what you want to know and allows you to enter or change data and the close the application without a squeak. There is a way around this: "In Microsoft Office Access 2007, by default, users are not prompted to confirm changes after modifying and saving records on a form. But often you might want to prompt users to confirm their changes before the record is saved. User Prompts (with a video) See all Topics access Labels: Macros, Properties, Tutorials <Doug Klippert@ 7:33 AM
Comments:
Post a Comment
Saturday, February 09, 2008 – Permalink – Display the Current Record NumberWithout navigationYou may want to remove the navigation buttons from an Access form but still display the current record number. Not the ID or serial number, but the record number that would appear in the navigation box.
<Doug Klippert@ 7:09 AM
Comments:
Post a Comment
Saturday, January 19, 2008 – Permalink – Convert Access Macros to VBAMacros to Modules
In 2007 go to Database Tools and look in the Macros group. <Doug Klippert@ 7:05 AM
Comments:
Post a Comment
Tuesday, July 17, 2007 – Permalink – Flag Access ControlsTag PropertyThe TAG property allows you to associate up to 2,084 characters of text with any form, report, section, or control. This is especially helpful when you want to single out a specific subset of controls. For instance, say that you want to hide certain controls on a form when a user clicks a button. You can flag which controls will be hidden by entering the word "Hide" (or any other consistent word) in each control's Tag property. Then, attach the following code to the command button's Click event procedure: Dim ctl As Control ![]() See all Topics access Labels: Macros, Properties, VBA <Doug Klippert@ 6:42 AM
Comments:
Post a Comment
Friday, May 18, 2007 – Permalink – Highlight the Current ControlCode vs. property
Access allows you to do this with conditional formatting, but you can also get a similar result using code.
Function Highlight(Stat As String) As Integer
Click the Code button and insert Highlight("GotFocus")in each textbox control's GotFocus event procedure. Likewise, add Highlight("LostFocus")to each textbox's LostFocus event procedure. When you've finished,save the changes, close the VBE, and switch to Form view.
<Doug Klippert@ 6:14 AM
Comments:
Post a Comment
Monday, April 16, 2007 – Permalink – Time IntervalRun code at timed intervals
Labels: Macros, Properties <Doug Klippert@ 6:10 AM
Comments:
Post a Comment
Saturday, March 31, 2007 – Permalink – Comment CodeEdit toolbar
<Doug Klippert@ 7:05 AM
Comments:
Post a Comment
|