亲子数据库(MS ACCESS)
我正在尝试为医院项目建立一个数据库。我有两个以父子关系相关的表。我有一个用于添加新记录(还没有父记录的记录)的表单,并且我想构建允许我查看父记录的所有“子记录”并允许我编辑它们的表单。我希望此表单允许我以只能搜索一条父记录的方式搜索记录 回来了。
请参阅我的数据库 http://rapidshare.com/files/283207434/IC.mdb .html
- 检查名为“TEST”的表单。我无法让它工作,以便主表单控件可以充当过滤器来显示子表单中的子记录。我去过很多很多论坛,而我缺乏知识使得论坛标签几乎毫无用处。朋友告诉我,这个服务很快!如果有人愿意通过即时通讯或其他方式帮助这个可怜的灵魂,那就太好了!但我也愿意在这里与您合作:)希望很快能收到您的来信!
-谢谢 佐尔克米德
I'm trying to build a database for a hospital program. I have two tables that are related in a parent-child relationship. I have a form to add new records (records that dont already have a parent record) and I want to build forms that allow me to view all of a parent record's "children" as well as allowing me to edit them. I want this form to allow me to search for a record in such a way that only one parent record can be
returned.
Please see my database at http://rapidshare.com/files/283207434/IC.mdb.html
-check the form called "TEST". I can't get it to work so that the main form controls can act as filters to display the child records in the subform. I have been to many many forums and my lack of knowledge makes forum tag almost useless. A friend told me that this service was fast! If there is someone out there willing to help this poor soul over IM or something, that would be terrific! But I'm willing to work with you here too :) Hope to hear from you soon!!!
-Thanks
Zorkmid
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实际上没有涉及任何代码。根据其他论坛告诉我的,我不需要任何代码。以下是一位 MS MVP 的说法。我已经尝试了所有这些,但我无法查明错误。
根据主(父)表构建主表单。不要使用 sql 连接
There isn't really any code involved. From what other forums have told me, I don't need any code. Here's what a MS MVP said. I've tried all that, and I cant pinpoint the errior.
Build you main form based on the main (parent) table. DO NOT use a sql join