如何用语法框中的值替换语法中的表单名称? [英] How to replace the name of a form within the syntax with the value in a textbox?

查看:68
本文介绍了如何用语法框中的值替换语法中的表单名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含3个子表单的表单,名称为sub1,sub2和sub3。每个子表单都有一个弹出相同表单的按钮。当用户单击子表单按钮时,调用弹出窗体的子窗体的名称将存储在隐藏文本框中,以便一旦关闭弹出窗体,子窗体的名称可用于重新查询子窗体。重新查询子表单的语法是:

I have a form that contains 3 sub forms with the names sub1, sub2 and sub3. Each sub form has a button that pops up the same form. When the user clicks on the sub form button, the name of the sub form that called the popup form is stored in a hidden textbox so that the name of the sub form can be used to requery the sub form once the popup form is closed. The syntax to requery the sub form is:

展开 | 选择 | Wrap | 行号

推荐答案

privateguy,


它可能很简单:

privateguy,

It may be as simple as:

展开 | 选择 | Wrap < span class =codeDivider> | 行号


twinnyfo,


感谢您的回复。我希望就这么简单。不幸的是,这不起作用。它会导致以下错误编译错误:预期的标识符或括号中的表达式。
twinnyfo,

Thanks for responding. I wish it was that simple. Unfortunately, that does not work. It causes the following error "Compile error: Expected identifier or bracketed expression."


twinnyfo,


我也尝试使用括号。使用我导致另一个错误。

删除我导致无法找到该字段的错误。
twinnyfo,

I tried using brackets as well. Using "me" causes another error.
Removing the "me" causes the error that it cannot find the field.


这篇关于如何用语法框中的值替换语法中的表单名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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