Use same form in each tab

D

deb

Using Access 2003

I have a main form with tabs.
Within each tab I need a subform that is used to store links to attachments.

Is it possible to use the same form that I created for saving links to
attachments within each form on the other tabs?
If this is possible,
How do I change the row source in the AttachmentType field.
How do I change the WHERE clause for each form?
How do I make it change the attachment subform's combo box's row source when
user click on the specific tab?

Main Form is f001ProjectReview (PK ProjectID)
Tabs are Financial, Outages, Shipping and Contracts
Subform I want to use is f020Attachments (PK AttachmentID, SK ProjectID)
with a combo box called AttachmentTypeSubID

The current row source for the combo box is ...
SELECT t22AttachTypeSub.AttachTypeSubID, t22AttachTypeSub.AttachmentType,
t22AttachTypeSub.AttachmentTab
FROM t22AttachTypeSub
WHERE (((t22AttachTypeSub.AttachmentTab)="Financials"))
ORDER BY t22AttachTypeSub.AttachmentType;


Thank you in advance for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top