J
James Miley
I am currently using MS Access XP for a form I use for work for books that
are on a circuit.
I have 6 Statuses for each book:
Received
Sent
To be Repaired
Did Not Receive
Checked Out
Lost
I set up a Macro that when a book has the Received Status, Focus will switch
to the next record. (this saves me from hitting the tab a few times to
bypass ID#, Circ, and Due Date).
The Macro has the Condition [Forms]![Master Status]![Status]="Received"
and action of GoToRecord (next one)
The Macro is attached to the On Lost Focus on the Status field
However, I want the same action to be done when the Status is Did Not
Receive so I change the condition to:
[Forms]![Master Status]![Status]="Received" Or "Did Not Receive"
Once I do this though, It will always skip to the next record regardless of
the Status and when I click into another box, the cursor just goes to the
next record.
If I create a separate macro entry for Did Not Receive, it will only skip to
the next record for Received.
I hope all of this makes sense and any help would be wonderful. I have been
messing around with this for the past week and just have decided to ask for
help.
If there is anything that needs cleared up, feel free to e-mail me or post a
message. I'll try and be prompt in my response (e-mail probably quicker).
Thanks in advance.
J. Miley
(e-mail address removed)
are on a circuit.
I have 6 Statuses for each book:
Received
Sent
To be Repaired
Did Not Receive
Checked Out
Lost
I set up a Macro that when a book has the Received Status, Focus will switch
to the next record. (this saves me from hitting the tab a few times to
bypass ID#, Circ, and Due Date).
The Macro has the Condition [Forms]![Master Status]![Status]="Received"
and action of GoToRecord (next one)
The Macro is attached to the On Lost Focus on the Status field
However, I want the same action to be done when the Status is Did Not
Receive so I change the condition to:
[Forms]![Master Status]![Status]="Received" Or "Did Not Receive"
Once I do this though, It will always skip to the next record regardless of
the Status and when I click into another box, the cursor just goes to the
next record.
If I create a separate macro entry for Did Not Receive, it will only skip to
the next record for Received.
I hope all of this makes sense and any help would be wonderful. I have been
messing around with this for the past week and just have decided to ask for
help.
If there is anything that needs cleared up, feel free to e-mail me or post a
message. I'll try and be prompt in my response (e-mail probably quicker).
Thanks in advance.
J. Miley
(e-mail address removed)