Hi,
How do i put a PrimaryKey Value i selected in a listbox(Listbox contains records in form 1) in form 2 and put it in a field in a form 2?
I have two tables : addnewborrower(One) and documents(Many) and they have a one to many relationship. I arldy established the relationship in the relationship window and the addnewborrower primary key is the foreignkey in documents which i have named BorrowerSerialNoFK.
In my documents form, i have this listbox which shows records from addnewborrower. I want the user to select a record and then the selected record would give my foreignkey,BorrowerSerialNoFK, the value of the record ID which was selected.
I have tried giving control source of my listbox as BorrowerSerialNoFK but then i cant select anything.I also tried giving the selected listbox value to a text box in the same form but i dont know how to refer this textbox to my field BorrowerSerialNoFK.Any idea how to solve this?