| Thread | Last Post | Replies |
|
| using the IIF | 21 Mar 2008 20:43 GMT | 3 |
i am having trouble with getting the statement to work like i need: IIf([REFUND_LETTERS_ALL_COUNT].Counter=1,"First Request","Second Request ") AS Expr1 What I need to do is nest this statement so that the result will show
|
| Counts of dates and sum of sales by month | 21 Mar 2008 19:27 GMT | 2 |
I don't know how to go about this and would really appreciate help on it. I have a table with the following fields: Territory DateRecd
|
| Query Date Help | 21 Mar 2008 15:59 GMT | 2 |
I need to create a query that will do the following: these are my fields: resign date, hire date I need to subtract the resign date from hire date but I want it to return the answer as years, months & days
|
| append query | 21 Mar 2008 12:27 GMT | 2 |
I am trying to add 1 record to a table using an append query... but it does not stop at one record... here is the code... strSQL = "INSERT INTO tblSOS ( SOSDate ) SELECT " & Format(Me.txtMealDate, STRING_DATE) & " FROM tblSOS;"
|
| dsum in query | 21 Mar 2008 12:23 GMT | 3 |
I have a field in query: New_Cost: [AllocatedCost]+[MonthlyCost]. I want a new field called Cost_Percentage which needs to Sum the column [New_Cost] and divide by each record [New_Cost] to get that percentage. Can this be done with DSum and if so, how?
|
| SQL to get all products ordered together | 21 Mar 2008 12:14 GMT | 4 |
I need help with T-SQL syntax. I need all products ordered together. This would give me all products in an order. I don't want the orders with only one product. SELECT o.orderID, o.orderNum, ol.productName
|
| how do I setup a subcategory lookup based on category selected? | 21 Mar 2008 09:27 GMT | 1 |
i'm setting up a table which has categories and subcategories. I want to do both with lookup listboxes in two seperate fields. I created another table with category and one of its subcategories for a two field table. There are records for all categories and their subcategories. I ...
|
| Queries not running | 21 Mar 2008 09:23 GMT | 1 |
What does it mean when you run a query and do not get results? However, if I create a new query it runs. I have had this db for awhile. Recently I had to replace data in the main table. Checked all fields are there but when I try to run queries it is not generating any data. ...
|
| Tying records | 21 Mar 2008 06:33 GMT | 2 |
I am working on an existing database. I want to create a query which pulls data from 2 child records of a parent. The first record in my query would contain information frmo the first child record along with the first child record of the other table, the second to the second,
|
| summing duplicate data (<--help a rookie please) | 21 Mar 2008 04:36 GMT | 1 |
I have a table which looks like the following: PLU ITEM DATE SOLD 12345 BALL 3/7/08 6 56789 ROPE 3/7/08 8
|
| DLookup within Iif statement | 20 Mar 2008 23:39 GMT | 2 |
I'm having trouble getting an Iif Statement that includes a Dlookup to work. Here is what I have but the records where the Iif is true show nothing for this field. IIf([tblOrders].[FreightOnly]=False,[tblOrders].[Price]-DLookUp("Price","tblProductCost","EffectiveDate
|
| date type data | 20 Mar 2008 22:25 GMT | 8 |
Dears While we making a query by using query wizard' there is a option to get sum,min ,max,avg in summary option if the data is in number type. Any body can sujest any logic to get max and min value if the data type is
|
| Need help with complicated if statement | 20 Mar 2008 21:54 GMT | 13 |
Hi Group, Would appreciate if someone could help me with a complicated if statement. Here the set up...(I manage as awards database for applicants)
|
| Average Column Values | 20 Mar 2008 21:11 GMT | 6 |
I have 12 columns representing 12 months usage. I wanted to create a 13 column and use the AVG function. AVG_SOLD: AVG([QTY_SOLD_P1]+[QTY_SOLD_P2]+[QTY_SOLD_P3]+[QTY_SOLD_P4]+ [QTY_SOLD_P5]+[QTY_SOLD_P6]+[QTY_USED_P7]+[QTY_USED_P8]+[QTY_USED_P9]+
|
| Statement Help | 20 Mar 2008 20:52 GMT | 7 |
Could someone assist with the following? I am getting errors! Sum(IIf([Award Date]) >= ([Date Rcvd]), ([Award Date])-([Date Rcvd])) AS [# Days to Award] Thanks,
|