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!
|
|
Error with Date lookups
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! ---------------------------
|
|
|
|
Re: Error with Date lookups
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 |
|
|
|
Re: Error with Date lookups
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 |
|
|
|
Re: Error with Date lookups
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 |
|
|
|