Normal Topic Element Behavior in Tableview subforms (Read 706 times)
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Element Behavior in Tableview subforms
Aug 8th, 2005 at 3:33pm
Print Post Print Post  
Should on element exit programming NOT execute in a tableview subform?
  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Element Behavior in Tableview subforms
Reply #1 - Aug 8th, 2005 at 4:13pm
Print Post Print Post  
It is supposed to fire.

BTW, Robert - looking forward to seeing you at Hammer this weekend for the classes.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Re: Element Behavior in Tableview subforms
Reply #2 - Aug 8th, 2005 at 4:39pm
Print Post Print Post  
Quote:
It is supposed to fire.

I thought so also. I have the initial caps function (MultInitCaps())in the on element
Exit and if I use formview it works - if I use tableview it does not.

Now that you confirmed it should work, I will play and see what I did to break it.

Quote:
BTW, Robert - looking forward to seeing you at Hammer this weekend for the classes.


I am looking forward to seeing you all also. I can not wait to learn new techniques and re-enforce techniques I have been previously taught to improve my applications.


I am always amazed at how much knowledge Erika can share and teach in her classes. I always leave the classes with much more useful knowledge then I planned on getting. All this and now its taught in a historic 1860's brick building. How cool is that!!

  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Element Behavior in Tableview subforms
Reply #3 - Aug 8th, 2005 at 6:43pm
Print Post Print Post  
Hello Robert,

The event is firing and the code is running. A quick look at it suggests that the ThisElement element reference is not being set by the table widget. I have written it up and passed it on to development for them to investigate.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Element Behavior in Tableview subforms
Reply #4 - Aug 9th, 2005 at 1:38pm
Print Post Print Post  
Robert,
Table is not setting the "ThisElement" construct. The code is being called, but because you are using "ThisElement" no value is being set. I'm looking into it. In the meantime, turn your subroutine into a function and pass the value of the LE "Address" into your function "MultInitCaps" and then have "MultInitCaps" return the result to the caller.

Address On Exit:
Code
Select All
Address = MultInitCaps(Address)
 



GLOBAL CODE:
Code
Select All
Function MultInitCaps(vValue as string)
  // Do stuff to vValue here
  return vValue
End Function
 



That way you have a workaround that is no less generic.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged