A family of Microsoft relational database management systems designed for ease of use.
I can answer the one question... You can set two Primary Keys by highlighting both rows and then pressing Primary Key.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
My organization is using MS Word form to create a client questionnaire. Each Word doc form is saved as PDF file and stored in the Client's folder. I created a form in Access to capture and parse the questions but I cannot find a way to create and output a PDF file from Access. This requires me to repeat the entry process manually into the Word document. My IT department won't let me roll this out to other employees because of A) the double entry issue and B) they fear other users apparently will have to learn and use VBA to output individual records.
My question is: Can Access output individual records as a printable PDF format and cannot it be done without VBA?
A family of Microsoft relational database management systems designed for ease of use.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
I can answer the one question... You can set two Primary Keys by highlighting both rows and then pressing Primary Key.
David,
Me <--no degree in Computer Science.
I did have a great teacher who was a co-worker. I learned a lot for her but more from the great help I received in newsgroups as there were no forums at the time. If I were a beginner now I would start with Crystal's book which is free...
http://allenbrowne.com/casu-22.html
You can also go here for free Data models...
http://www.databaseanswers.org/data_models/
https://www.access-diva.com/tips.html#bmDataModels
Access is simple enough for non-technical Users but once you start getting *serious* you do need to do some reading. And those hundreds of hours are over time with the help of the many Forums where free help is given including helping you create a data model. So if you ever decide it's worth the time, we are here to help.
I also noticed you said you created a Form and tried to add fields from another table which sounded like it was unrelated to the record source of the Form. Well, this can only be done when table is part of the record source. You can create a query which can include multiple tables from which you need fields and build your form though most would just use a subform in a typical one-to-many scenario.
I'm replying to your response to Ken. First the relationships window you show is OK except for Contact and Employer. Unless a Contact can have multiple Employers, EmployerID should be a foreign key in the Contacts table.
The City/Region/Country subform is incorrect. CityID should be on the mainform as a combobox to select a city from the City table. The subform should then be linked on CityID, the city control would then be hidden. The subform does not need to be a continuous form since a Contact would only have one City. So when you select a City from the combo, the subform would reflect the Region and Country associated with that City.
No VBA is required to create this form.
I've built databases with way more than 100 fields. The key is the proper design of the relationships. I believe I have said before that you need to familiarize yourself with the concepts of Normalization. This is the key concepts on which relational databases are built. For a database to operate efficiently adherence to Normalization rules is essential. Relational databases tend to be tall and thin, not wide. Its not a matter of Access being able to handle tables with more fields, its that design considerations preclude doing so. Those design considerations are not specific to Access but to relational databases in general.
While I may use some technical terms, like Primary and foreign keys, Joins, relationships etc. They are not that technical and we have explained them several times.
The bottom line here is you really need to lay out your table design properly before you start designing the rest of the app. That's how I do it. It doesn't have to be perfect, but it needs to be logical. You can still add tables and fields as needed. I rarely delete fields. If a field falls into disuse, I merely remove the controls from the forms, queries and reports where it was previously used.
I really don't understand how a relationship that will not allow you to delete a field can exist if its not in the Relationships window.
And yes, I have worked on many databases created by novices that work fine, but they come to me, when they want to add complexity or automation that goes beyond their knowledge. Access includes many wizards that walk you through the tasks like embedding a subform or creating a combobox. Which are the two main keys in relating tables.
Hi Ken,
I ran into a snag or replicating your model there. Or perhaps your graphic is in error. Your ContactEmployees table shows both the ContactID and EmployerID as Primary Keys. On my version of Access, I can only set one Field as a primary key.. Again, I don't know VBA to set two Primary Keys in the same table.
Here is a pic of my Relationships. Notice the relationship between the Contacts and Contact Employers is different than your model.
Here is the result I get below. Here is the frustrating part. I spend two hours tonight playing with this. I assume I need to learn VBA in order to create your model here. With that, using one table, seems to be a more simpler solution and time effective solution. If I am using only one field to enter the contact info, that should be ok. Right? Again, you speak of data integrity but is it possible to achieve integrity using only one table?