Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Controls | New ThreadView:  Search:  
 Author  Thread: Using data from memo-fields onOpen?
Mark Hanford
Posts: 131
 
Using data from memo-fields onOpen?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Oct 06 5:46 AM
fiogf49gjkf0d
Hello again

I'm trying to read a string from a memo field, in order to present it's content as a series of checkboxes.

The form has a memo-field on it called mmoResponses that contains a string of the form "value1;value4;value9;" and I want the relevent boxes ticked.

The problem I'm having, is that the content doesn't seem to be available until after the onOpen event has finished?

Sub AXFormOpen(sender)
MsgBox "Response length is " & Len(mmoReason.Text)
End Sub

This always returns "Response length is 0", even if something is in the field, and shows after the msgbox is closed.
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: Using data from memo-fields onOpen?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Oct 06 4:16 PM
fiogf49gjkf0d
Use OnChange. OnOpen fires before the SLX internals updates the controls with their database values.
[Reply][Quote]
Mark Hanford
Posts: 131
 
Re: Using data from memo-fields onOpen?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Nov 06 5:32 AM
fiogf49gjkf0d
Aah, okay.

Thanks
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/22/2024 7:54:32 PM