Hi,
Please look at the following code.
CREATE TABLE tblDeshome
(
[Destination_Purpose] TEXT(10) NULL,
Number_of_Trips INTEGER NULL,
Trip_Percentage INTEGER NULL
)
inth = Dcount("[PURPOSE]","trips","[PURPOSE] = '1' Or [PURPOSE] = '2'")
intw = Dcount("[PURPOSE]","trips","[PURPOSE] = '3'")...