• Skip to main content
  • Skip to primary sidebar

Ryan McCormick

Microsoft Access

How to Count Records in VBA | Microsoft Access 2010

August 22, 2013 by Ryan 3 Comments

In a recent program that I wrote, I needed to store a count of records from a query in a variable. Since VBA and Access isn't as intuitive as say connecting to a MySQL database with PHP, I thought I would share. Function recordCount() Dim rs As DAO.Recordset Dim db As Database Dim strSQL As String Set db = CurrentDb 'Count Query - replace query with your … [Read more...] about How to Count Records in VBA | Microsoft Access 2010

What is the difference between LEFT, RIGHT, INNER and OUTER JOIN?

June 27, 2013 by Ryan Leave a Comment

I have been working with a lot of SQL lately. I wouldn't label myself an expert, but I have been finding my way around a lot easier the more I work with it. I have been working a lot with normalizing data and writing queries that reference multiple tables. When referencing multiple tables, it is common to write a join. Here is a very small overview that explains the difference … [Read more...] about What is the difference between LEFT, RIGHT, INNER and OUTER JOIN?

SQL QUERY | Sum Values by Group in Access 2010

June 13, 2013 by Ryan Leave a Comment

I have been working with Access a lot lately. In my last project I was working with a table that contained 1.4 million records with count values by US States. I needed run a graph based on the sum of values for each state. My original table looked like this: Table: States   State Value MN 54 MN 62 IL 76 MN 34 CA 48 MN 62 IL 4 And so on... All of the way … [Read more...] about SQL QUERY | Sum Values by Group in Access 2010

« Previous Page

Primary Sidebar

Recent Posts

  • Force Quit Kill all Chrome Windows MacOS
  • SOLVED: Angular 6 CLI Karma Stuck in Single Run | Karma Stops Running
  • How to Manually Install Java 8 on Ubuntu 18.04 LTS
  • Remove VirtualBox from Ubuntu 16.04 Xenial
  • Clear all Node Modules Folders Recursively Mac/Linux

Recent Comments

  1. KKV on Webstorm adding spaces between imports and braces | JavaScript and TypeScript
  2. jusopi on Clear all Node Modules Folders Recursively Mac/Linux
  3. Qaisar Irfan on Clear all Node Modules Folders Recursively Mac/Linux
  4. mustafa on Remove VirtualBox from Ubuntu 16.04 Xenial
  5. Pourya on How to Manually Install Java 8 on Ubuntu 18.04 LTS

Copyright © 2025 · Magazine Pro on Genesis Framework · WordPress · Log in