Hello Mr. Vinson,
I am tracking mail. I am trying to create an event after update of the
Property Name that the the REMS Number, FHA Number, Contract Number and
Project Manager populate from another table.
Are you *STORING* these from "another table" into this table? If so, *don't*!
That would be redundant. All that you need to store is the PropertiesID, and
use a query to link them.
I dont not want to have to enter
data repeatly for each new record.
Of course not. But take a step further and don't store them AT ALL.
I have found the mircsoft web page on the
northwinds example for the dlookup. There are records in the REMS Number
field etc. I have modified my code to REMS_Number = DLookup("[REMS Number]",
"tblTracking Log", "[Tracking Log ID] =" & [Tracking Log ID])
since I'm using a form. I am not getting an returns for it when I enter a
new record for a property. I am very fustratrated. I didn't think something
this simple would be so hard. Any help you give will be greatly appreciated.
If you just want to display the REMS Number (or other fields) on a Form, no
code is needed at all, not even DLookUp. Instead just include all of the
fields that you want to display in the Tracking Log ID Combo Box's RowSource;
set the control source of textboxes on the form to
=comboboxname.Column(n)
where n is the *zero based* index of the field that you want to display.
If you have a real, valid need to store the field value, please explain - it
can be done, it just usually should not be done.