flow.run从下拉列表中选出的文本

发布于 2025-02-01 12:00:30 字数 419 浏览 3 评论 0原文

一直在试图弄清楚为什么在过去几个小时内无法使用这种情况。谷歌搜索了尽可能多的运气。我正在尝试从下拉列表中选择文本,然后点击“按钮”,然后将其导入到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);

enter image description here

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

海之角 2025-02-08 12:00:30

根据如何配置您的下拉菜单,解决控件返回记录。您想在下拉菜单中获取所选记录的值。因此,更改(假设您的下拉列表称为“状态”),

Status.Value

Status.Selected.Value

不仅仅是复制并粘贴它。输入并观看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")

Status.Value

to

Status.Selected.Value

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 use Workorder instead of Status (am I really writing this?)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文