
Originally Posted by
June7
Should not have both author name and author ID in Main table, only the author ID as foreign key. It is not necessary to use a form/subform arrangement. Can use one form with the search controls in the form Header section and set the form as Continuous view. Ungroup the controls (you must have created the subform with wizard) and can rearrange and resize individually. Select all controls, right click > Layout > Remove.
The MForm has DataEntry property set to Yes but Results has set to No. Even after changing MForm to No, still not able to add new records into subform. It's because SQuery is a GROUP BY query. Aggregate queries are not editable. Why did you set this query as a GROUP BY?
I Used GROUP BY query for granting Read Only permissions to the front end users.
Author name parts should be in separate fields in Author table like FirstName, LastName.
Thanks. I changed Author name into two columns FirstName, Lastname
You have macros and VBA code. Why not just use VBA? I never use macros.
I don't know how to code through VBA. Am still in the initial stages of learing MS Access
What is purpose of Add Table and resultSubFrm tables
Add Table - It is the secondary table. If an user wants to add data. Then he should enter the data into this table and later the backend department will verify the data and then they will copy it into the main table. I mean the front end users shouldn't have the write permissions towards the Main table.
I suppose resultSubFrm is dummy file (Not Sure).
I got my subform page refreshed. I used "Or is NULL" in my query. My subform is now able to show all the records from the Maintable.
I was unable to create the relationship between AuthorID (Author table) and Author (Main table). Could you kindly establish a proper relationship between those two tables.
Your modifications to my tables/project is most welcome.
Can you make a perfect relationship between those two tables please.