Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
-->
A field group is a collection of fields that the system treats as one item. A field group can appear on multiple forms. When you add or remove a field from a field group, the field is immediately added or removed from each form where the field group appears. For more information about field groups, see Defining Field Groups.
To create a field group, you use the Application Object Tree (AOT) to add the field group and its fields to a table. For detailed information about how to create a field group, see How to: Create a Field Group. You also use the AOT to assign the field group to the form where you want the field values to appear.
Creating and Assigning Field Groups by Using the AOT
The following procedures show how to create a field group and how to add a field group to a form.
To add a field group to a table
To add a field group to a form
To add fields to the form
To see the fields on the form, right-click the form and then click Open. For example, you right-click MySimpleListForm, and then click Open. The form appears and you can see a list of values for the fields specified by MyFieldGroup.
Announcements: New book: 'Inside Microsoft Dynamics AX 2012 R3' now available. Get your copy at the MS Press Store.
Dynamic Forms with static Elements? How exactly do I make a form that has dynamic items (populated by fields in a list format) and Static items that are in line with those dynamic items but dont duplicate down the page? Basically I have a timecard system setup through Access 2007 with a table for each employee (Employee's Table) the Time Entry table (linked to the Employees Table) a query that prompts for Name and Weekending Date and another query that just prompts for name (tied to Time Punch Form), a Form for punching in, lunch out, lunch in, and punch out.
Basically I have a timecard from our contract employers. The company I work for wants us to keep every time punch and time card we send to them for the accounting purposes (I don't know why). Right now we're using an Adobe PDF form that we fill out and then save (this takes up lots of space as there 30+ contractors from the same place and they are weekly timecards). Using a Database seems like the more logical item. I set up a report that promts for Name and Weekending date and it pulls the associates name, last 4 of SSN, the 7 days in the weekending timeframe and then it totals the hours worked and splits it into regular, Overtime, and Double time hours (set up in the time punch form).
I was told by the contractor agency that the form still needs to look like their time card so the report looks like it. the problem I'm having is that the report pulls the 7 days (in the details section of the Report Design View) which are a dynamic item since they are linked to fields which how acces works it just duplicates the Details view for the number of records being shown. In line with this dynamic section of the report is the section on the time card that is for Associate Signature and Manager's signature to sign off on the time worked. This section keeps duplicating since it to is in the details section. How can I add this (static item) in line with the dynamic part so that it doesn't duplicate every time a new record is placed on the report. The timecard never shows more than 7 records so the length never changes.
I am creating a form in Access 2013. The form is controlled from various tables in the database. There is a main table that contains most of the data that is only needed once. Then there are numerous other tables where the user may need to enter in numerous different values. For example, say you have a clients table for all of your clients. This table would contain all of the clients information that is only needed a single time like their name and date of birth. But then you have a phone numbers table that has a list of all of their phone numbers connected by their ID number from the clients table. Since you don't know how many phone numbers the client is going to have and how many you will need to enter I want the form to be able to add the rows when needed. Below is a visual example:
Client's Bio Section
Client's Name Client's Date of Birth
________________ ________________________
|_______________| |________________________|
Client's Phone Number Section
Client's Phone
________________
|_______________|
Click to Add Phone (that would produce another 'Client's Phone' label and text box.
Is this possible in Access? I don't really want to use a datasheet view type table for that area, I would prefer to add the fields like demonstrated above. Any help would be greatly appreciated.
I'm not much of a web programmer, but I'm creating a simple web app that has a form where the user can enter a series of points (x,y,z) but I don't know how many the user is going to enter. I don't want to guess the probable maximum (100 maybe?) and put 100 fields on the form because it would look ugly. Threats to internal validity. What's the easiest way to add more fields (or unhide fields) as the user enters data without contacting the server.
Currently I'm just using html & php, but I assume to do this I'll need javascript?
Currently my code looks like this, as the user enters data, I want another row to appear.
Any idea the easiest way? Thanks..
6,54177 gold badges4040 silver badges6262 bronze badges
6 Answersjjclarksonjjclarkson
4,68755 gold badges3030 silver badges6161 bronze badges
You will most likely have to use javascript, yes. You can use this or write your own using it as a reference:
cakeforcerberuscakeforcerberus
3,04255 gold badges2828 silver badges4141 bronze badges
I created soemthing similar and I think it would help you. I used jQuery to create input fields dynamically. Please check this link : Dynamically add form fields
Access Dynamic Form Adds Fields Printable
SanjeevSanjeev
harish patelharish patel
What you're saying is that you're hand writing the input tags? Or are you saying that you want a dynamic action where a user clicks a button and it adds more table rows?
In anycase, for your code, you just need a loop, like so. I assume $data is whatever data you want to set based on an array that is probably from the database or something:
Of course you can't copy and past the above, but that's a good starting point.
For dynamically doing it, you can't use php. What it sounds like you want to use is javascript ajax, and php combination.
DanielDaniel
Tejas SavaliyaTejas Savaliya
Not the answer you're looking for? Browse other questions tagged phphtml or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |