Looks like no one has ever done this--is it even possible? Seems to be a
limitation of Infopath....
> I have a form based on a SQL database, with a table that has records with a
> datetime field.
> I want the user to be able to speicify all records from x date to y date,
> and have them returned in the form. I want the time portion ignored.
> Using VB.NET.
> I can find no reference on how to do this... anyone have any ideas??
Greg Collins [InfoPath MVP] - 12 Apr 2005 19:15 GMT
You should be able to do this with a stored procedure in SQL or with a Web service.

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
Looks like no one has ever done this--is it even possible? Seems to be a
limitation of Infopath....
> I have a form based on a SQL database, with a table that has records with a
> datetime field.
> I want the user to be able to speicify all records from x date to y date,
> and have them returned in the form. I want the time portion ignored.
> Using VB.NET.
> I can find no reference on how to do this... anyone have any ideas??
Anne - 26 May 2005 10:47 GMT
I have the same problem that you but I don't knows who do it?
Anne
> Looks like no one has ever done this--is it even possible? Seems to be a
> limitation of Infopath....
[quoted text clipped - 5 lines]
> > Using VB.NET.
> > I can find no reference on how to do this... anyone have any ideas??
RickH - 26 May 2005 16:04 GMT
I worked around it by adding a Year, Month, Day fields to the SQL database,
and wrote a sproc to parse the datetime field into its components to populate
those fields automatically...
Not exactly what I need but usable.
> I have the same problem that you but I don't knows who do it?
>
[quoted text clipped - 9 lines]
> > > Using VB.NET.
> > > I can find no reference on how to do this... anyone have any ideas??