如何通过代码更改活动的.MDW? [英] How to change the active .MDW by code ?

查看:102
本文介绍了如何通过代码更改活动的.MDW?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过代码(在表单中)将活动的.mdw更改为另一个

一个?


当我打开数据库时我有system.mdw在一些程序之后活动我需要更改为另一个secure.mdw并激活,但我买了

喜欢它来通过代码内部来实现它在按钮命令中单击表单。

(我不想让它想到工具栏菜单。)


有人可以帮忙吗?


提前问候并感谢

Javier Gomez

Is it posible to change by code (in a form) the active .mdw by another
one ?

When I open the DB I have the system.mdw active after some procesess I
need to change to another secure.mdw and make active, but I bought
like it to make it by code inside of a form in button command click.
(I do not want to make it thought tools bars menu.)

Can anybody help ?

Regards and thanks in advance
Javier Gomez

推荐答案

您能否再多说一下为什么你想改变mdw文件吗?

这听起来有点奇怪...


" Javier Gomez" < JA ***************** @ gmail.com>在消息中写道

news:89 ************************** @ posting.google.c om ...
Could you say a little more about why you want to change mdw files?
It sounds like rather an odd thing to be doing...

"Javier Gomez" <ja*****************@gmail.com> wrote in message
news:89**************************@posting.google.c om...
是否可以通过代码(在表单中)将活动的.mdw更改为另一个?

当我打开数据库时,我有了系统。 mdw在一些程序后活动我需要更改为另一个secure.mdw并激活,但是我按照按钮命令点击表单内的代码来制作它。
(我不想让它想到工具栏菜单。)

有人可以帮忙吗?

提前问候和感谢
Javier Gomez
Is it posible to change by code (in a form) the active .mdw by another
one ?

When I open the DB I have the system.mdw active after some procesess I
need to change to another secure.mdw and make active, but I bought
like it to make it by code inside of a form in button command click.
(I do not want to make it thought tools bars menu.)

Can anybody help ?

Regards and thanks in advance
Javier Gomez



MacDermott写道:
MacDermott wrote:
你能不能多说一下你为什么要改变mdw文件?
这听起来有点奇怪要做...
Could you say a little more about why you want to change mdw files?
It sounds like rather an odd thing to be doing...




为什么奇怪?我不介意自己能做到这一点。我有一个应用程序

使用标准system.mdw,Admin,无密码,所有安全性由SQL Server处理
。我不得不与某人接口

else'的安全mdb文件以获取数据输入/输出,例如另一个部门有

编写了他们自己的文件控制系统,我需要一份文件清单

发送RFQ,商业上我可以访问这些数据,

技术上我无法得到它(直接无论如何)。


-

这个sig故意留空


ADO应该为您提供这些数据 -

只需在连接字符串中包含mdw,登录名和密码。


Trevor Best <无**** @ besty.org.uk>在留言中写道

news:42 ********************** @ news.zen.co.uk ...
ADO should get you this data -
just include the mdw, login and password in your connection string.

"Trevor Best" <no****@besty.org.uk> wrote in message
news:42**********************@news.zen.co.uk...
MacDermott写道:
MacDermott wrote:
你能不能多说一下你为什么要改变mdw文件?
这听起来有点奇怪......
Could you say a little more about why you want to change mdw files?
It sounds like rather an odd thing to be doing...



为什么奇怪?我不介意自己能做到这一点。我有一个应用程序
使用标准system.mdw,Admin,无密码,所有安全性由SQL Server处理。我不得不与某人
其他人的安全mdb文件接口以获取数据输入/输出,例如另一个部门已经编写了自己的文档控制系统,我需要一个文档列表来发送RFQ,商业上我可以访问这些数据,技术上我不能得到它(直接无论如何)。

-
这个sig故意留空



Why odd? I wouldn''t mind being able to do this myself. I have an app
that uses the standard system.mdw, Admin, no pasword, all security
handled by SQL Server. Now and again I have to interface with someone
else''s secured mdb file to get data in/out, e.g. another dept has
written their own system for document control and I need a list of docs
to send on an RFQ, commercially I am allowed access to this data,
technically I can''t get at it (directly anyway).

--
This sig left intentionally blank



这篇关于如何通过代码更改活动的.MDW?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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