Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / May 2005

Tip: Looking for answers? Try searching our database.

SQL Date range query Infopath sp1

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RickH - 23 Feb 2005 19:31 GMT
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??
RickH - 27 Feb 2005 06:51 GMT
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??
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.