帮助构建查询以链接表单的多个表。 [英] Help to Build Query to Link Multiple Tables for a Form.

查看:59
本文介绍了帮助构建查询以链接表单的多个表。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我正在尝试为非营利组织建立一个数据库,这是一个志愿者工作,周围没有人来指导我。根据我的学习情况,我可以建立一些报告和表格,但我感到卡在了一点。


我有两张桌子tblWorkers和tblLocations(位置和志愿者位置以及开始和结束)时间使用查找wiz。)并使用tblJunction建立关系。


我需要建立一个表格,显示志愿者的详细信息和子表格,以便在我得到任何人的确认时立即填写志愿者的时间表(地点,日期和时间) 。我尝试建立一个,但它不起作用。


有人可以指导我应该运行哪个查询链接两个表格,只显示那些可能表示愿意参加此活动的志愿者。


我真的不想让这些人失望任何形式的指导都会受到赞赏。在此先感谢......

解决方案

您好,

如果您可以使用以下格式发布三个表的MetaData:
发布表/数据集元数据

展开 | 选择 | Wrap | 行号


在Access中你想要你的表单将其数据源作为查询。我不建议创建一个查询来执行此操作。如果您拥有所谓的noramlized数据库,您应该能够真实地链接数据而不创建查询。在某些情况下,查询不允许您输入新数据。如果你想通过gmail dot com给我发送jpgomez80的文件,我会尽我所能来帮助你。请确保在压缩时将.zip扩展名重命名为.doc,因为gmail不再接受zip文件。或者我建议您首先访问此链接了解访问权限。请不要采用这种精明的方法,但在提出问题之前,了解基本原则非常重要。这个网站将帮助任何新手用户创建一个基本数据库。


让我知道你的想法。


我将从建立志愿者表格开始并添加一个具有唯一志愿者ID和名称的新组合框。该向导将提供三个选项,当您选择查找选项(#3)时,可以使用该选项轻松选择志愿者。

接下来为tblJoin添加子表单并接受建议的链接。

这将同步子窗体以显示活动志愿者的行,并添加新行将自动填充志愿者ID。


Nic; o)

Hi,

Am trying to build a database for non-profit organisation, its a volunteer job and nobody around to guide me. From my learning I could able to build few reports and forms but am feeling stuck at one point.

I have two tables tblWorkers and tblLocations (locations & volunteer positions & start and end time using lookup wiz.) and made relationship using tblJunction.

I need to build a form which shows volunteers details and a sub-form to directly fill the volunteers schedule (location, date and time) as soon as I get confirmation from any of them. I tried building one but its not working.

Could somebody guide me what query should I run which link both tables and show me only those volunteers who may shown willingness for this event.

I really dont want to disappoint these people any sort of guidance would be appreciated. Thanks in advance......

解决方案

Hi,
If you can post the MetaData for your three tables in this format :
Posting Table/Dataset MetaData

Expand|Select|Wrap|Line Numbers


Well in Access you want your form to have its data source as the query. I would not recommend creating a query to do this. If you have what is called a noramlized data base you should be able to link the data realtionally with out creating queries. In some cases queries will not allow you enter new data. if you want to email me the file at jpgomez80 at gmail dot com, I will do my best to assist you. Please make sure when you zip it that you rename the .zip extension to .doc as gmail does not accept zip file any longer. Or I would recommend you go to this link first Learn Access. Please don''t take this a shrewed method, but it is important you understand the fundamentals before you procceed in asking questions. This site will assist any novice user in creating a basic database.

let me know your thoughts.


I would start with building a volunteers form and add a new combobox with the unique volunteerID and name. The wizard will give three options and when you se the lookup option (# 3), then that can be used to select a volunteer easily.
Next add a subform for the tblJoin and accept the proposed link.
This will synchronize the subform to show just the rows for the active volunteer and adding new rows will automatically fill the volunteerID.

Nic;o)


这篇关于帮助构建查询以链接表单的多个表。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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