如何将值传递给表单

编程入门 行业动态 更新时间:2024-10-27 00:24:04
本文介绍了如何将值传递给表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我尝试将数据传递给表单(从列表中打开某个寄存器到表单中)。我使用了DoCmd.OpenForm程序,并传递了数据。但它不起作用。有人可以帮助我吗?

I tried to pass data to a Form (to open a certain register from a list into a Form). I used DoCmd.OpenForm procedure, and passed the data. but it does not work. Can somebody help me?

展开 | 选择 | Wrap | 行号 推荐答案

Alvaro,我们可以猜到[ FrmMenu ]是一种形式,但是: Alvaro, We can guess that [FrmMenu] is a form, but what are :
  • [SubQryInfoUtilProximasPartidas]?
  • [c_ficha]?
  • 你告诉我们它不起作用,但你没有告诉我们实际发生的事情。它以什么方式起作用?你看到它什么时候运行? 如果你想让我们提供答案,你需要向我们提出一个问题。

    You tell us it does not work, but you give us no clues as to what actually happened. In what way doesn''t it work? What do you see when it runs? You need to provide us with a question if you want us to provide an answer.

    NeoPA, 首先,非常感谢您的回答。 Hi, NeoPA, First of all, thanks a lot for answering. 展开 | 选择 | 换行 | 行号

    这是一个很好的回复阿尔瓦罗,但我还有一些我不明白的观点。让我看看我是否可以提供一些更有编号的问题。请按答案显示问题编号: That''s a good reply Alvaro, but I still have some points I don''t understand. Let me see if I can help with some more numbered questions. Please show the question number by each answer :
  • [表格]![ FrmMenu ]![ SubQryInfoUtilProximasPartidas ]![ c_ficha ] 上面表达式中的[ SubQryInfoUtilProximasPartidas ]是什么? SubQry表示子查询,但子查询作为表单上的控件是没有意义的。可以使用子表单,但子表单的命名很奇怪。请解释。
  • 上面的表达式是什么[ c_ficha ]? 如果[ SubQryInfoUtilProximasPartidas ]是一个子表单那么它可能是对该子表单的控制,但它控制的是什么类型的控件和它反映的数据类型(数字?字符串?日期?)?
  • [C_Ficha]是记录中的一个字段[ FrmMenu ]有记录来源吗?
  • [Forms]![FrmMenu]![SubQryInfoUtilProximasPartidas]![c_ficha] What is [SubQryInfoUtilProximasPartidas] from the expression above? SubQry indicates a subquery, but subqueries wouldn''t make sense as a control on a form. A subform may, but the naming is strange for a subform. Please explain.
  • What is [c_ficha] from the expression above? If [SubQryInfoUtilProximasPartidas] is a subform then it could be a control on that subform, but what type of control and what type of data does it reflect (Numeric? String? Date?)?
  • Is [C_Ficha] a field on the record that [FrmMenu] has as a record source?
  • 如果对这些问题有明确的答案,我想我们可以一起解决你的问题。

    With clear answers to these questions I think we can resolve your problem together.

    更多推荐

    如何将值传递给表单

    本文发布于:2023-07-22 13:38:40,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1187983.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:表单   如何将

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!