mibuso.com

Microsoft Business Solutions online community
It is currently Sat May 25, 2013 11:46 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Form Transformation Issue
PostPosted: Tue Jul 10, 2012 7:53 am 
Offline

Joined: Fri Jul 30, 2010 8:17 am
Posts: 227
Country: India (in)
I have a custom form to be transformed to a page.
I did it, after transforming it shows the error:

---------------------------
Microsoft Dynamics NAV Classic
---------------------------
You have specified an unknown variable.

PostingButton

Define the variable under 'Global C/AL symbols'.

---------------------------
OK
---------------------------

In form it refers to Posting Button, by using F5 i can't find the PostingButton on the Page, but is present in Form.
I have tried creating a variable both in global and local.


Top
 Profile E-mail  
 
 Post subject: Re: Form Transformation Issue
PostPosted: Tue Jul 10, 2012 7:56 am 
Offline
MVP Microsoft Dynamics NAV

Joined: Tue Sep 02, 2008 8:37 am
Posts: 4226
Location: New Delhi
Country: India (in)
When you press F11 in page design mode, is it pointing to the exact location where Postingbutton is used?

_________________
-Mohana
http://mibuso.com/blogs/mohana
http://mohana-dynamicsnav.blogspot.in/


Top
 Profile  
 
 Post subject: Re: Form Transformation Issue
PostPosted: Tue Jul 10, 2012 10:50 am 
Offline

Joined: Fri Jul 30, 2010 8:17 am
Posts: 227
Country: India (in)
By F11 i got the error...
I have got the solution.The code was CurrPage.PostingButton.Enabled(False);

So i have created a Global Boolean Variable Named PostingButtonVisible and replaced the code as

//CurrPage.PostingButton.Enabled(False);
PostingButtonVisible :=False;

and then placed the PostingButtonVisible Boolean in the Enable property and it works now.

Thanx for ur time.


Top
 Profile E-mail  
 
 Post subject: Re: Form Transformation Issue
PostPosted: Tue Jul 10, 2012 10:52 am 
Offline
MVP Microsoft Dynamics NAV

Joined: Tue Sep 02, 2008 8:37 am
Posts: 4226
Location: New Delhi
Country: India (in)
Hope you set IncludeInDataset to Yes for PostingButtonVisible

_________________
-Mohana
http://mibuso.com/blogs/mohana
http://mohana-dynamicsnav.blogspot.in/


Top
 Profile  
 
 Post subject: Re: Form Transformation Issue
PostPosted: Tue Jul 10, 2012 11:17 am 
Offline

Joined: Fri Jul 30, 2010 8:17 am
Posts: 227
Country: India (in)
Yups :)


Top
 Profile E-mail  
 
 Post subject: Re: Form Transformation Issue
PostPosted: Tue Jul 10, 2012 11:19 am 
Offline
MVP Microsoft Dynamics NAV

Joined: Tue Sep 02, 2008 8:37 am
Posts: 4226
Location: New Delhi
Country: India (in)
Lamba wrote:
Yups :)

:thumbsup:

_________________
-Mohana
http://mibuso.com/blogs/mohana
http://mohana-dynamicsnav.blogspot.in/


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 9 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: