Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I know that this is a involved prob

Status
Not open for further replies.

Toya2176

MIS
Joined
Feb 5, 2003
Messages
14
Location
US
I know that this is a involved problem, but I thought I'd post anyway in case someone is up to a challenge.

My problem is this. I understand that Top Values can't be programmed, you can't create a input box to input Top value. So I thought about it and I have a chart where you can determine what your sample size should be (the Top Values) I am new to this portion of programming so I just need help to start this. On the Left side of the chart (Column 1)there are 10 rows that list limits R1 is 1 to 100, R2 is 101 thru 300, R3 is 301 to 500 etc. Column's 2 thru 4 are the types of audits to be performed Reduced, Normal, and Tightened under these colums you also have ten rows with letters A thru R. At the top of the page is a chart that list this letter vertically with a corresponding number. So basically you find how many files you have determine your which audit you want to run find your letter and then go to the top of the chart and see what number corresponds with the letter and that is you Sample Size (Top Value). Is it possible to put that into a formula? Where you choose which audit you want, your files are counted and based off what audit you run and how many files you have that is the number of files returned.

I know that this is long, and a lot of people might not want to read it, but for the few that will try to wade through my mess, I thank you ahead of time.
 
Why can't you just 'write' the query in a procedure? It should not be all THAT much effort, and you can input what ever value you want. You could use the query builder/grid to generate the query, switch to "SQL" view, aopy the string to a module, "dress it up" a bit to have the procedure generate the query and substitute the variable pieces with the info on the form.





MichaelRed
m.red@att.net

Searching for employment in all the wrong places
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top