Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / March 2008

Tip: Looking for answers? Try searching our database.

search form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
misschanda - 03 Mar 2008 19:07 GMT
hello
I am having issues with the size range search on my form. I would like to be
able to search within a range of diameters. the form is based off query that
looks like following.

SELECT AllAnalysis.AutoNumber, AllAnalysis.[Product Name], AllAnalysis.
Diametermeters, AllAnalysis.[Product Application], AllAnalysis.[TSR NO],
AllAnalysis.Diametermeters AS [Size], AllAnalysis.Supplier, AllAnalysis.[TSR
NO], AllAnalysis.[Polymer Abbreviation], AllAnalysis.Denier, AllAnalysis.
[MaxLoad(lbs)], AllAnalysis.[Tenacity(g/den)], AllAnalysis.[StrainAtBreak(%)],
AllAnalysis.[Young'sModulus(gf/den)], AllAnalysis.[StrainAt5g/tex(%)],
[product name]=Forms![Alternative Search Form]![txtproduct name] Or Forms!
[Alternative Search Form]![txtproduct name] Is Null AS Expr1, [Product
Application]=Forms![Alternative Search Form]![cboproduct application] Or
Forms![Alternative Search Form]![cboproduct application] Is Null AS Expr2
FROM AllAnalysis
WHERE ((([product name]=[Forms]![Alternative Search Form]![txtproduct name]
Or [Forms]![Alternative Search Form]![txtproduct name] Is Null)=True) AND ((
[Product Application]=[Forms]![Alternative Search Form]![cboproduct
application] Or [Forms]![Alternative Search Form]![cboproduct application] Is
Null)=True) AND (([diametermeters]=[forms]![alternative search form]!
[txtdiametermeters] Or [forms]![alternative search form]![txtdiametermeters]
Is Null)=True) AND (([supplier]=[Forms]![Alternative Search Form]!
[cbosupplier] Or [Forms]![Alternative Search Form]![cbosupplier] Is Null)
=True) AND (([polymer abbreviation]=[Forms]![Alternative Search Form]!
[cbopolymer abbreviation] Or [Forms]![Alternative Search Form]![cbopolymer
abbreviation] Is Null)=True) AND (([tsr no]=[Forms]![Alternative Search Form]!
[txttsr no] Or [Forms]![Alternative Search Form]![txttsr no] Is Null)=True));

the form is only returning data based on the min diameter entered and not
between the mim and max

anyhelp is appreciated.
Golfinray - 03 Mar 2008 21:01 GMT
Try www.fontstuff.com  Some very good search functions explained.

>  hello
> I am having issues with the size range search on my form. I would like to be
[quoted text clipped - 29 lines]
>
> anyhelp is appreciated.
 
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.