I have three textboxes that give the balance of 3 different accounts. They are called 'GCI', 'NY', & 'IBF'
Their control sources use dlookup to get the value from two queries for each respective account. My problem is the the NY and GCI boxes are working fine but the IBF one keeps coming up blank.
I have tried copying the NY and GCI sources and get the right number but as soon as I change the name to IBF I get a blank box.
NY Control Source (works fine):
=(DLookUp("[Branch Sums Maturity]![SumOfCashflow]","Branch Sums Maturity","Branch= 'NY'")+DLookUp("[Branch Sums Value]![SumOfAmount]","Branch Sums Value","Branch='NY'"))/1000000
IBF Control Source (Blank Box):
=(DLookUp("[Branch Sums Maturity]![SumOfCashflow]","Branch Sums Maturity","Branch= 'IBF'")+DLookUp("[Branch Sums Value]![SumOfAmount]","Branch Sums Value","Branch='IBF'"))/1000000
Any Ideas??
Thanks in advance
Their control sources use dlookup to get the value from two queries for each respective account. My problem is the the NY and GCI boxes are working fine but the IBF one keeps coming up blank.
I have tried copying the NY and GCI sources and get the right number but as soon as I change the name to IBF I get a blank box.
NY Control Source (works fine):
=(DLookUp("[Branch Sums Maturity]![SumOfCashflow]","Branch Sums Maturity","Branch= 'NY'")+DLookUp("[Branch Sums Value]![SumOfAmount]","Branch Sums Value","Branch='NY'"))/1000000
IBF Control Source (Blank Box):
=(DLookUp("[Branch Sums Maturity]![SumOfCashflow]","Branch Sums Maturity","Branch= 'IBF'")+DLookUp("[Branch Sums Value]![SumOfAmount]","Branch Sums Value","Branch='IBF'"))/1000000
Any Ideas??
Thanks in advance