=(DCount("[Ethnicity]","qryYsEasterRegisters","[Ethnicity] IN ('African' ,
'Afroe-European' , 'ALGERIAN' , 'Black British' , 'Black Other' , 'Caribbean'
, 'Latin American' , 'MEXICAN' , 'Mixed Race' , 'MOROCCAN' , 'North African'
, 'African Caribbean' , 'White & Black Carribbean' , 'Somali' , 'White &
Black African' , 'Eritrea' , 'West Indias' , 'Eriterien' , 'South America' ,
'South American') ")+DCount("[Ethnicity]","qryYsMayRegisters","[Ethnicity] IN
('African' , 'Afroe-European' , 'ALGERIAN' , 'Black British' , 'Black Other'
, 'Caribbean' , 'Latin American' , 'MEXICAN' , 'Mixed Race' , 'MOROCCAN' ,
'North African' , 'African Caribbean' , 'White & Black Carribbean' , 'Somali'
, 'White & Black African' , 'Eritrea' , 'West Indias' , 'Eriterien' , 'South
America' , 'South American')
")+DCount("[Ethnicity]","qryYsSummerRegisters","[Ethnicity] IN ('African' ,
'Afroe-European' , 'ALGERIAN' , 'Black British' , 'Black Other' , 'Caribbean'
, 'Latin American' , 'MEXICAN' , 'Mixed Race' , 'MOROCCAN' , 'North African'
, 'African Caribbean' , 'White & Black Carribbean' , 'Somali' , 'White &
Black African' , 'Eritrea' , 'West Indias' , 'Eriterien' , 'South America' ,
'South American')
")+DCount("[Ethnicity]","qryYsOctoberRegisters","[Ethnicity] IN ('African' ,
'Afroe-European' , 'ALGERIAN' , 'Black British' , 'Black Other' , 'Caribbean'
, 'Latin American' , 'MEXICAN' , 'Mixed Race' , 'MOROCCAN' , 'North African'
, 'African Caribbean' , 'White & Black Carribbean' , 'Somali' , 'White &
Black African' , 'Eritrea' , 'West Indias' , 'Eriterien' , 'South America' ,
'South American')
")+DCount("[Ethnicity]","qryYsFebruaryRegisters","[Ethnicity] IN ('African' ,
'Afroe-European' , 'ALGERIAN' , 'Black British' , 'Black Other' , 'Caribbean'
, 'Latin American' , 'MEXICAN' , 'Mixed Race' , 'MOROCCAN' , 'North African'
, 'African Caribbean' , 'White & Black Carribbean' , 'Somali' , 'White &
Black African' , 'Eritrea' , 'West Indias' , 'Eriterien' , 'South America' ,
'South American')
"))/(DCount("[MemId]","qryYsEasterRegisters","[MemId]=True")+DCount("[MemId]","qryYsMayRegisters","[MemId]=True")+DCount("[MemId]","qryYsSummerRegisters","[MemId]=True")+DCount("[MemId]","qryYsOctoberRegisters","[MemId]=True")+DCount("[MemId]","qryYsFebruaryRegisters","[MemId]=True"))*100
Klatuu said:
I don't think that is the maximum. I still would like to see the string.
--
Dave Hargis, Microsoft Access MVP
:
Thank you for your reply. I suppose this is a string and the maximum number
of characters in a string is 2048. Is that the answer?
:
I am not sure what the maximum is, but a DCount that has 2282 characters
seems a bit unusual. Can you post the code, please?
--
Dave Hargis, Microsoft Access MVP
:
Hi there
I get the message "the text is too long to be edited" when I enter a DCount
function in the control source of a text box in a report. It only has 2282
characters!!!
What is the maximum number of characters allowed in control source of a text
box?
regards