mibuso.com

Microsoft Business Solutions online community
It is currently Thu Jun 20, 2013 8:49 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: To Change the runtime Field Caption in page
PostPosted: Tue Feb 21, 2012 11:23 am 
Offline

Joined: Fri Dec 16, 2011 9:22 am
Posts: 53
Country: India (in)
Dear all,

I've been searching through the board but I didn't seem to find a solution for that. I've placed several fields on a List type page.

Depending on the current record I want to change the captions of them. I've tried to use the CaptionClass property with the name of another field so the content of the field is shown as the caption.

for example : If I select the Item the Caption of Type should be 'Item'
Or if I select the G/L Account the Caption of Type should be 'GLAcc'.

I wrote in the Captionclass is '1,5,,' + TypeCaps whreras Type caption stores the value.

If anybody knows then please help me????? ](*,) ](*,)


Top
 Profile E-mail  
 
 Post subject: Re: To Change the runtime Field Caption in page
PostPosted: Tue Feb 21, 2012 11:55 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Mar 13, 2008 10:50 pm
Posts: 47
Location: Croatia
Country: Croatia (hr)
Try this as the caption class: STRSUBSTNO('3,%1 %2',Type,FIELDCAPTION("No."))

(try it e.g. on field No. in table 37)

If you checked the Codeunit 1, you could see that caption class 1 is used for dimensions, whereas class 3 is used to pass the literal text.

_________________
(Co-)author of "Implementing Microsoft Dynamics NAV 2009"
http://navigateintosuccess.com/


Top
 Profile  
 
 Post subject: Re: To Change the runtime Field Caption in page
PostPosted: Wed Feb 22, 2012 9:11 am 
Online
Moderator
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Wed Jul 02, 2003 10:13 am
Posts: 7526
Location: Milan
Country: Italy (it)
Check also http://www.mibuso.com/forum/viewtopic.php?f=5&t=6746&hilit=caption

_________________
Regards,Alain Krikilion
Use the SEARCH,Luke! || No PM,please use the forum. || May the <SOLVED>-attribute be in your title! || Read Forum Rules before making a posting


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: riyaz_24 and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: