Questions tagged [subforms]

Use this tag for questions related to Subforms, which are part of a bigger form.

78 questions
13
votes
2 answers

symfony2 form disable

I am using the same form to "preview" an object as I am to "edit/update" the same object. In my showAction() for the controller I have the following code: $form = $this->createForm(new SalesEntityType($entity), $entity, array('read_only' => true)…
Cosmtar
  • 516
  • 5
  • 14
4
votes
3 answers

How do I dynamically embed a winform subform into the tab control of a main winform?

Is there a way that I can hand a Winforms form object to a main form containing a tab control, and have the main form load this form object into one of the tabs? An additional wrinkle: the form object will be instantiated from a different thread…
Robert Harvey
  • 178,213
  • 47
  • 333
  • 501
4
votes
1 answer

Add multiple subforms of the same type

I'm working with forms and sub forms lately. I've created the following: $form = new Application_Form_Cv(); $experience = new Zend_Form_SubForm(); $form->addSubForm($experience, 'experience'); and I do have in my array an element 'experience'…
4
votes
1 answer

Change a subform's recordsource from another subform in Access

I am using MS Access 2003 and I have a form with two subforms (subform1 and subform2) which are not nested. They both display tabular data on them so they cannot be nested. I would like to change the recordsource on subform2 based on a value in…
Dkellygb
  • 866
  • 2
  • 8
  • 24
3
votes
2 answers

MS Access nested subforms link to main (parent) form

I am busy developing an MS Access 2007 application that requires the use of subforms with quite a complex user interface. I am aware on how to create a parent form and link to a subform so that it shows data relating to the parent form record, but…
nesquikcriminal
  • 51
  • 1
  • 1
  • 4
3
votes
1 answer

MS Access Too Many Subforms Error "There isn't enough memory to perform this operation"

I have an Access application (32-bit Office, Windows 7) with a form that displays a large number of sub-forms. Each sub-form shows information about a specific factory-floor status, and all need to be viewable at the same time. After a certain…
GSR
  • 31
  • 5
3
votes
2 answers

Creating a subform within a main form

I'm trying to mimic an access form where I have a subform embedded within a main form. The subform will be populated by a query based on the main form id. When the record changes the subform data will change. Is this possible to do in c#? I…
Jerry Warra
  • 304
  • 1
  • 4
  • 20
2
votes
0 answers

zend framework - group elements of a form within a subforms

Consider the case of an online CV. There will be a row containing a few input text for each education line and each experience line. I want to group each field in an education line and and an experience line in a subform. Then the total of those…
Nicolas de Fontenay
  • 2,170
  • 5
  • 26
  • 51
2
votes
2 answers

Enable/disable validation for angular form with nested subforms using `ng-form`

I need to enable/disable all validation rules in Angular form or subform under ng-form="myForm" based on a scope variable $scope.isValidationRequired. So, if isValidationRequired is false, none of the validations set for the designated group of…
tarekahf
  • 738
  • 1
  • 16
  • 42
2
votes
1 answer

New record in subform based on ID of main form

First I want to say that I'm a beginner in Access, and I will appreciate every bit of help I can get. I have created a form showing records from one of my tables with three subforms. The record and the subforms has a one-to-many relationship. I am…
Anders
  • 633
  • 2
  • 11
  • 21
2
votes
1 answer

Requery subform (1) after adding a new subform (1) record via pop-up subform (2) - Access 2007

I have a form with two subforms (1 and 2). Subform 1 stores the data continously for account breakdowns. Using a pop-up subform (subform 2), the user enters data to change or update the account breakdown stored on subform 1. On submit, the…
2
votes
0 answers

Capture from subform and send to mainform constantly

I did it, but too much exceptions occur Mainform.cs Subform subform = new Subform(); subform.GetCapture += new Subform.GetCapture(SetSubformImage); subform.Show(); //Set subform image to a pictureBox void SetSubformImage(Image img) { this.pic.Image…
trinvh
  • 1,500
  • 2
  • 11
  • 20
2
votes
2 answers

Have only one instance of a subform open at a time c#

I'm writing an application that uses a wizard-like series of 5 simple forms. The first form, NewProfile, is opened from a menu item on the main application, MainForm, so is a subform of MainForm. The second form, TwoProfile, is opened from a button…
user1791622
  • 105
  • 1
  • 2
  • 8
2
votes
2 answers

Access Subform Visibility

I have an access form that contains a dropdown list of form names populated from a table. When someone selects a particular item from the dropdown I want to be able to display 1 of the corresponding subforms. For example, I have Form 1, Form 2, Form…
designspeaks
  • 203
  • 2
  • 11
  • 22
2
votes
1 answer

Call to Mainform from Subform

I have an access database that has a form with a VBA populated date. Each time the form loads the date is automatically populated into the textbox labeled "Date". On this same form I have a subform that links to a seperate table for calculation…
designspeaks
  • 203
  • 2
  • 11
  • 22
1
2 3 4 5 6