J
Jens Andersson
Hello,
I will try to describe my situation and my problem as
detailed as possible since noone has been able to help me
so far...
I have made an access-database with a userinterface, it is
used for visitor registration. When the user starts the
database i form called "start" is presented to the user,
from here I can choose to register "new visitor", search
and to print different types of reports. I have made a
form called "new visitor" where I can register a new
visitor. Everything works fine, and after registering a
new user I have made a button called "close", and if I
click the close-button I get back to the "start"-form. On
the start-form I have made a window where all the visitors
of the current day is visible, and the data is off course
linked to the form "new visitor". The function I would
like to have is, if I click on a visitor of the current
day in the window on the "start"-form I want to get up the
current user in the "new visitor" form, but I cant get
this to work. I have made a macro that opens the form "new
visitor" and tried every possible way to make it open the
record of the current user, but it always open the same
record (usually the first record in the database). So,
finally, my question is, how can I make a macro that opens
the record of the current user, (the one that I click).
A would really appreciate help on this one, since not a
single person so far has been able to help me.
I will try to describe my situation and my problem as
detailed as possible since noone has been able to help me
so far...
I have made an access-database with a userinterface, it is
used for visitor registration. When the user starts the
database i form called "start" is presented to the user,
from here I can choose to register "new visitor", search
and to print different types of reports. I have made a
form called "new visitor" where I can register a new
visitor. Everything works fine, and after registering a
new user I have made a button called "close", and if I
click the close-button I get back to the "start"-form. On
the start-form I have made a window where all the visitors
of the current day is visible, and the data is off course
linked to the form "new visitor". The function I would
like to have is, if I click on a visitor of the current
day in the window on the "start"-form I want to get up the
current user in the "new visitor" form, but I cant get
this to work. I have made a macro that opens the form "new
visitor" and tried every possible way to make it open the
record of the current user, but it always open the same
record (usually the first record in the database). So,
finally, my question is, how can I make a macro that opens
the record of the current user, (the one that I click).
A would really appreciate help on this one, since not a
single person so far has been able to help me.