Results 1 to 3 of 3
  1. #1
    ihealy1 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    5

    Query is too Complex

    Good Morning,



    I just received an error message from Access that says "Query is too complex." I'm trying to reconcile two double entered databases using the Query wizard. I joined the variables together from the corresponding tables using the same options each time, but when I hit "Run" I got the error message. Any ideas why this might be happening? Thanks.

    SQL below-not sure if this will help explain the issue:

    SELECT [CornerStore Table 2ndary1].custumerID, [CornerStore Table 2ndary1].date, [CornerStore Table 2ndary1].time, [CornerStore Table 2ndary1].q1older18, [CornerStore Table 2ndary1].q2main_food_shopper, [CornerStore Table 2ndary1].q3afreq_superm, [CornerStore Table 2ndary1].q3bunit, [CornerStore Table 2ndary1].q4whereyoushop, [CornerStore Table 2ndary1].q4astore_name, [CornerStore Table 2ndary1].q4bstore_location, [CornerStore Table 2ndary1].q5havecar, [CornerStore Table 2ndary1].q6accesscar, [CornerStore Table 2ndary1].q7aoftenJP, [CornerStore Table 2ndary1].q7bunit, [CornerStore Table 2ndary1].q8acloselive, [CornerStore Table 2ndary1].q8b_closework, [CornerStore Table 2ndary1].q8b_closetravelling, [CornerStore Table 2ndary1].q8c_goodservice, [CornerStore Table 2ndary1].q8d_goodselection, [CornerStore Table 2ndary1].q8e_goodquality, [CornerStore Table 2ndary1].q8f_goodprices, [CornerStore Table 2ndary1].q8g_other, [CornerStore Table 2ndary1].q8_other, [CornerStore Table 2ndary1].q9a_beverages, [CornerStore Table 2ndary1].q9b_beer, [CornerStore Table 2ndary1].q9c_milk, [CornerStore Table 2ndary1].q9d_saltysnaks, [CornerStore Table 2ndary1].q9e_doughnuts, [CornerStore Table 2ndary1].q9f_cookies, [CornerStore Table 2ndary1].q9g_candy, [CornerStore Table 2ndary1].q9h_icecream, [CornerStore Table 2ndary1].q9i_bread, [CornerStore Table 2ndary1].q9j_meat, [CornerStore Table 2ndary1].q9k_frfruit, [CornerStore Table 2ndary1].q9l_frofruit, [CornerStore Table 2ndary1].q9m_canfruit, [CornerStore Table 2ndary1].q9n_frveg, [CornerStore Table 2ndary1].q9o_froveg, [CornerStore Table 2ndary1].q9p_canveg, [CornerStore Table 2ndary1].q9q_prepfood, [CornerStore Table 2ndary1].q9r_cigarettes, [CornerStore Table 2ndary1].q9s_lotterytkts, [CornerStore Table 2ndary1].q9t_otherfood, [CornerStore Table 2ndary1].q9u_othernonfood, [CornerStore Table 2ndary1].q10a_beverages, [CornerStore Table 2ndary1].q10b_beer, [CornerStore Table 2ndary1].q10c_milk, [CornerStore Table 2ndary1].q10d_saltysnaks, [CornerStore Table 2ndary1].q10e_doughnuts, [CornerStore Table 2ndary1].q10f_cookies, [CornerStore Table 2ndary1].q10g_candy, [CornerStore Table 2ndary1].q10h_icecream, [CornerStore Table 2ndary1].q10i_bread, [CornerStore Table 2ndary1].q10j_meat, [CornerStore Table 2ndary1].q10kl_frfruit, [CornerStore Table 2ndary1].q10l_frofruit, [CornerStore Table 2ndary1].q10m_canfruit, [CornerStore Table 2ndary1].q10n_frveg, [CornerStore Table 2ndary1].q10o_froveg, [CornerStore Table 2ndary1].q10p_canveg, [CornerStore Table 2ndary1].q10q_prepfood, [CornerStore Table 2ndary1].q10r_cigarettes, [CornerStore Table 2ndary1].q10s_lotterytkts, [CornerStore Table 2ndary1].q10t_otherfood, [CornerStore Table 2ndary1].q10u_othernonfood, [CornerStore Table 2ndary1].q11_satisfy, [CornerStore Table 2ndary1].q12a_items, [CornerStore Table 2ndary1].q12b_items, [CornerStore Table 2ndary1].q12c_items, [CornerStore Table 2ndary1].q12d_items, [CornerStore Table 2ndary1].q12e_items, [CornerStore Table 2ndary1].q12f_items, [CornerStore Table 2ndary1].q12g_items, [CornerStore Table 2ndary1].q12h_items, [CornerStore Table 2ndary1].q13fruits_veg, [CornerStore Table 2ndary1].q14a_fruitsveg, [CornerStore Table 2ndary1].q14b_fruitsveg, [CornerStore Table 2ndary1].q14c_fruitsveg, [CornerStore Table 2ndary1].q14d_fruitsveg, [CornerStore Table 2ndary1].q14e_fruitsveg, [CornerStore Table 2ndary1].q14f_fruitsveg, [CornerStore Table 2ndary1].q14g_fruitsveg, [CornerStore Table 2ndary1].q14h_fruitsveg, [CornerStore Table 2ndary1].q14i_fruitsveg, [CornerStore Table 2ndary1].q14j_fruitsveg, [CornerStore Table 2ndary1].q15quality, [CornerStore Table 2ndary1].q16a_expensive, [CornerStore Table 2ndary1].q16b_badquality, [CornerStore Table 2ndary1].q16c_variety, [CornerStore Table 2ndary1].q16d_buyelse, [CornerStore Table 2ndary1].q16e_growathome, [CornerStore Table 2ndary1].q16f_noneavail, [CornerStore Table 2ndary1].q16g_didntknow, [CornerStore Table 2ndary1].q16h_donteatfr, [CornerStore Table 2ndary1].q16i_donteatveg, [CornerStore Table 2ndary1].q16j_other, [CornerStore Table 2ndary1].q16k_other, [CornerStore Table 2ndary1].q17more_freshfruit, [CornerStore Table 2ndary1].q18more_veggies, [CornerStore Table 2ndary1].q19Fa_bananas, [CornerStore Table 2ndary1].q19Fb_oranges, [CornerStore Table 2ndary1].q19Fc_apples, [CornerStore Table 2ndary1].q19Fd_grapes, [CornerStore Table 2ndary1].q19Fe_peaches, [CornerStore Table 2ndary1].q19Ff_strawberries, [CornerStore Table 2ndary1].q19Fg_other, [CornerStore Table 2ndary1].q19Fh_fruitother1, [CornerStore Table 2ndary1].q19Fi_fruitother2, [CornerStore Table 2ndary1].q19Fj_fruitother3, [CornerStore Table 2ndary1].q19Va_tomatoes, [CornerStore Table 2ndary1].q19Vb_broccoli, [CornerStore Table 2ndary1].q19Vc_lettuce, [CornerStore Table 2ndary1].q19Vd_onions, [CornerStore Table 2ndary1].q19Ve_bellpepers, [CornerStore Table 2ndary1].q19Vf_carrots, [CornerStore Table 2ndary1].q19Vg_other, [CornerStore Table 2ndary1].q19Vh_vegtother1, [CornerStore Table 2ndary1].q19Vi_vegtother2, [CornerStore Table 2ndary1].q19Vj_vegother3, [CornerStore Table 2ndary1].q20a_drinkjuice, [CornerStore Table 2ndary1].q20a_unit, [CornerStore Table 2ndary1].q20b_eatfruit, [CornerStore Table 2ndary1].q20b_unit, [CornerStore Table 2ndary1].q20c_eatsalad, [CornerStore Table 2ndary1].q20c_unit, [CornerStore Table 2ndary1].q20d_potatoes, [CornerStore Table 2ndary1].q20d_unit, [CornerStore Table 2ndary1].q20e_carrots, [CornerStore Table 2ndary1].q20e_unit, [CornerStore Table 2ndary1].q20f_vegservings, [CornerStore Table 2ndary1].q20f_unit, [CornerStore Table 2ndary1].q20g_drinkregsoda, [CornerStore Table 2ndary1].q20g_unit, [CornerStore Table 2ndary1].q20h_drinkdietsoda, [CornerStore Table 2ndary1].q20h_unit, [CornerStore Table 2ndary1].q20i_chips, [CornerStore Table 2ndary1].q20i_unit, [CornerStore Table 2ndary1].q20j_candy, [CornerStore Table 2ndary1].q20j_unit, [CornerStore Table 2ndary1].q20k_cookies, [CornerStore Table 2ndary1].q20k_unit, [CornerStore Table 2ndary1].q20l_doughnuts, [CornerStore Table 2ndary1].q20l_unit, [CornerStore Table 2ndary1].q21_gender, [CornerStore Table 2ndary1].q22_age, [CornerStore Table 2ndary1].q23_hispanic, [CornerStore Table 2ndary1].q24_white, [CornerStore Table 2ndary1].[q24_black AA], [CornerStore Table 2ndary1].[q24_american indian], [CornerStore Table 2ndary1].q24_hawaiian, [CornerStore Table 2ndary1].[q24_other asian], [CornerStore Table 2ndary1].q24other, [CornerStore Table 2ndary1].q24other1, [CornerStore Table 2ndary1].q25WIC, [CornerStore Table 2ndary1].q25fstamps, [CornerStore Table 2ndary1].q25school_lunch, [CornerStore Table 2ndary1].q26st_inter1, [CornerStore Table 2ndary1].q26st_inter2, [CornerStore Table 2ndary1].[q27monthy$]
    FROM [CornerStore Table 2ndary1] LEFT JOIN CornerStore ON ([CornerStore Table 2ndary1].[q27monthy$] = CornerStore.[q27monthy$]) AND ([CornerStore Table 2ndary1].q26st_inter2 = CornerStore.q26st_inter2) AND ([CornerStore Table 2ndary1].q26st_inter1 = CornerStore.q26st_inter1) AND ([CornerStore Table 2ndary1].q25school_lunch = CornerStore.q25school_lunch) AND ([CornerStore Table 2ndary1].q25fstamps = CornerStore.q25fstamps) AND ([CornerStore Table 2ndary1].q25WIC = CornerStore.q25WIC) AND ([CornerStore Table 2ndary1].q24other1 = CornerStore.q24other1) AND ([CornerStore Table 2ndary1].q24other = CornerStore.q24other) AND ([CornerStore Table 2ndary1].[q24_other asian] = CornerStore.[q24_other asian]) AND ([CornerStore Table 2ndary1].q24_hawaiian = CornerStore.q24_hawaiian) AND ([CornerStore Table 2ndary1].[q24_american indian] = CornerStore.[q24_american indian]) AND ([CornerStore Table 2ndary1].[q24_black AA] = CornerStore.[q24_black AA]) AND ([CornerStore Table 2ndary1].q24_white = CornerStore.q24_white) AND ([CornerStore Table 2ndary1].q23_hispanic = CornerStore.q23_hispanic) AND ([CornerStore Table 2ndary1].q22_age = CornerStore.q22_age) AND ([CornerStore Table 2ndary1].q21_gender = CornerStore.q21_gender) AND ([CornerStore Table 2ndary1].q20l_unit = CornerStore.q20l_unit) AND ([CornerStore Table 2ndary1].q20l_doughnuts = CornerStore.q20l_doughnuts) AND ([CornerStore Table 2ndary1].q20k_unit = CornerStore.q20k_unit) AND ([CornerStore Table 2ndary1].q20k_cookies = CornerStore.q20k_cookies) AND ([CornerStore Table 2ndary1].q20j_unit = CornerStore.q20j_unit) AND ([CornerStore Table 2ndary1].q20j_candy = CornerStore.q20j_candy) AND ([CornerStore Table 2ndary1].q20i_unit = CornerStore.q20i_unit) AND ([CornerStore Table 2ndary1].q20i_chips = CornerStore.q20i_chips) AND ([CornerStore Table 2ndary1].q20h_unit = CornerStore.q20h_unit) AND ([CornerStore Table 2ndary1].q20h_drinkdietsoda = CornerStore.q20h_drinkdietsoda) AND ([CornerStore Table 2ndary1].q20g_unit = CornerStore.q20g_unit) AND ([CornerStore Table 2ndary1].q20g_drinkregsoda = CornerStore.q20g_drinkregsoda) AND ([CornerStore Table 2ndary1].q20f_unit = CornerStore.q20f_unit) AND ([CornerStore Table 2ndary1].q20f_vegservings = CornerStore.q20f_vegservings) AND ([CornerStore Table 2ndary1].q20e_unit = CornerStore.q20e_unit) AND ([CornerStore Table 2ndary1].q20e_carrots = CornerStore.q20e_carrots) AND ([CornerStore Table 2ndary1].q20d_unit = CornerStore.q20d_unit) AND ([CornerStore Table 2ndary1].q20d_potatoes = CornerStore.q20d_potatoes) AND ([CornerStore Table 2ndary1].q20c_unit = CornerStore.q20c_unit) AND ([CornerStore Table 2ndary1].q20c_eatsalad = CornerStore.q20c_eatsalad) AND ([CornerStore Table 2ndary1].q20b_unit = CornerStore.q20b_unit) AND ([CornerStore Table 2ndary1].q20b_eatfruit = CornerStore.q20b_eatfruit) AND ([CornerStore Table 2ndary1].q20a_unit = CornerStore.q20a_unit) AND ([CornerStore Table 2ndary1].q20a_drinkjuice = CornerStore.q20a_drinkjuice) AND ([CornerStore Table 2ndary1].q19Vj_vegother3 = CornerStore.q19Vj_vegother3) AND ([CornerStore Table 2ndary1].q19Vi_vegtother2 = CornerStore.q19Vi_vegtother2) AND ([CornerStore Table 2ndary1].q19Vh_vegtother1 = CornerStore.q19Vh_vegtother1) AND ([CornerStore Table 2ndary1].q19Vg_other = CornerStore.q19Vg_other) AND ([CornerStore Table 2ndary1].q19Vf_carrots = CornerStore.q19Vf_carrots) AND ([CornerStore Table 2ndary1].q19Ve_bellpepers = CornerStore.q19Ve_bellpepers) AND ([CornerStore Table 2ndary1].q19Vd_onions = CornerStore.q19Vd_onions) AND ([CornerStore Table 2ndary1].q19Vc_lettuce = CornerStore.q19Vc_lettuce) AND ([CornerStore Table 2ndary1].q19Vb_broccoli = CornerStore.q19Vb_broccoli) AND ([CornerStore Table 2ndary1].q19Va_tomatoes = CornerStore.q19Va_tomatoes) AND ([CornerStore Table 2ndary1].q19Fj_fruitother3 = CornerStore.q19Fj_fruitother3) AND ([CornerStore Table 2ndary1].q19Fi_fruitother2 = CornerStore.q19Fi_fruitother2) AND ([CornerStore Table 2ndary1].q19Fh_fruitother1 = CornerStore.q19Fh_fruitother1) AND ([CornerStore Table 2ndary1].q19Fg_other = CornerStore.q19Fg_other) AND ([CornerStore Table 2ndary1].q19Ff_strawberries = CornerStore.q19Ff_strawberries) AND ([CornerStore Table 2ndary1].q19Fe_peaches = CornerStore.q19Fe_peaches) AND ([CornerStore Table 2ndary1].q19Fd_grapes = CornerStore.q19Fd_grapes) AND ([CornerStore Table 2ndary1].q19Fc_apples = CornerStore.q19Fc_apples) AND ([CornerStore Table 2ndary1].q19Fb_oranges = CornerStore.q19Fb_oranges) AND ([CornerStore Table 2ndary1].q19Fa_bananas = CornerStore.q19Fa_bananas) AND ([CornerStore Table 2ndary1].q18more_veggies = CornerStore.q18more_veggies) AND ([CornerStore Table 2ndary1].q17more_freshfruit = CornerStore.q17more_freshfruit) AND ([CornerStore Table 2ndary1].q16k_other = CornerStore.q16k_other) AND ([CornerStore Table 2ndary1].q16j_other = CornerStore.q16j_other) AND ([CornerStore Table 2ndary1].q16i_donteatveg = CornerStore.q16i_donteatveg) AND ([CornerStore Table 2ndary1].q16h_donteatfr = CornerStore.q16h_donteatfr) AND ([CornerStore Table 2ndary1].q16g_didntknow = CornerStore.q16g_didntknow) AND ([CornerStore Table 2ndary1].q16f_noneavail = CornerStore.q16f_noneavail) AND ([CornerStore Table 2ndary1].q16e_growathome = CornerStore.q16e_growathome) AND ([CornerStore Table 2ndary1].q16d_buyelse = CornerStore.q16d_buyelse) AND ([CornerStore Table 2ndary1].q16c_variety = CornerStore.q16c_variety) AND ([CornerStore Table 2ndary1].q16b_badquality = CornerStore.q16b_badquality) AND ([CornerStore Table 2ndary1].q16a_expensive = CornerStore.q16a_expensive) AND ([CornerStore Table 2ndary1].q15quality = CornerStore.q15quality) AND ([CornerStore Table 2ndary1].q14j_fruitsveg = CornerStore.q14j_fruitsveg) AND ([CornerStore Table 2ndary1].q14i_fruitsveg = CornerStore.q14i_fruitsveg) AND ([CornerStore Table 2ndary1].q14h_fruitsveg = CornerStore.q14h_fruitsveg) AND ([CornerStore Table 2ndary1].q14g_fruitsveg = CornerStore.q14g_fruitsveg) AND ([CornerStore Table 2ndary1].q14f_fruitsveg = CornerStore.q14f_fruitsveg) AND ([CornerStore Table 2ndary1].q14e_fruitsveg = CornerStore.q14e_fruitsveg) AND ([CornerStore Table 2ndary1].q14d_fruitsveg = CornerStore.q14d_fruitsveg) AND ([CornerStore Table 2ndary1].q14c_fruitsveg = CornerStore.q14c_fruitsveg) AND ([CornerStore Table 2ndary1].q14b_fruitsveg = CornerStore.q14b_fruitsveg) AND ([CornerStore Table 2ndary1].q14a_fruitsveg = CornerStore.q14a_fruitsveg) AND ([CornerStore Table 2ndary1].q13fruits_veg = CornerStore.q13fruits_veg) AND ([CornerStore Table 2ndary1].q12h_items = CornerStore.q12h_items) AND ([CornerStore Table 2ndary1].q12g_items = CornerStore.q12g_items) AND ([CornerStore Table 2ndary1].q12f_items = CornerStore.q12f_items) AND ([CornerStore Table 2ndary1].q12e_items = CornerStore.q12e_items) AND ([CornerStore Table 2ndary1].q12d_items = CornerStore.q12d_items) AND ([CornerStore Table 2ndary1].q12c_items = CornerStore.q12c_items) AND ([CornerStore Table 2ndary1].q12b_items = CornerStore.q12b_items) AND ([CornerStore Table 2ndary1].q12a_items = CornerStore.q12a_items) AND ([CornerStore Table 2ndary1].q11_satisfy = CornerStore.q11_satisfy) AND ([CornerStore Table 2ndary1].q10u_othernonfood = CornerStore.q10u_othernonfood) AND ([CornerStore Table 2ndary1].q10t_otherfood = CornerStore.q10t_otherfood) AND ([CornerStore Table 2ndary1].q10s_lotterytkts = CornerStore.q10s_lotterytkts) AND ([CornerStore Table 2ndary1].q10r_cigarettes = CornerStore.q10r_cigarettes) AND ([CornerStore Table 2ndary1].q10q_prepfood = CornerStore.q10q_prepfood) AND ([CornerStore Table 2ndary1].q10p_canveg = CornerStore.q10p_canveg) AND ([CornerStore Table 2ndary1].q10o_froveg = CornerStore.q10o_froveg) AND ([CornerStore Table 2ndary1].q10n_frveg = CornerStore.q10n_frveg) AND ([CornerStore Table 2ndary1].q10m_canfruit = CornerStore.q10m_canfruit) AND ([CornerStore Table 2ndary1].q10l_frofruit = CornerStore.q10l_frofruit) AND ([CornerStore Table 2ndary1].q10kl_frfruit = CornerStore.q10kl_frfruit) AND ([CornerStore Table 2ndary1].q10j_meat = CornerStore.q10j_meat) AND ([CornerStore Table 2ndary1].q10i_bread = CornerStore.q10i_bread) AND ([CornerStore Table 2ndary1].q10h_icecream = CornerStore.q10h_icecream) AND ([CornerStore Table 2ndary1].q10g_candy = CornerStore.q10g_candy) AND ([CornerStore Table 2ndary1].q10f_cookies = CornerStore.q10f_cookies) AND ([CornerStore Table 2ndary1].q10e_doughnuts = CornerStore.q10e_doughnuts) AND ([CornerStore Table 2ndary1].q10d_saltysnaks = CornerStore.q10d_saltysnaks) AND ([CornerStore Table 2ndary1].q10c_milk = CornerStore.q10c_milk) AND ([CornerStore Table 2ndary1].q10b_beer = CornerStore.q10b_beer) AND ([CornerStore Table 2ndary1].q10a_beverages = CornerStore.q10a_beverages) AND ([CornerStore Table 2ndary1].q9u_othernonfood = CornerStore.q9u_othernonfood) AND ([CornerStore Table 2ndary1].q9t_otherfood = CornerStore.q9t_otherfood) AND ([CornerStore Table 2ndary1].q9s_lotterytkts = CornerStore.q9s_lotterytkts) AND ([CornerStore Table 2ndary1].q9r_cigarettes = CornerStore.q9r_cigarettes) AND ([CornerStore Table 2ndary1].q9q_prepfood = CornerStore.q9q_prepfood) AND ([CornerStore Table 2ndary1].q9p_canveg = CornerStore.q9p_canveg) AND ([CornerStore Table 2ndary1].q9o_froveg = CornerStore.q9o_froveg) AND ([CornerStore Table 2ndary1].q9n_frveg = CornerStore.q9n_frveg) AND ([CornerStore Table 2ndary1].q9m_canfruit = CornerStore.q9m_canfruit) AND ([CornerStore Table 2ndary1].q9l_frofruit = CornerStore.q9l_frofruit) AND ([CornerStore Table 2ndary1].q9k_frfruit = CornerStore.q9k_frfruit) AND ([CornerStore Table 2ndary1].q9j_meat = CornerStore.q9j_meat) AND ([CornerStore Table 2ndary1].q9i_bread = CornerStore.q9i_bread) AND ([CornerStore Table 2ndary1].q9h_icecream = CornerStore.q9h_icecream) AND ([CornerStore Table 2ndary1].q9g_candy = CornerStore.q9g_candy) AND ([CornerStore Table 2ndary1].q9f_cookies = CornerStore.q9f_cookies) AND ([CornerStore Table 2ndary1].q9e_doughnuts = CornerStore.q9e_doughnuts) AND ([CornerStore Table 2ndary1].q9d_saltysnaks = CornerStore.q9d_saltysnaks) AND ([CornerStore Table 2ndary1].q9c_milk = CornerStore.q9c_milk) AND ([CornerStore Table 2ndary1].q9b_beer = CornerStore.q9b_beer) AND ([CornerStore Table 2ndary1].q9a_beverages = CornerStore.q9a_beverages) AND ([CornerStore Table 2ndary1].q8_other = CornerStore.q8_other) AND ([CornerStore Table 2ndary1].q8g_other = CornerStore.q8g_other) AND ([CornerStore Table 2ndary1].q8f_goodprices = CornerStore.q8f_goodprices) AND ([CornerStore Table 2ndary1].q8e_goodquality = CornerStore.q8e_goodquality) AND ([CornerStore Table 2ndary1].q8d_goodselection = CornerStore.q8d_goodselection) AND ([CornerStore Table 2ndary1].q8c_goodservice = CornerStore.q8c_goodservice) AND ([CornerStore Table 2ndary1].q8b_closetravelling = CornerStore.q8b_closetravelling) AND ([CornerStore Table 2ndary1].q8b_closework = CornerStore.q8b_closework) AND ([CornerStore Table 2ndary1].q8acloselive = CornerStore.q8acloselive) AND ([CornerStore Table 2ndary1].q7bunit = CornerStore.q7bunit) AND ([CornerStore Table 2ndary1].q7aoftenJP = CornerStore.q7aoftenJP) AND ([CornerStore Table 2ndary1].q6accesscar = CornerStore.q6accesscar) AND ([CornerStore Table 2ndary1].q5havecar = CornerStore.q5havecar) AND ([CornerStore Table 2ndary1].q4bstore_location = CornerStore.q4bstore_location) AND ([CornerStore Table 2ndary1].q4astore_name = CornerStore.q4astore_name) AND ([CornerStore Table 2ndary1].q4whereyoushop = CornerStore.q4whereyoushop) AND ([CornerStore Table 2ndary1].q3bunit = CornerStore.q3bunit) AND ([CornerStore Table 2ndary1].q3afreq_superm = CornerStore.q3afreq_superm) AND ([CornerStore Table 2ndary1].q2main_food_shopper = CornerStore.q2main_food_shopper) AND ([CornerStore Table 2ndary1].q1older18 = CornerStore.q1older18) AND ([CornerStore Table 2ndary1].time = CornerStore.time) AND ([CornerStore Table 2ndary1].date = CornerStore.date) AND ([CornerStore Table 2ndary1].custumerID = CornerStore.custumerID) AND ([CornerStore Table 2ndary1].[custumerID] = CornerStore.[custumerID])
    WHERE (((CornerStore.custumerID) Is Null));
    Last edited by ihealy1; 11-18-2011 at 11:37 AM. Reason: added SQL

  2. #2
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    ...SQL below-not sure if this will help explain the issue:...
    HOLY SH## Batman! Just looking at that makes my head hurt worse than it already did. Well, the first thing I notice is that it would SEEM that you have very NON-NORMALIZED database/databases.

    Frankly, I don't know if any of us are going to be able to help with this one. Why in the world do you have so many fields and why are you trying to do all of this in one query?

  3. #3
    ihealy1 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    5
    I feel you, Bob. I felt like barfing myself when I saw it.

    I'm trying to reconcile two double entered databases:
    Cornerstore.mdb and CornerStore Table 2ndary1.mdb

    Basically, we're doing a quality assurance check to make sure that all of the data was entered the same way before we start the analysis.

    I was attempting to run a query that would let me know if there were any discrepancies between the two databases, which contain 102 forms each and in theory should be identical. I linked all of the variables between the two tables and ran the query. Clearly, this was the wrong thing to do.

    Do you have any suggestions on how to compare two databases to check for inconsistency of data entry?

    Thanks Again.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Complex Query
    By amotto11 in forum Queries
    Replies: 5
    Last Post: 09-02-2011, 07:43 AM
  2. Complex query to me anyway
    By AndycompanyZ in forum Queries
    Replies: 3
    Last Post: 06-28-2011, 03:08 PM
  3. Help with complex Query
    By CEV in forum Queries
    Replies: 1
    Last Post: 03-12-2011, 06:54 AM
  4. Help with complex query (for me at least)
    By GrindEspresso in forum Queries
    Replies: 5
    Last Post: 01-26-2011, 11:03 AM
  5. Complex Update query
    By niihla10 in forum Queries
    Replies: 1
    Last Post: 08-28-2009, 01:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums