Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, November 30, 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: Error with Date lookups
Scott Smallbeck
Posts: 62
 
Error with Date lookupsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 May 08 7:52 AM
SLX 7.2.2 (Same issue since at least 7.0)
I am experiencing an error using lookups with dates. If I create a lookup and set the field type to Date/Time and activate the lookup using FunctionLookupClick I get an error after clicking the magnifying glass, the error message is:

---------------------------
Error
---------------------------
Exception EInvalidOperation:
Cannot focus a disabled or invisible window

Exception location:
[004B634B]{SalesLogix.exe}

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


The lookup returns the correct records based on the lookup criteria but with that error appearing everytime I am not going to use it.

Thanks for any info!
---------------------------
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Error with Date lookupsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 May 08 6:06 PM
Are you able to post the code such that someone here can try to recreate the issue? Or maybe there is something in your code that needs to be changed ...

Phil
[Reply][Quote]
Scott Smallbeck
Posts: 62
 
Re: Error with Date lookupsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 May 08 2:13 AM
Sure, not really any code. An example is a new field agreement date on the Account Detail. I have added the following to FunctionLookupClick:

Case "cmdAgreeDate" 'DNL
strLookup = "Account:AgreementDate" 'DNL
blnUseFunction = False

Can you post images here? An image of the lookup iteself is here: http://www.smallbeck.com/images/AccountLookup.jpg
[Reply][Quote]
Steve Robertson
Posts: 146
 
Re: Error with Date lookupsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 May 08 2:22 AM
Hi Scott and Phil,

This is a known issue with Sage and has been allocated Defect No: 1-50763

Date Lookup Produces an Error Exception EInvalidOperation:Cannot focus a disabled or invisible window and is hopefully to be fixed in 7.0.x and 7.2.x

Steve
[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/30/2024 1:26:52 AM