I'm designing a form that will allow users to interact with 3 tables constructed together with a Many to Many relationship:
tblProductInfo
tblPackaging
tblProductPackagingMM
I've setup all the relationships as they need to be and I'm in the process of designing the querries / forms. I'm using the form wizard to setup my forms based off of the querries but for some reason the options available to me in the form wizard are different depending on which query I'm using. I don't understand why.
When the form wizard looks at my first query, It gives me the options to design the form as I want:
When I open the form wizard it gives me the option to select my fields I want on the form. I select all the available fields and push next.
*This next screen is the important one.*
The form Wizard then gives me the option to select: "Form With Subforms" or "Linked Forms". When I base the form off of my other query I don't have that option. Instead it gives me 4 options: "Columnar", "Tabular", "Datasheet", and "Justified".
I need the form wizard to allow me to choose between "Form with Subform" and "linked forms" regardless of which query I'm using.
This is the query that isn't doing what I want it to:
Thanks for your help
tblProductInfo
tblPackaging
tblProductPackagingMM
I've setup all the relationships as they need to be and I'm in the process of designing the querries / forms. I'm using the form wizard to setup my forms based off of the querries but for some reason the options available to me in the form wizard are different depending on which query I'm using. I don't understand why.
When the form wizard looks at my first query, It gives me the options to design the form as I want:
Code:
SELECT tblProductInfo.ProductID, tblProductInfo.ItemNumber, tblProductInfo.JDEDescription, tblProductPackagingMM.PP_PackageIDFK, tblPackaging.PackageDesc, tblPackaging.JDEPackageID, tblPackaging.PackageType, tblPackaging.PalletConfiguration, tblPackaging.VacPacTemps, tblPackaging.FilmBottom, tblPackaging.BottomFilmDesc, tblPackaging.BottomFilmID, tblPackaging.PackageType2, tblPackageTypeData.PackageTypeTare, tblPackageTypeData.PackageTypeWeight, tblPackageTypeData.PackageTypeUnits
FROM tblPackageTypeData INNER JOIN (tblProductInfo INNER JOIN ((tblPackageType INNER JOIN tblPackaging ON tblPackageType.PackageTypeID = tblPackaging.PackageType) INNER JOIN tblProductPackagingMM ON tblPackaging.PackageID = tblProductPackagingMM.PP_PackageIDFK) ON tblProductInfo.ProductID = tblProductPackagingMM.PP_ProductIDFK) ON tblPackageTypeData.PackageTypeID = tblPackaging.PackageType2;
When I open the form wizard it gives me the option to select my fields I want on the form. I select all the available fields and push next.
*This next screen is the important one.*
The form Wizard then gives me the option to select: "Form With Subforms" or "Linked Forms". When I base the form off of my other query I don't have that option. Instead it gives me 4 options: "Columnar", "Tabular", "Datasheet", and "Justified".
I need the form wizard to allow me to choose between "Form with Subform" and "linked forms" regardless of which query I'm using.
This is the query that isn't doing what I want it to:
Code:
SELECT tblProductInfo.ProductID, tblProductInfo.ItemNumber, tblProductInfo.JDEDescription, tblProductInfo.JDEDescription2, tblProductPackagingMM.PP_ProductIDFK, tblProductPackagingMM.PP_PackageIDFK, tblPackaging.PackageDesc, tblPackaging.JDEPackageID, tblPackaging.PackageDesc2, tblPackaging.PackageType, tblPackaging.VacPacTemps, tblPackaging.FilmBottom, tblPackaging.BottomFilmDesc, tblPackaging.BottomFilmID, tblPackaging.PackageType2, tblPackageTypeData.PackageTypeTare
FROM tblPackageType INNER JOIN (tblPackageTypeData INNER JOIN (tblProductInfo INNER JOIN (tblPackaging INNER JOIN tblProductPackagingMM ON tblPackaging.PackageID = tblProductPackagingMM.PP_PackageIDFK) ON tblProductInfo.ProductID = tblProductPackagingMM.PP_ProductIDFK) ON tblPackageTypeData.PackageTypeID = tblPackaging.PackageType2) ON tblPackageType.PackageTypeID = tblPackaging.PackageType
WHERE (((tblPackaging.PackageType)=3));
Thanks for your help