Attaching Subforms To Buttons

Nov 9, 2004

Hi,

Probably an easy one, but I'm stuck!

I'm dealing with quite a complex database and trying to make use of many subforms to minimize data entry and errors. I only want certain subforms to be visible through the use of a button, since for many records, the subform will not be needed. Upon clicking the button, I would like the subform to appear and related fields to be populated. I am already aware of how to attach buttons to open a form, however, I need the related field (child field) of the subform to be populated upon opening the form and this does not seem possible merely through opening a form by way of a button.

Any help would be greatly appreciated, I'm currently at a a standstill.

View Replies


ADVERTISEMENT

Command Buttons Open Subforms

Feb 1, 2005

I am attempting to create a form "frmROrder" with two command buttons, daily detail, and annual detail. Is there a way for me to set frmROrder up so that If I click on cmdDaily it opens subform frmROrderDaily or if I click on cmdAnnual, it opens subform frmROrderAnnual? Thanks for your help!

View 2 Replies View Related

Round Buttons Or Oval Buttons Instead Of The Normal Square Buttons

May 30, 2005

Hello everybody,

I’m new here and I have a question for you..

Is it possible to place round buttons or oval buttons on your forms instead of the normal square ones?

Greets,

Tom

View 2 Replies View Related

Attaching PDF File

Oct 11, 2005

I'm creating a simple db on shared network drive and I need to upload or attach documents into it. Mainly PDF but may need to add .doc or .xls. I cannot use hyperlink since I cannot store the files where they are easily accessed due to security issues. So my only recourse was to create a secured db. Size is not an issue due to limited use. How do I do this?

Thanks
Chuck

View 4 Replies View Related

Attaching Files

May 23, 2006

This might be impossible, but I was wondering if there was a way to attach files to records on a form. I work for a marketing company and I have built a contact management database and I need to attach files such as letters and emails to records on a form. I also would like a list of files attached to that record to display also. I don't know if this makes sense or if it is possible. Any help would be greatly appreciated.

Nick

View 2 Replies View Related

Attaching Documents

Jun 7, 2007

Please advise how to attach documents within a database. I have Office XP (2002).

View 1 Replies View Related

Attaching Pictures To Records

Aug 14, 2005

I've built a database to attach pictures of people to their records. In the table it's designed as an "OLE Object". When you goto the form you can click on the box, tell it to insert object, find the file, and the picture can be displayed to the record.

I've since learned that this process inflates the database and with the recent update changes from Microsoft (removing Photo Editor) I'm trying to learn to create databases to insert pictures having the same result but won't inflat the database.

I've learned of a view method to insert pictures that are a little more complicated to create using coding. My problem with this method is you would have to type in the file location manually to get the picture to attach. I'm working in a location that needs this process to be simpler then that. I need to find a way to browse for that picture instead of having to type in the file location manually.

HELP!

View 1 Replies View Related

Help: Attaching Several Products To One Customer

Aug 17, 2007

Hi, I'm not even sure how to describe my problem in the proper terms in order to look it up in any faq or tutorial.

I have one table, customers. Their name, number, etc.
Another table, products: Name, id, department, etc.
And the final table being orders. Customer bought product when, etc.

However, I'm only able to attach one product to each customer per order. I need to be able to attach any number of products, and I don't know how to go about doing that.

Also, when I create a form for entering all the data to these tables, the information doesn't stick. I create a form using the order table, enter the order and customer information, and have the products as a subform. The information will stick for each table, but they won't connect to each other.
If that makes any sense...

Any pointers would be great thanks, I don't even know where to start.

View 5 Replies View Related

Attaching Files In Access 2000

Sep 26, 2006

Hi,

Is it possible to attach files (word, excel, emails etc) to records in Access?

I want to build a simple contact database that will enable me to add a word document to John Smith, for example

Regards

Djuro:cool:

View 1 Replies View Related

Attaching Files To Access Database

Mar 21, 2005

hello, im actually trying do design a database with attached
word files, ie the persons information and his attached cvs
i never done that before and im confused, should i attach all the cvs(words documents) to the database ie can i create a field which is a word document or i should put all the cvs in a folder outside the DB and put a link to them in the table taking into consideration that it s gonna be a big database, and if so can the user attach a file to the database using a button ie in the forms
thanks in advance

View 11 Replies View Related

Attaching Files Of Different Types To Table Field Thru VBA

Apr 23, 2007

Hi Everyone,

I have a PO table. Each PO has 3 documents of multiple types (one may be Word, other may be Excel, Acrobat). When I display the PO, the attachments should be shown as Icons, which when double-clicked, will open in its own Application.

I have a pop-up screen where I enter new PO details. In this screen, I have Attach/Detach buttons for each of the Documents.

My Requirement:
When I press 'ATTACH' of Doc1, the File Selection screen should be displayed from where the user will select the file to be attached. This file should be updated into the table field "doc1".

When I press 'DETACH' of Doc1, the file in table field "doc1" must be cleared.

How can I achieve this???:mad:

View 1 Replies View Related

Attaching Hyperlink File To An Email Through Code

Dec 4, 2006

A have a table with many records and each record has a hyperlink to a document. Based on some criteria i want to attach the hyperlink file to an email. Don't want to have to do this manually. Is there anyway i can write code to go and get the hyperlink file and then attach the physical file into the email? This could result in 1 file being attached, 13 files being attached, 0 files etc.

Any help would be greatly appreciated.

Cheers,

Combsie.

View 5 Replies View Related

General :: Button Attaching Documents To Forms

Jul 18, 2012

I'm trying to use this API in my database to be able to attach documents to my forms. [URL] .....

Do I have to put this into its own Module? I'm not familiar with how the code is defining Types and declaring Global variables.

View 5 Replies View Related

Attaching Dates To Drop Down Check Boxes

Feb 10, 2014

I want to be able to attach a date field to a dropdown check box. For example, say I have a client who we submit multiple deliverables to on different dates. I want to be able to check the deliverables submittted and add the date for that deliverable (each deliverable has a different date). image which is how the drop down is currently set up.

View 3 Replies View Related

Change Colour Of Navigation Buttons And Command Buttons?

Mar 17, 2006

Is this possible? I can't seem to find this q anywhere here so I thought I'd post.

I changed the colour of my form to white, but the Navigation Buttons at the bottom and the command buttons that I 've added stay at the default grey.

Is there anyway to change this? I right-clicked and tried changing it to white through the properties but there's nothing there that does this.

:confused:

View 2 Replies View Related

Change Colour Of Navigation Buttons And Command Buttons?

Mar 17, 2006

Is this possible? I can't seem to find this q anywhere here so I thought I'd post.

I changed the colour of my form to white, but the Navigation Buttons at the bottom and the command buttons that I 've added stay at the default grey.

Is there anyway to change this? I right-clicked and tried changing it to white through the properties but there's nothing there that does this.

:confused:

View 4 Replies View Related

How To Link Subforms To Other Subforms On An Unbound Form

Feb 4, 2006

I forum could someone tell me:

I have an unbound form on that form I want to put three sub forms one on a products table the other on a course start dates table and the link table that joins the other two together. all three are related to each other with Pk/FK links.

When I try to link them it says you cannot link items on an unbound form.

regards in advance
Peter:eek:

View 1 Replies View Related

Modules & VBA :: Attaching Word Document To Attachment Field For Every New Record

Jan 12, 2015

I'm trying to work out how to attach a word doc to the attachment field of a table when I add a new Record. The following code work's fine if I add it to the On Load Event on the Form, but the doc is attach'd to the first record. When I add the code to the Add New Record button, I get the error msg: "File already part of the Multi-Valued Field" and nothing in the attachment field.

Code:
Private Sub Add_Record_Click()
DoCmd.GoToRecord , , acNewRec
Me.Description.SetFocus
On Error GoTo Err_AddImage
Dim db As DAO.Database
Dim rsParent As DAO.Recordset2
Dim rsChild As DAO.Recordset2

[Code]...

View 8 Replies View Related

Attaching WP, Excel, Adobe Files To An Access Database Form Using A Control Key

Oct 18, 2006

Is it possible to attach a WP, Excel, or Adobe file to a form, possibly by using a control key? How?

View 6 Replies View Related

Subforms

Jun 28, 2007

I have a form with 5 subforms in it.

I am using recordsets to step through a table that contains a field with the names of the subforms.

Depending on the code, I want to make visible or hide the subform for that particular record.

ie Table has 5 records with a field called subForm. the values are as follows:

Record1: Field1: Value="Yes" Field2: Value="subForm1"
Record2: Field1: Value="Yes" Field2: Value="subForm2"
Record3: Field1: Value="Yes" Field2: Value="subForm3"
Record4: Field1: Value="No" Field2: Value="subForm4"
Record5: Field1: Value="Yes" Field2: Value="subForm5"

When I step through the table if the code finds "No" in Field1 then id makes the subform referred to in Field2 invisible and if it finds a "Yes" it makes it visible.

Can anyone help me with this?

View 2 Replies View Related

SubForms

Dec 13, 2005

Does anyone know how to have a datasheet view in a subform fill the top of the main form?
I want to be able to see the records in a datasheet view and when the record in the datasheet view is selected it prefills the top of a form ?

View 1 Replies View Related

Subforms

Feb 18, 2005

This is a question from yesterday that a member had helped me out with.

I have additional questions while I am waiting for response from him. If anyone of you can help, I would really appreciate it.


1. How can I make a form that gathers information from multiple tables?
2. Lets say it is possible, how does this info get saved to these multiple tables when the user clicks on the next record button on the record navigator.

Thanks for the assistance!

View 2 Replies View Related

Subforms

Aug 12, 2005

is it possible to have more then 2 subforms?

Lynda

View 1 Replies View Related

Many-To-Many And Subforms

Sep 18, 2005

Heya --

So if I haven't scared everyone away with the post's title, maybe someone out there can help me. I need it.

I have a many-to-many relationship with the following tables:

Companies
CompaniesProjects
Projects

I also have a query with the following:

CompaniesProjects.CompanyId
CompaniesProjects.ProjectId
Projects.*

Pretty straightforward. Now, I have a form to view Companies, inside of which is a subform listing Projects associated with the Company using the above query.

The issue that is stumping is that I would love to be able to add a new project from the subform. I thought it would be pretty easy, but I'm totally dry. I guess I need to grab the CompanyId from the parent form, and assign it to the new record before I can add any more data to the new record. But I have no idea how to do this, or even if it is the right thing to do.

Any help would be _greatly_ appreciated. I've been slamming my head against a wall with this for two weeks.

-Lucas

View 2 Replies View Related

Subforms?

Nov 29, 2005

Hi,
I have 3 tables : Products, Description and ProductDescription. Products can have more then 1 description, Descriptions can be used by more then 1 product, that is why the third tabel ProductDescription exists (normalizing..:) ). The Productdescription table has 3 fields: id, productid, descriptionid.

I want a form in which you choose a product, then you see all the descriptions along with it. In this same form I want to be able to add a description, e.g. by pushing a button NEW. After that user enters description form etc. After returning to the mainform, a new record must be automatically added to the ProductDescription table and ofcourse a new record has been added to the Description table. I thought I would use subforms to realize this but it isn't working..:( . I have tried so many things that I dont know anymore what to do, i am totally confused. I know how to program in VB and ACCESS, but for now i don't see it anymore. Can someone please help me with this?

I just need to know how to start, what to use as subform and what as masterform, which links between fields, etc

nelleh:rolleyes:

View 2 Replies View Related

Subforms

Jan 17, 2005

Just a quicky.
I am trying to design a form with three subforms.
I keep getting tblXXX not in recordset.
Is there perhaps something wrong with my relationships?
Thanks,
Brian.
Zimbabwe.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved