Technical support This forum is closed.
Version 1.x > Technical support > BizForm Query View modes: 
User avatar
Guest
redactuk - 11/17/2006 6:56:27 PM
   
BizForm Query
I have created a new Bizform and I would like a drop-down list box to pick up a list of specific dated news items e.g. '24/11/2006 Company Meeting' My initial attempt was:

SELECT CONVERT(VARCHAR, EventDate, 3), NewsTitle FROM CONTENT_News WHERE NewsCategory = 5

But this is not working, well more specifically it seems that the convert is the issue. Can I code a datetime to string convertion in a bizform field query? or maybe i have to do something like this:

http://www.kentico.com/Forums/ShowPost.aspx?PostID=886

any help would be appreciated.

User avatar
Guest
admin - 11/22/2006 11:13:08 PM
   
Re: BizForm Query
Hello,

the query you use must return the date/time in US English format. You may need to use CONVERT(VARCHAR, EventDate, 101).

Best Regards,

User avatar
Guest
redactuk - 2/14/2007 5:27:30 PM
   
Re: BizForm Query
No this still does not return ANY value.

Please help!

thanks