> Hi Allen,
>
> Thank you for replying..
>
> Mine initial vision was to pull records not individual field from various
> table and put it in ActiveX Control Calender9.0, but don't think be able
> to
> do it so I decided to do it in subform.
> Allow me to quote you an example:
>
> I am doing a Leave application, before superior approve leave of staff,
> he/she needed to see who is on leave (from the same department) on that
> particular day.
>
> Mr Allen Annual Leave : 4/12/08 - Approved
> Mr Browne Child Care Leave : 2 to 4/12/08 -Approved
> Ms Tina Exam Leave : 3 to 6/12/08 -Approved
>
>
> Now
> Mr Edison Annual Leave : 4/12/08 -Pending
>
> So When Their Superior Login to approve Mr Edison leave, he should be able
> to
> view 3 Leave respectively- Mr Allen(Annual Leave), Mr Browne(Child Care
> Leave)
> , Ms Tina(Exam Leave)
>
> If I should put a subform_name.recordsource = ExamLeave_Table, I can't
> extract data from AnnualLeave_Table.
>
> Allen Browne wrote:
>>> I had a form that need to look up records from multiple table and insert
>>> them
>>> into my form controls (certain values but standard Field & Name for
>>> different
>>> Table)
>>
>>You may be able to create a UNION query that draws records from multiple
>>tables, and assign that as the RecordSource for your form. Results will be
>>read-only, and the number of source tables is limited.
>>
>>A better solution would be to create a relational design, where you have
>>put
>>all the entities that are of the same type into one table, rather than
>>have
>>multiple tables with essentially the same fields.
>>
>
> --
> Message posted via AccessMonster.com
>
http://www.accessmonster.com/Uwe/Forums.aspx/access-formscoding/200812/1>