打开表单后使用VB更改表单视图?
如何在打开表单后使用VB更改表单视图?
我正在使用Switchboard,就像向导加载它一样。我已经调整了外观和几行代码,但我不想修改它太多。
当我尝试加载一个具有属性集的表单时要仅作为数据表视图加载,交换机的VB代码会覆盖这些设置并将其加载到窗体视图中。
我可以在Form_Open或其他一些事件中使用VB来更改回到数据表?
我正在使用Access 2002 ....
James
How do I change the form view using VB after the form is opened?
I am using the Switchboard pretty much as the wizard loads it. I''ve tweaked the appearance and a couple of lines of code but I don''t want to modify it too much.
When I try to load a form with the properties set to load as Datasheet view only, the switchboard''s VB code overrides these settings and loads it in Form view.
Can I use VB in the Form_Open or some other event to change the view back to datasheet?
I''m using Access 2002 ....
James
如何在打开表单后使用VB更改表单视图?
我正在使用交换机就像向导加载它一样。我已经调整了外观和几行代码,但我不想修改它太多。
当我尝试加载一个具有属性集的表单时要仅作为数据表视图加载,交换机的VB代码会覆盖这些设置并将其加载到窗体视图中。
我可以在Form_Open或其他一些事件中使用VB来更改回到数据表?
我正在使用Access 2002 ....
James
How do I change the form view using VB after the form is opened?
I am using the Switchboard pretty much as the wizard loads it. I''ve tweaked the appearance and a couple of lines of code but I don''t want to modify it too much.
When I try to load a form with the properties set to load as Datasheet view only, the switchboard''s VB code overrides these settings and loads it in Form view.
Can I use VB in the Form_Open or some other event to change the view back to datasheet?
I''m using Access 2002 ....
James
对于要打开的表单,更改默认视图和允许的视图的格式选项卡下的属性,以便两者都设置为数据表。
For the form being opened change the properties under the format tab of Default View and Views Allowed so both are set to Datasheet.
对于要打开的表单,请更改默认视图和允许的视图的格式选项卡下的属性,以便将两者都设置为数据表。
For the form being opened change the properties under the format tab of Default View and Views Allowed so both are set to Datasheet.
我试过这个,它仍然在Form视图而不是数据表视图中打开。我认为这是因为Switchboard向导创建的VB代码:
I tried this and it still opens in Form view instead of Datasheet view. I think this is because the VB code created by the Switchboard wizard:
I试过这个,它仍然在窗体视图而不是数据表视图中打开。我认为这是因为Switchboard向导创建的VB代码:
I tried this and it still opens in Form view instead of Datasheet view. I think this is because the VB code created by the Switchboard wizard: