A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Use same form in each tab



 
 
Thread Tools Display Modes
  #1  
Old February 22nd, 2010, 01:16 PM posted to microsoft.public.access.forms
deb
external usenet poster
 
Posts: 898
Default Use same form in each tab

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.

--
deb
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:30 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.