过滤表单上的下一个按钮出现问题 [英] trouble with next button on a filtered form

查看:65
本文介绍了过滤表单上的下一个按钮出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人生病了吗? :D


我的表单上有一个按钮,打开一个新表单,但带有一个过滤器:

展开 | 选择 | Wrap | 行号

解决方案


有人生病了吗? :D


我的表单上有一个按钮,打开一个新表单,但带有一个过滤器:

展开 | 选择 | Wrap | 行号

有人会想到!然而,Entrainment_ID并没有在新记录中填充。



有人会想到!然而,Entrainment_ID并没有在新记录中填充。



不应该,过滤器不会限制进入某个领域的内容。

这不是你的原因吗?也在OpenArgs中传递了Entrainment_ID?这样您就可以将其指定为新记录的Entrainment_ID?但当然这也是它不断添加新记录的原因。将它分配为entrainment_id将其保存为仅包含该字段的新记录。


您可以做的是在表单关闭时,运行删除SQL,删除只有entrainment_id具有的所有记录其中的数据。


Anyone getting sick of me yet? :D

I have a button on my form that opens a new form but with a filter:

Expand|Select|Wrap|Line Numbers

解决方案

Anyone getting sick of me yet? :D

I have a button on my form that opens a new form but with a filter:

Expand|Select|Wrap|Line Numbers


One would think! And yet that Entrainment_ID isn''t getting populated on the new record.


One would think! And yet that Entrainment_ID isn''t getting populated on the new record.

It shouldn''t, a filter doesn''t limit what goes into a field.
Isn''t that why you passed the Entrainment_ID in OpenArgs as well? So that you can assign it as the Entrainment_ID for new records? But of course that''s also the reason why it keeps adding new records. Assigning it an entrainment_id saves it as a new record with just that one field.

What you could do is on form close, run a delete SQL that deletes all records where only the entrainment_id has data in it.


这篇关于过滤表单上的下一个按钮出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆