简体   繁体   English

ms-access:是否可以将访问表单与DB分开保存?

[英]ms-access: is it possible to save an access form separately from DB?

i have a front end access with a bunch of forms and reports. 我可以访问大量表格和报告。 i want to be able to save one of the forms by itself to its own file. 我希望能够将其中一种形式保存到自己的文件中。 how do i do it? 我该怎么做?

You can use the undocumented SaveAsText method to save your form as a plain text file. 您可以使用未记录的SaveAsText方法将表单另存为纯文本文件。

Application.SaveAsText acForm, "frmLinks", CurrentProject.Path & Chr(92) & "frmLinks.txt"

You can use SaveAsText for other object types, too. 您也可以将SaveAsText用于其他对象类型。 Perhaps you would also be interested in saving acReport object types? 也许您还对保存acReport对象类型感兴趣?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM