The code I changed was in the Load event of IZVESTAJ. This line:Can you tell me what code did you use![]()
Me.DEZURNI_DISPECER.Value = Forms("frmLogin").Controls("CboUser").Value
Unfortunately, I don't know. You understand your table relationships better than anyone.Can i change the raw source of the DEZURNI DISPECER so its directly connected to Tbl-User.
Put this in the Default Value property of DEZURNI DISPECERFirstly i want that the DEZURNI DISPECER be entered in a new record. Now i get it in a last record.
=[Forms]![FrmLogin]![CboUser]
This isn't what you want. I noticed you did the same thing in your Osobe table too. You should be saving the ID not the name. This is what having a relational database is about.Also i need a User name not PKEnginnerID in the new line of the table.
I knew you could do itI made it workthanks
Now the new record has the user logged on in DEZURNI DISPECER in IZVESTAJ![]()
Can you explain a bit more?I want to make a List box that displays the name of the user that is logged on on my IZVESTAJ form.
How to do that? I only made lists from queries...
I did two things:And how the DB that you sent me is 3MB and my is 9MB ?
Private Sub List90_AfterUpdate()
Me.List90.Value = Forms("frmLogin").Controls("CboUser").Value
End Sub