R
Ralph Wischnewski
I have created a simple dispatch system.
The dispatcher selects a "Project" and then a "Unit"
within the project to which a mechanic is dispatched for
service. One of the feilds of the Unit is "Model" (Model
is a text feild).
I have been requested to send e-mails if a certain model
type(Millennium) is subject to a service call. I have
created a Command button(CmdMillCalls) on the dispatch
form (FCALL)from which the e-mails are being sent. I want
this command button to appear on the form only if the
model is the one subject to being e-mailed. I have
choosen the forms "OnCurrent" property to set the command
buttons visibilty as follows:
If Model <> "Millennium" Then Forms!FCALL!
CmdMillCalls.Visible = False
Can someone please tell me why this does not work. Is
there a better way of acheiving my objective.
Thank you
The dispatcher selects a "Project" and then a "Unit"
within the project to which a mechanic is dispatched for
service. One of the feilds of the Unit is "Model" (Model
is a text feild).
I have been requested to send e-mails if a certain model
type(Millennium) is subject to a service call. I have
created a Command button(CmdMillCalls) on the dispatch
form (FCALL)from which the e-mails are being sent. I want
this command button to appear on the form only if the
model is the one subject to being e-mailed. I have
choosen the forms "OnCurrent" property to set the command
buttons visibilty as follows:
If Model <> "Millennium" Then Forms!FCALL!
CmdMillCalls.Visible = False
Can someone please tell me why this does not work. Is
there a better way of acheiving my objective.
Thank you