mibuso.com

Microsoft Business Solutions online community
It is currently Wed Jun 19, 2013 4:00 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 54 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject: Re: How to control/kill sessions?
PostPosted: Thu Sep 15, 2011 2:06 pm 
Offline

Joined: Wed Aug 24, 2011 5:14 pm
Posts: 8
Country: France (fr)
Hello,

How could I do to add a message for the user to inform him that the connection was killed (using this same tool)?

Thanks.


Top
 Profile E-mail  
 
 Post subject: Re: How to control/kill sessions?
PostPosted: Thu Mar 15, 2012 12:02 pm 
Offline

Joined: Thu Oct 30, 2008 10:38 am
Posts: 987
Location: Earth
Country: Netherlands (nl)
Will be tricky, because you should store if a session was killed or not, so that the session that was killed can read it when closing the company, but since the session was killed, it can't read any tables anymore.
So you'll have to show the message to the user before the sessionkiller kills the session.

_________________
|Pressing F1 is so much faster than opening your browser|
|MCBMSS: 5.0 intro|MCTS:NAV09 839..841|JetReports© Certified Specialist|
|Dynamics Anywhere: Mobile Business Solutions|


Top
 Profile  
 
 Post subject: Re: How to control/kill sessions?
PostPosted: Thu May 24, 2012 1:55 pm 
Offline

Joined: Fri Oct 28, 2005 1:46 pm
Posts: 130
Location: London
Country: United Kingdom (uk)
I had to renumber the objects, all fine and compiled, I cannot run the form 80000, I get an error that - "You cannot open a subform within a subform".
I have tried deleting the subforms and creating them again but still get the message.
:-(

NAV 2009-2
testing in Native Classic

Any ideas?

Thanks,
Colin

_________________
Experience is what you get when you hoped to get money


Top
 Profile E-mail WWW  
 
 Post subject: Re: How to control/kill sessions?
PostPosted: Thu May 24, 2012 3:07 pm 
Online
Moderator
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Wed Jul 02, 2003 10:13 am
Posts: 7525
Location: Milan
Country: Italy (it)
It means you have a form in which you defined a subform. And that subform in itself has another subform. That is when you get that message.

In your case, I think that by renumbering, you have a form with ID=X and that form has a subform with ID=X. So it refers to itself as a subform. You need to fix that.

_________________
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  
 
 Post subject: Re: How to control/kill sessions?
PostPosted: Thu May 24, 2012 3:44 pm 
Offline

Joined: Fri Oct 28, 2005 1:46 pm
Posts: 130
Location: London
Country: United Kingdom (uk)
Yes, there are 2 subforms, the first ID is 1101322012 and the second ID is 1101322013.
The main form is supposed to have both subforms so no obvious problem there.
Main form ID is 50013
](*,)

_________________
Experience is what you get when you hoped to get money


Top
 Profile E-mail WWW  
 
 Post subject: Re: How to control/kill sessions?
PostPosted: Thu May 24, 2012 5:04 pm 
Online
Moderator
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Wed Jul 02, 2003 10:13 am
Posts: 7525
Location: Milan
Country: Italy (it)
And in the main form, to which subforms point the 2 subforms? (not the ID of the control but the ID of the subform)

_________________
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  
 
 Post subject: Re: How to control/kill sessions?
PostPosted: Thu May 24, 2012 5:41 pm 
Offline

Joined: Fri Oct 28, 2005 1:46 pm
Posts: 130
Location: London
Country: United Kingdom (uk)
IC, all done, the ID was the Form Name of the main form for one of the subforms.

Many Thanks
:oops:

_________________
Experience is what you get when you hoped to get money


Top
 Profile E-mail WWW  
 
 Post subject: Re: How to control/kill sessions?
PostPosted: Wed Apr 17, 2013 10:05 pm 
Offline

Joined: Sun Mar 17, 2013 4:46 am
Posts: 9
Country: United States (us)
Does this work on NAV 2013 ?

Thanks


Top
 Profile E-mail  
 
 Post subject: Re: How to control/kill sessions?
PostPosted: Fri Apr 19, 2013 4:55 pm 
Online
Moderator
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Wed Jul 02, 2003 10:13 am
Posts: 7525
Location: Milan
Country: Italy (it)
The forms definitely not.
The codeunit, I don't know. I haven't tested it yet. But it is on my todo-list.

_________________
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  [ 54 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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: