Arranging Fields on Page

SteveDesmedt
Member Posts: 3
Dear all,
I'm new on business central and trying to make some pages. I'm struggling with the alignment of fields on pages.
Let me try to explain:
I've created a page of type card where i have three groups defined
The field "Country/Region Code" switches to the right column while i want it to stay on the left under the Address group. I've added a screenshot of the as-is alignment and the requested to-be situation. (copy paste can do a lot)
Hope someone can help me.
Kind regards
Steve
I'm new on business central and trying to make some pages. I'm struggling with the alignment of fields on pages.
Let me try to explain:
I've created a page of type card where i have three groups defined
group("Address & Contact") { Caption = 'Address & Contact'; group(AddressDetails) { Caption = 'Address'; field(Address; Address) { ToolTip = 'Specifies the location address.'; } field("Address 2"; "Address 2") { ToolTip = 'Specifies additional address information.'; } field("Post Code"; "Post Code") { ToolTip = 'Specifies the postal code.'; } field(City; City) { ToolTip = 'Specifies the city of the location.'; } field("Country/Region Code"; "Country/Region Code") { ToolTip = 'Specifies the country/region of the address.'; } } group(ContactDetails) { Caption = 'Contact'; field("Contact Name"; "Contact Name") { ToolTip = 'Specifies the name of the contact person at the location'; } field("Phone No."; "Phone No.") { Importance = Promoted; ToolTip = 'Specifies the telephone number of the location.'; } field("E-Mail"; "E-Mail") { ExtendedDatatype = EMail; ToolTip = 'Specifies the email address of the location.'; }
The field "Country/Region Code" switches to the right column while i want it to stay on the left under the Address group. I've added a screenshot of the as-is alignment and the requested to-be situation. (copy paste can do a lot)

Hope someone can help me.
Kind regards
Steve

0
Answers
-
I took a quick look on the customer card, Address & Contact fasttab.
Grouping is used to achieve this:
group("Address & Contact")
{
group(AddressDetails)
{
field(Address;Address)
{
}
field("Address 2";"Address 2")
{
}
field("Country/Region Code";"Country/Region Code")
{
}
field(City;City)
{
}
group(Control10)
{
field(County;County)
{
}
}
field("Post Code";"Post Code")
{
}
field(ShowMap;ShowMapLbl)
{
}
}
group(ContactDetails)
{
field("Primary Contact No.";"Primary Contact No.")
{
}
field(ContactName;Contact)
{
}
field("Phone No.";"Phone No.")
{
}
field("E-Mail";"E-Mail")
{
}
field("Fax No.";"Fax No.")
{
}
field("Home Page";"Home Page")
{
}
field("Language Code";"Language Code")
{
}
}
}0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions