' create household select
strHhldQuery = "SELECT "
strHhldQuery = strHhldQuery & "tblHouseholds.nIdentity,tblHouseholds.nHouseholdNumber,tblHouseholds.nIndividualNumber,tblHouseholds.nCurrentStatus,"
strHhldQuery = strHhldQuery & "tblHouseholds.tCurrentState,tblHouseholds.nReasonInactive,tblHouseholds.dtDateJoined,tblHouseholds.tInvoiceMonth,"
strHhldQuery = strHhldQuery & "tblHouseholds.dtDateInactive,tblHouseholds.dtDateUpdated,tblHouseholds.dtExpirationDate,tblHouseholds.nRelationshipType,"
strHhldQuery = strHhldQuery & "tblHouseholds.bDoNotMail,tblHouseholds.bDoNotCall,tblHouseholds.bDoNotSolicit,tblHouseholds.tAlternateMailingName,"
strHhldQuery = strHhldQuery & "tblHouseholds.tAddressLine1,tblHouseholds.tAddressLine2,tblHouseholds.tAddressLine3,tblHouseholds.tCity,tblHouseholds.tState,tblHouseholds.tPostcode,"
strHhldQuery = strHhldQuery & "tblHouseholds.tCountry,tblHouseholds.mComments,tblHouseholds.bSeasonalAddress,tblHouseholds.bBillingAddress"
strHhldQuery = strHhldQuery & " FROM " & gcstrHouseholdsTableName
strHhldQuery = strHhldQuery & " INNER JOIN " & gstrTempPreviousDonorsTableName
strHhldQuery = strHhldQuery & " ON " & gcstrHouseholdsTableName & ".nHouseholdNumber" & " = "
strHhldQuery = strHhldQuery & gstrTempPreviousDonorsTableName & ".nHouseholdNumber"
Set householdsRecSet = DBEngine(0)(0).OpenRecordset(strHhldQuery)