flow.run从下拉列表中选出的文本
一直在试图弄清楚为什么在过去几个小时内无法使用这种情况。谷歌搜索了尽可能多的运气。我正在尝试从下拉列表中选择文本,然后点击“按钮”,然后将其导入到SQL。如果我只是您的文本字段,我可以使它起作用,但是由于某种原因,下拉列表无论我做什么,下拉菜单都无法正常工作....
SQLInsert.Run(WorkOrder.SelectedText, Status.Value, Date.text);
“ rel =“ nofollow noreferrer”> < 。
Been trying to figure out why this wont work for the past few hours. Googled as much as I could with no luck. I'm trying to select the text from a dropdown to then hit the "button" and it import to SQL. I can get it to work if I just you text fields, but for some reason the dropdown will just not work no matter what I do....
SQLInsert.Run(WorkOrder.SelectedText, Status.Value, Date.text);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据如何配置您的下拉菜单,解决控件返回记录。您想在下拉菜单中获取所选记录的值。因此,更改(假设您的下拉列表称为“状态”),
而
不仅仅是复制并粘贴它。输入并观看IntelliSense,因为根据如何设置下拉列表,“值”实际上可能是不同的,但是它将在您键入
status.sectect.celected之后在Intellisense中显示。
edit 。 :如果下拉列表未称为状态,而是其他内容,例如
workorder
,只需使用workorder
而不是status> status
(我真的在写这个吗? )Depending how your dropdown is configured, addressing the control returns a record. You want to get the value of the selected record in the dropdown. So, change (assuming that your dropdown is called "Status")
to
Don't just copy and paste that. Type it in and watch the intellisense, because depending on how the dropdown is set up, the "Value" may actually be something different, but it will show in the intellisense after you type
Status.Selected.
Edit: If the dropdown is not called Status, but something else, like
Workorder
, just useWorkorder
instead ofStatus
(am I really writing this?)