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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mattfox

    Date formula problem

    This is a formula that I created to calculate a date. The problem that I have now is that I do not want this formula to output a date that falls on Saturday or Sunday. Can anyone help? =IIf(((IsNull([Forms]![Imports2]![Pick-up Date])) And ((Date()-[Forms]![Imports2]![Date...
  2. mattfox

    Printing Labels in Access 97

    I checked in the owner's manual and on the OkiData website and I did not find any instruction on how to "Burn info into the ROM" setting.
  3. mattfox

    Printing Labels in Access 97

    I setup a query with the info that I wanted on the label. I then went through the labels wizard under reports and set all of that up. Once that was done I went into the printer settings (its a dot matrix) and set the custom paper size to the size of the label in windows and in access. I don't...
  4. mattfox

    IIf Statement problem.

    Nevermind about my last post. It works. The problem is that now with the switch statement after 1250 is taken out of the guy's pay it shows 1250 in that field for the next records. So in my YTD field 1250 is subtracted from the gross instead of nothing. How can I make it show 0?
  5. mattfox

    IIf Statement problem.

    The switch expression worked, but now my problem is getting Escrow total to work. I get that "#Name" when I use - IIf([Escrow]*12>1250,1250,[Escrow]*12).
  6. mattfox

    IIf Statement problem.

    Neither of those work. I get "#Name" in the field.
  7. mattfox

    IIf Statement problem.

    This doesn't work. You have to have a true and a false after the expression in an IIf statement.
  8. mattfox

    IIf Statement problem.

    I am using Access 97 to create a payroll program for our contractors. The problem that I am having is calculating escrow. This is how it works - If the gross is less than or equal to $500 then $50 gets subtracted otherwise gross*0.1. The max amount subtracted for a year is $1250. These are...
  9. mattfox

    A Report Question

    SELECT DISTINCTROW Customer1.[Customer Name], Customer1.Contact, Customer1.[Item #], Customer1.[Item Description], Inventory1.[Qty Rec], Inventory1.[Qty Shipped], [Inventory1].[Total Qty Rec]-[Inventory1].[Total Qty Shipped] AS [Total Floor Qty], Sum([Inventory1].[Qty Shipped]) AS [Total Qty...
  10. mattfox

    A Report Question

    The query figures all of the totals.
  11. mattfox

    A Report Question

    Well, I did that and it still gives me the same error.
  12. mattfox

    A Report Question

    Okay, this change created another problem. I added my calculations into the query. Now remember that I have two tables setup. The error I now get is: You tried to execute a query that doesn't include the specified expresion "Customer Name" as a part of an aggregate function. Now...
  13. mattfox

    A Report Question

    I created a inventory database and I have a total inventory report that shows everything that we have in stock. The way I have it setup is one table with the customer information and item descriptions and a second table with the recieved and shipped data. In the total inventory report I show...
  14. mattfox

    Field Name problem in a query.

    I have ten different macros setup, so I cannot have set the form's record source directly to the query.&nbsp;&nbsp;I changed the OutputAllFields property set to Yes snd I got the same result..<br><br><br>
  15. mattfox

    Field Name problem in a query.

    A macro is called, which opens a form after the the prompt.&nbsp;&nbsp;The filter name of the macro is a query which displays a table name (them a period) and the field from a table which I am prompting for data in the second display.&nbsp;&nbsp;The second one is intentional, the first just pops...
  16. mattfox

    Field Name problem in a query.

    I am only running one action - openform and the data mode is edit.&nbsp;&nbsp;The query produces the correct data that I prompt for.
  17. mattfox

    Field Name problem in a query.

    Drew,<br><br>I could do that but I have limited knowledge on SQL.&nbsp;&nbsp;I forgot to add this.&nbsp;&nbsp;The query works fine.&nbsp;&nbsp;This error happens when I run the macro that I created.&nbsp;&nbsp;What kind of details do you need?<br><br><br>Matt
  18. mattfox

    Field Name problem in a query.

    I have two tables setup and in my query I have one field from one table and the rest from the other.&nbsp;&nbsp;I have the relationship setup between the two tables.&nbsp;&nbsp;In the query I prompt for an entry for a field name.&nbsp;&nbsp;When I run it I get this:<br><br>First prompt - table...
  19. mattfox

    Record locked by another user.

    I have database installed and running on one computer with eight other computers accessing it and running it.&nbsp;&nbsp;I have the database setup to allow shared access, but I do not have users setup on it.&nbsp;&nbsp;I get the message stated above in my subject every once in a while on their...

Part and Inventory Search

Back
Top