Search results

  1. C

    Query issue

    Had a quick look at the changes you've made, and I'm not sure you're going the right way with it at the moment... leave it with me to have a better look!
  2. C

    Capture Users that Create and Edit the records

    sorry for jumping in, but I just thought I'd say: I just use me.LastEditedBy=currentuser() on the beforeupdate of my forms... and that seems to work ok, without using a separate function... don't know if there are any problems with this approach?
  3. C

    Query issue

    In your Orders form, you were including the customers table. So, when you add a new order... it thinks you are adding a new customer as well. You don't need the customers table in there - all you need is the customer id field in the orders table. What you would then need to do is to tell it...
  4. C

    Query issue

    I'm not sure I understand your question? What do you mean by 'load' them in the query? In the query design, you only need to include a table IF EITHER you want to show info from that table - for example, you want to build a query that shows a customer address, but the order table (which...
  5. C

    Current stock and Calculating cost queries

    I can see why you would store a cost against a transaction rather than against the item in the inventory - as Rain said, the costs may change over time... what I don't see is why you've been 'told' to put it in a separate table... but maybe that's my own lack of knowledge showing through ;)...
  6. C

    Datetime and powerpivot queries

    I guess it could be different in 2010, I'm on 2007.... but in 2007 I would using a crosstab query in Access - is that what you're doing?
  7. C

    Query issue

    how do you mean, won't enter it? I added a new order on your form, and the detail was entered? oh, and you are missing the default value on text62... it should be =[Forms]![frmNewCustomer]![ID]
  8. C

    Current stock and Calculating cost queries

    Quick question: why do you have the item cost in a separate table from the transactions?
  9. C

    Datetime and powerpivot queries

    yes, put it into a query as a calculated field... and it should work! It works in mine.... (Access 2007)
  10. C

    Query issue

    in qryorders REMOVE tblCustomer.... and on the orders form, change the data source of Text62 to be CustomerID, with a default value of =[Forms]![frmNewCustomer]![ID] then all should be ok
  11. C

    Datetime and powerpivot queries

    I'd just use something like thedate: DateValue([yourdate]) and then use that... not sure if there's a better way?
  12. C

    Pass data from fields into table and reset fields

    try this? basically I've unlinked the main form and subform so you get everything in the subform, changed the main form to data entry and changed the Event on the button so it goes to a new record after submitting the one you're on
  13. C

    Matching dates by month and year

    PS - your sig = one of my favourite poems... W H Davies if I remember correctly :)
  14. C

    Matching dates by month and year

    Brian - I wasn't saying anything different, I just posted the code you suggested, in case the op hadn't understood what you meant... cos I couldn't understand why that wouldn't have worked ;)
  15. C

    Matching dates by month and year

    try =iif((Format([date received],"mm/yyyy"))=(Format([date of reject],"mm/yyyy")),1,0)
  16. C

    Query issue

    If you open your frmNewCustomer, and then click the 'new order' button, your frmOrders opens without a problem. As JHB said - your problem is the control source for Text62 and Organization - they're set to look at frmNewCustomer, so will only work if that form is already open/loaded.
  17. C

    2 questions regarding Back Orders on a database

    Ok, if by 'moving over' you mean you imported them, then you'll need to go into your database options and change the form that's displayed on startup
  18. C

    2 questions regarding Back Orders on a database

    For the other part: you have a couple of options, but possibly the easiest is to set up a form which opens automatically when the database opens, which displays the message you want... and from which you can then load the form which you currently load automatically. if you see what I mean...
  19. C

    2 questions regarding Back Orders on a database

    An other option would be, that you could automatically set the 'status' based on comparing the qty available to the qty ordered.... something like: Private Sub Quantity_BeforeUpdate(Cancel as Integer) Dim qtyavail As Integer qtyavail = Me.Combo20.Column(2) If Me.Quantity.Value > qtyavail...
  20. C

    Append comments field with user name

    < not a man :P
Back
Top Bottom