This topic is locked

OwnerID based on Login?

10/16/2008 09:42:33
PHPRunner General questions
K
Khris author

As it stands right now, I've got a Master/Detail relationship setup between "Employees" and "Schedule". When you click on the "Schedule" link next to the Employe name (highlighted in Red), it properly assigns the new entries based upon which employee they're entered under.
What I would like to do, is have it so that when you click on the Schedule Tab (highlighted in Yellow) the new entry is assigned an owner ID of the person who is currently logged in. Usernames and passwords are all stored in the Employee Table.
How would I go about doing this?

K
Khris author 10/16/2008

Hmmm.........I seem to have figured it out, but I'm not entirely sure what I did! :S