Using the value from a Combo Box or Auto Complete field in Access Web App.
Hi All,
I'm using the Office 365 Access Web App to create a nice documentation system. Mostly I have it running the way I want, but I'm banging my head on something very simple, I just don't see it. :banghead:
On my main form I have a checkbox which is used to let our support engineers now if there is a project going on with that specific customer. Also on that main field is a Textbox for the ProjectNumber and the ProjectManager (Lookup from a table of ProjectManagers)
For now a simple MessageBox saying: "Attention: This customer has a Project ([ProjectNumber]) in progress, please contact [ProjectManager] for more information." is all that I need. Pretty straight forward, but I'm getting a number returned, instead of the selected Project Manager.
Here's what I've created:
The above results in a MessageBox with the intended text, including the ProjectNumber, but instead of showing the ProjectManagers name, it shows a number (which I asume is the ID of the record)
Can anyone please tell me what I'm doing wrong?
Thanks,
Lucas
Hi All,
I'm using the Office 365 Access Web App to create a nice documentation system. Mostly I have it running the way I want, but I'm banging my head on something very simple, I just don't see it. :banghead:
On my main form I have a checkbox which is used to let our support engineers now if there is a project going on with that specific customer. Also on that main field is a Textbox for the ProjectNumber and the ProjectManager (Lookup from a table of ProjectManagers)
For now a simple MessageBox saying: "Attention: This customer has a Project ([ProjectNumber]) in progress, please contact [ProjectManager] for more information." is all that I need. Pretty straight forward, but I'm getting a number returned, instead of the selected Project Manager.
Here's what I've created:
Code:
[B]If[/B] [ProjectYes_No]=1 then
[B]setVariable[/B]
Variable varMessage
Value = "Attention! This customer has Project "+[ProjectNumberTekst]+" in progress, please contact "+[ProjectManagerCmb].[Value]+" for more information."
[B]MessageBox[/B]
Message =[varMessage]
[B]End If[/B]
The above results in a MessageBox with the intended text, including the ProjectNumber, but instead of showing the ProjectManagers name, it shows a number (which I asume is the ID of the record)
Can anyone please tell me what I'm doing wrong?
Thanks,
Lucas
Last edited: