I haven't work much in VBA. Just some very simple
procedures. I have worked in Access for five years and I
know my way around tables, forms, queries, reports and
simple macros. I did not understand your previous
instructions.
Here is what I am trying to do. I have a simple Access
database that is capturing the time spent on creating
drawings in AutoCAD. My fields are: Date, Project, User,
Time In, Time Out, Total Time, Document Name. I have
=Time$() as the default for Time In. I am now looking for
a process that will allow the user to automatically enter
the time in Time Out by clicking a button when they are
finished witht he drawing. The name of the form is
FRM
ata Entry.
Any suggestions?
-----Original Message-----
It would be very helpful if you supplied some more details
of exactly what you are doing.
This syntax "Form_FRM: Data_Entry!Time_Out = Time"
wouldn't
work anywhere I know and doesn't really correspond to my
suggestion. Are you familiar with VBA code at all or do
you
know how to get to a code window behind your button? We
need
to get you into the code module behind your button and if
you don't know how we can coach you. It is very difficult
to
ascertain someone's skill level until they give us a
little
clue. Three requests from you.
Skill level synopsis...
Where did you put your "Form_FRM: Data_Entry!Time_Out =
Time" line?
Did you try what I suggested or were you confused by the
suggestion? Confused is A-OK. Just let me know so I know
to
go in more detail.
--
Gary Miller
Gary Miller Computer Services
Sisters, OR
________________________
I am getting an error 424 missing object? Any ideas?
I entered the field in as:
Form_FRM: Data_Entry!Time_Out = Time
Suggestions?
-----Original Message-----
Toggle button or command button? Either way put the
following in the OnClick Event code of the button as
the
default value is only in effect when you first create
the
record...
Me!YourDateFieldName = Time
Change my name to your field name.
--
Gary Miller
Gary Miller Computer Services
Sisters, OR
________________________
in
message
[email protected]...
I am trying to add the current time to a field when
the
user clicks on the toggle button next to the