Access 2007-2013
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
 
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  
 

News      User Comments     History     Notify Me

1/1/2008 3:13:00 AM
Microsoft Access 313
By Richard Rost   Richard Rost on Facebook Richard Rost on Twitter Richard Rost on Google Plus Richard Rost on LinkedIn Email Richard Rost

 
Access 313 covers making a Product Category table and form; a Master Form that shows all of the categories - you click on a category to show all of the products in that category on a second subform - then you click on the product to show the product details in a third subform; making a product category combo box on the order form that will filter the long list of products and automatically open it for us; automatic zoom into a field using VBA code; how to create a macro and then convert the macro to VBA code; how to hide specific items from your invoices so customers can't see them (if you need to add items for job costing); finally we'll split the database and go into database sharing in more detail.

Permanent Link
Course Link: Microsoft Access 313
Keywords: access
Post Reply

Access 314 Comment from Relja K @ 1/24/2013
Great! So I need to get along with record sets next couple of months!


Reply from Richard Rost:

Yeah, it's not JUST recordsets. That's the main focus, but we build an order entry / invoicing system that's really cool. Lots of new techniques covered in it.
Show Just This Thread        Post Reply
Access 314 Comment from Relja Koprolcec @ 1/24/2013
Hey,I have just finisher 313 class and am ready for 314.Let me know if you already produced the alleged lesson.Regards Relja


Reply from Richard Rost:

Nope. There is no 314. The next lesson in the series would be 320.
Show Just This Thread        Post Reply
Comment from Richard Rost @ 12/14/2009
Terry, your code looks fine. I'd have to see your database to tell you for sure why it's not working. You might want to try putting the full name of the EmployeeID in the code to...

...WHERE EmployeeID=" & Forms!MyForm!EmployeeID

If that doesn't work, let me know.

Or... is your listbox lstEmployees the field that contains your EmployeeID? If so, you need to say:

...WHERE EmployeeID=" & Forms!MyForm!lstEmployees

I'll bet that's it... unless EmployeeID is a separate field on that form.
Show Just This Thread        Post Reply
Comment from Terry Hopper @ 12/4/2009
I have been working with this for weeks (11/14/09) and it still doesn't work. I have a EmployeeList box with EmployeeID, Active, FName & LName. The code is...

Private Sub lstEmployees_AfterUpdate()

    On Error Resume Next
    
    Forms!frmEmployeeCenter!sfrmEmployeeContact.Form.RecordSource = _
        "SELECT * FROM qryEmployees WHERE EmployeeID=" & EmployeeID
    
End Sub

And I can't seem to figure it out. I have watched the video at least a half a dozen times and tried all different names for the fields to update.
Please help.
Show Just This Thread        Post Reply
Comment from Richard Rost @ 11/19/2009
Terry, I don't understand your question. Do you mean the SHIFT-F2 Zoom feature? Yes, you can control that with a button. There is a VBA command for it: DoCmd.RunCommand acCmdZoomBox
Show Just This Thread        Post Reply
Comment from Terry Hopper @ 11/18/2009
Regarding the Zoom property. Can you make a button to Zoom into a field like notes but use the button as an option?
Show Just This Thread        Post Reply
Comment from Richard Rost @ 11/13/2009
That should work. Make sure everything (form, fields, etc.) is spelled right. Aside from that, I'd have to look at your database to tell you for sure.
Show Just This Thread        Post Reply
Comment from Terry Hopper @ 11/11/2009
That is what I thought, but it's not working.
Here is my code...
Forms!CustomerCenterF!CompanyInformationF.Form.RecordSource = "SELECT * FROM CompanyT WHERE CompanyID=" & CompanyID

What am I not getting?
I have the company list with the id hidden (0") and I am referencing the form by name & property of that form. Sorry, just don't get it.
Show Just This Thread        Post Reply
Comment from Richard Rost @ 11/11/2009
Terry, sure. You would just need to use an AfterUpdate event for the list box, and refer to the list box value.
Show Just This Thread        Post Reply
Comment from Terry Hopper @ 11/10/2009
When controlling a form from a form, can this be done with a list box as well? I would like to use a list box in place of the 'ProductCatagoryF' but have the same effect on the 'ProductListF'.
Show Just This Thread        Post Reply
Comment from Richard @ 11/5/2009
Here is some information from Microsoft's web site on the benefits of splitting your database:

Benefits of a split database

The benefits of a split database include the following:

* Improved performance The performance of the database usually improves significantly because only the data is sent across the network. In a shared database that is not split, the database objects themselves — tables, queries, forms, reports, macros and modules — are sent across the network, not just the data.

* Greater availability Because only the data is sent across the network, database transactions such as record edits are completed more quickly, which leaves the data more available to edit.

* Enhanced security If you store the back-end database on a computer that uses the NTFS file system, you can use NTFS security features to help protect your data. Because users access the back-end database by using linked tables, it is less likely that intruders can obtain unauthorized access to the data by stealing the front-end database or by posing as an authorized user. By default, Windows XP, Windows Vista, and Windows Server 2003 use the NTFS file system. If you are not sure what file system your file server uses, ask the system administrator. If you have administrator privileges on the file server, you can run the msinfo32 command to determine the file system yourself.

How do I use msinfo32 to check the file system?
1. Click the Start button, and then click Run.
2. In the Run dialog box, type msinfo32 and then click OK.
3. Under System Summary, click the plus symbol next to Components.
4. Under Components, click the plus symbol next to Storage, and then click Drives. The dialog box displays information about the available drives in the panel on the right.

* Improved reliability If a user encounters a problem and the database closes unexpectedly, any database file corruption is usually limited to the copy of the front-end database that the user had open. Because the user only accesses data in the back-end database by using linked tables, the back-end database file is much less likely to become corrupted.

* Flexible development environment Because each user works with a local copy of the front-end database, each user can independently develop queries, forms, reports, and other database objects without affecting other users. Similarly, you can develop and distribute a new version of the front-end database without disrupting access to the data that is stored in the back-end database.
Show Just This Thread        Post Reply
Comment from Richard Rost @ 3/6/2009
Currency format in a combo box: The easiest thing to do is to format your field as CURRENCY type in a query and then use that query to feed your combo box. Or you can use the Format function to manually force it to Currency.
Show Just This Thread        Post Reply
Comment from   @ 3/5/2009
Your lessons are very helpful for me,a beginner.
Currecy$ is shown in UnitPrice of ProductCombo. How can I apply currency to a field in Combobox.
Thank you.
Show Just This Thread        Post Reply
Comment from Richard Rost @ 9/17/2008
Twila, what you need is AUTOMATION. It's a way of controling one MS Office application from another. You can use Automation, for example, to open a Word document and print it from your Access database, or open Outlook and send an email. YES, I will be covering Automation in a future class.
Show Just This Thread        Post Reply
Comment from  Twila Mitchell @ 9/16/2008
What I really need is an easy way to print out a word document from vba.  For instance, I have a policy that is over 60 pages long.  Only page 1 and page 4 have information needed from my database so I would like to make a button that prints a report that is page 1 then will print a word document which will give me pages 2 and 3.  Then I will print a report that is page 4 and finally, I will print a different word document that gives me pages 5 through the end.  

I can't find information anywhere that helps me.  Can we include this in a future class?
Show Just This Thread        Post Reply

Add Your Comments or Subscribe
 
If you just want to subscribe to get email updates when the News is updated, then enter your name and email address and check the Notify Me box below. If you would optionally like to add your comments below to be posted, they are welcome.
 
  Your Name:  Required
  Your Email:  NOT Public
  Subject:
  Comments:

 

Sorry about this step. It's just to keep the spam bots away:
  Verify: What is 8+2:
  
  Notify me when the News is updated.
  Remember Me for my next comments
  
 
 
Please do not use this form for Customer Service inquiries! If you have questions about your account, shipping info, courses you've ordered, need passwords, etc. please use the Customer Service Center instead.

I value your comments. They will be displayed on this page (above). Your name will be displayed, but your email address will not be.
As always, I promise to never give away your personal information to anyone else, ever.

NOTE: If you don't leave your name and email address, DON'T expect a reply. I can't promise a personal reply to everyone who posts here. I TRY my best, but I cannot guarantee it. If you don't leave your real name and email address, I won't even bother. I usually just hit DELETE. -Richard

 

 

You may want to read these articles from the 599CD News:

10/22/2014Export an Access SQL Statement Data
10/20/2014Access Tip: Switch Function
10/20/2014SWFL Access Developers Meetup Group
10/17/2014Access: Four Employees Per Event
10/14/2014Putting Access Databases on the Web
9/21/2014Microsoft Access Expert 25
9/20/2014Access 25 Just About Finished
8/2/2014What Access Topics Do YOU Want?
7/16/2014Microsoft Access Expert 24
7/15/2014Access 24 Finished
 

Learn
 
Accessindex
Excelindex
Wordindex
Windowsindex
PowerPointindex
Photoshopindex
Visual Basicindex
ASPindex
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Free Upgrades
Insider Circle
Student Databases
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Articles
Search Our Site
Waiting List
Production Schedule
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About Us
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Gift CDs
Contact
 
Live Chat
General Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

Google Plus    LinkedIn

Blog RSS Feed    YouTube Channel
Richard Rost Microsoft MVP