New Access 2016 User: Trying to link tables and pull data throuhg to a form
Hi
Only just learning Access 2016 and setting up a first basicdatabase at work to play / learn but stuck already and would appreciate anypointers please.
There are only 2 tables so far Requests & GP List. User would enter data to the Requests tablevia a form also called Requests.
Both tables have a field called PCode and I am trying to automaticallypopulate part of the form (from the GP List) after a PCode is entered.
User enter a data into a field called PCode on the requestsform and then I want Fields called Practice Name & Telephone to pull throughfrom the GP list table
I think I needed toset up a relationship and have done (screenshot) and then trying to code an after-updateevent but cannot get anything to work! Can anyone give me any pointersplease? I have tried some code from theinternet but no joy and not sure if the relationship is necessary or set upcorrectly
1 Attachment(s)
Thanks & example attached
Hi OBP and thank you for helping.
As I said I am new to Access and tying to crate this tool for work as way of trying to get to grips with Access. I think I et up the relationship but I think it should Many to Many as any request could have any PCode. There are around 300 doctors in the list which is why I went for separate table (to many for drop won list) an the Pcode is usually provided at the point of enquiry so typing it in and pulling everything else over would be easier for users.
It is very basic first one, just trying to get to grips with some basics (date formatting, pulling data into forms, the history etc) which I could then use for other projects as I learn more.
I have attached a zipped example for you to see what I am tying to do.
Thank you again
Mykal