M
malhyp via AccessMonster.com
Hi there, I am having big problems with my database. I have created a query
which seemed to work just fine. Recently I had to change the column
properties from numeric to text in some of the tables. Since then when I try
to open a query, i get something like, Type Mismatch in Expression. I re
created the query again still get the same result. Can anyone help??? Also I
have included the sql that it generates.
SELECT tblSpecies.TimberSpecies, tblCategories.CategoryTitle, tblSuppliers.
SupplierName, tblSuppliers.ContactName, tblSuppliers.StreetAddress,
tblSuppliers.Suburb, tblLocation.Location, tblSuppliers.PostCode, tblCountry.
Country, tblSuppliers.PhoneNumber, tblSuppliers.Facsimile, tblSuppliers.
EmailAddress, tblSuppliers.WebsiteAddress, tblSuppliers.Image, tblSuppliers.
ShortDescription, tblSuppliers.Description, tblSuppliers.idSupplier,
tblSuppliers.fHits, tblSuppliers.BusinessType
FROM tblCategories INNER JOIN (tblCountry INNER JOIN (tblLocation INNER JOIN
((tblResults INNER JOIN tblSuppliers ON tblResults.idSupplier = tblSuppliers.
idSupplier) INNER JOIN tblSpecies ON tblResults.idSpecies = tblSpecies.
idSpecies) ON tblLocation.idLocation = tblSuppliers.idLocation) ON tblCountry.
idCountry = tblSuppliers.idCountry) ON tblCategories.idCategory = tblResults.
idCategory;
which seemed to work just fine. Recently I had to change the column
properties from numeric to text in some of the tables. Since then when I try
to open a query, i get something like, Type Mismatch in Expression. I re
created the query again still get the same result. Can anyone help??? Also I
have included the sql that it generates.
SELECT tblSpecies.TimberSpecies, tblCategories.CategoryTitle, tblSuppliers.
SupplierName, tblSuppliers.ContactName, tblSuppliers.StreetAddress,
tblSuppliers.Suburb, tblLocation.Location, tblSuppliers.PostCode, tblCountry.
Country, tblSuppliers.PhoneNumber, tblSuppliers.Facsimile, tblSuppliers.
EmailAddress, tblSuppliers.WebsiteAddress, tblSuppliers.Image, tblSuppliers.
ShortDescription, tblSuppliers.Description, tblSuppliers.idSupplier,
tblSuppliers.fHits, tblSuppliers.BusinessType
FROM tblCategories INNER JOIN (tblCountry INNER JOIN (tblLocation INNER JOIN
((tblResults INNER JOIN tblSuppliers ON tblResults.idSupplier = tblSuppliers.
idSupplier) INNER JOIN tblSpecies ON tblResults.idSpecies = tblSpecies.
idSpecies) ON tblLocation.idLocation = tblSuppliers.idLocation) ON tblCountry.
idCountry = tblSuppliers.idCountry) ON tblCategories.idCategory = tblResults.
idCategory;