数据表不会填充 [英] Datasheet wont populate

查看:56
本文介绍了数据表不会填充的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨大家好


我正在开发一个程序来运行MS ACCESS,最终是MS ACCESS Runtime,但是,我有一个问题。我创建了一个包含3个子表单的表单。我成功填充了其中2个子表单,现在我正在尝试填充第3个子表单,这是一个新表单(frm_WeightBrowser),它包含自己的子表单(称为frm_WeightGrid的第3级子表单)。这个子表单是我想要动态填充的数据表。我现在尝试填充,并使用以下代码:

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

解决方案

< blockquote>你是如何调用代码的?它无论如何,所以你需要从事件过程中调用它。


我用其他3个子表单之一用以下代码调用它:

展开 | 选择 | Wrap | 行号


当你说它不起作用时,它会做什么?您是收到错误消息还是没有发生任何事情或是否会返回意外结果?


Hi Guys

I am developing a programme to run off MS ACCESS, and eventually MS ACCESS Runtime, however, I do you a problem. I have created a form with 3 subforms on it. I have populated 2 of these subforms successfully, now I am trying to populate the 3rd subform which is a new form (frm_WeightBrowser) which contains its own subform (3rd level subform called frm_WeightGrid). This subform is a datasheet which I want to populate dynamically. I am trying to populate simply for now, and using the following code:

Expand|Select|Wrap|Line Numbers

解决方案

How are you calling your code? It isn''t in any event, so you will need to call it from an event procedure.


I am calling it from one of the other 3 subforms with the following code:

Expand|Select|Wrap|Line Numbers


When you say it doesn''t work, what does it do? Do you get an error message or does nothing happen or does it return unexpected results?


这篇关于数据表不会填充的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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