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 / January 2008

Tip: Looking for answers? Try searching our database.

Filter on SQL VARCHAR(1)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lee Vance - 14 Jan 2008 14:48 GMT
I've got a secondary datasource that I need to filter based on the value of
one of the fields.  It is a VARCHAR(1).  When I filter for the specific value
I need, "T", it does not return anything.  This is not a Boolean field, it's
just a VARCHAR that accomplishes the same thing.  I don't have any control
over the data type for this field.

If I query in SQL for that value, I do get records matching the criteria.  
Is there something I'm missing?  This seems like it would be an easy thing to
do.
Clay Fox - 14 Jan 2008 17:48 GMT
Hey Lee.

Have you used the Edit SQL button in the data connection setup?

You should be able to paste in the same query there as what works in SQL.

Also have you tried just dumping all of the data into a view in your form
and verifying the data you are getting and what the format of your field is?
Signature

Thanks

Clay Fox

Qdabra Software
http://www.qdabra.com

InfoPathDev.Com
The Largest InfoPath Forum in the World
http://www.infopathdev.com

> I've got a secondary datasource that I need to filter based on the value of
> one of the fields.  It is a VARCHAR(1).  When I filter for the specific value
[quoted text clipped - 5 lines]
> Is there something I'm missing?  This seems like it would be an easy thing to
> do.
 
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.