11/22/2024 6:51:08 PM
|
|
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!
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
|
|
|
|
How to set the date conditions for the lookupedit control?
Posted: 06 Sep 06 7:51 PM
|
fiogf49gjkf0d In my lookupedit control, the lookup restrict condition is: the start date greater than today.
Then I set: RestrictField is: startDate, RestrictOpt is: >, RestrictValue is: getdate().
It does not work. Is there anything wrong with it? |
|
|
|
Re: How to set the date conditions for the lookupedit control?
Posted: 06 Sep 06 8:09 PM
|
fiogf49gjkf0d IIRC the RestrictValue will get wrapped as a string when it all executes. Try placing the literal date value in instead at runtime.
ie:
lookupedit1.RestrictValue = Now()
Or you could play around with something like:
RestrictOp = " > getdate() and '1' = " RestrictValue = "1"
-Ryan |
|
|
| |
|
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!
|
|
|
|
|
|
|
|