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 / October 2005

Tip: Looking for answers? Try searching our database.

Custom SQL queries

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RickH - 27 Oct 2005 07:20 GMT
I can make a filter to limit the items in the query list, but I haven't
figured out how to populate a repeating table with items between two
dates.
Common task is to return all records between two dates that are based
on a datetime field in the SQL table.
I assume you would start by creating two datepicker controls in your
query view bound to two new fields that belong to neither queryfields
or datafields: myStartDate and myEndDate.
I can convert these InfoPath times to SQL datetimes with all 0's as
time.
Now how do I get these dates into the Select Between statement that
will return the data to my repeating section?
(NOTE: Original form was created directly from the SQL table)
RickH - 27 Oct 2005 07:24 GMT
Using VB.NET.......and Visual Studio 2003. I sure hope the new version
of VS has a parse fuction that converts InfoPath datetime to SQL
datetime---hate writing my own conversion functions..
RickH - 29 Oct 2005 01:16 GMT
I take it either this is not possible to do or no one knows how to do
it???
 
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.