Search results

  1. M

    If statement for select query

    Hello, After hunting high and low online i'm not even sure if what i'm trying to do is possible. I would like to select many fields where one field = yes, or select different fields where that field = no. This is used for if a person wants the parcel to go to their home address there is a...
  2. M

    Underline input mask UK Vat

    Hey, thank you anyway. I know that they are not structured like that but for a report I need any letters underlined. HMRC for you. Here is an example of over seas ones and I need the letters within the numbers to be underlined. Just like they have. Thought there must be a way I can get access...
  3. M

    Underline input mask UK Vat

    I wish to have only the letters within a string of text underlined. Is there an input mask which would be able to do this. e.g. 123ABC456 would be 123ABC456 Many thanks
  4. M

    Select / Iif Statement

    So I was thinking that the code would be written something like this If Order contains large part, Print Else If Order.OrderLines>5, Print Else add to list until 5 orders selected Then Print Cheers
  5. M

    Select / Iif Statement

    Hello, I have a list of orders, if the order contains fewer than 5 lines, and doesn't contain a large item (marked in the stock record in a yes/no box), I would like it to group these into 6 orders so I can have 6 orders of 5 lines in a report. If the next order does contain a large item I...
  6. M

    Autofill data in subform

    You star, I was looking at properties of the field and not the form. THANKS
  7. M

    Autofill data in subform

    Thanks James Thank you for that, it all goes well apart from the LinkMasterFields. I go to the Property Sheet and data section and there isn't anything about link master fields. I'm using Acc2007. Where will I be able to find the master fields properties please. Iain
  8. M

    Autofill data in subform

    I have a form in datasheet style as a subform (subOrderForm). As I type in a part number it then completes the next columns with the name, price etc. I have another subform (subPartDetails) that is also within the same main form (customerForm) that contains information (pictures, specification...
  9. M

    Calculation within tabular form.

    =DLookUp("[Sum of Quantity]","[Running Stock 2 Query]"," [Part Number]='"+[Part Number]+"'")
  10. M

    Calculation within tabular form.

    Thank you for your help, I have now got to the stage where it is pulling up the information but there is a problem with the criteria option. It isn't select the data based on the part number. At present it is just returning the first line in the query for all results. My part numbers are made up...
  11. M

    you are about to run an append query that will modify data in your table

    To disable the message I click on Access Options>advanced> and under the confirm it has action queries. Untick this and they stop.
  12. M

    Calculation within tabular form.

    Under the part section there is + where the sub query "Running Stock 2 Query" is run, when the + is clicked then the calc is performed. Before this it doesn't know the full info. Will look up Dlookup.. Cheers
  13. M

    you are about to run an append query that will modify data in your table

    Hello, I have the above message box appear. No problems to get rid of it. The main problem is that when I do it then messes with my code and asks for input data which it collects from various fields. If I turn the message boxes back on then it is able to find the data and continue. Please can...
  14. M

    Calculation within tabular form.

    Firstly, sorry for my tardy reply. Rather busy with the run up to Easter. Please find attached a copy of Hal.zip If you open the "Document" form then this is a form which will be placed within the customer form. At present I have the calculations working when the "Running Stock 2 Query"...
  15. M

    Calculation within tabular form.

    vbaInet, Thank you for your help, I have managed to implement what you have said. Great. But at present it only works once the subform has been expanded on each part. How can I get it to auto lookup. I have thought about trying to get the sub forms to auto expand but to no avail. Thanks
  16. M

    Calculation within tabular form.

    vbaInet thank you for that, I have downloaded the phone.db and I am going to go through it. The main problem I find with searching for these is what to look for and where. Rather than just returning a result from the table / query can I use this to perform the calculation. At present I have 2...
  17. M

    Calculation within tabular form.

    vbaInet, By the looks of it (haven't read through it fully yet) that is exactly what I am trying to do. YOU STAR. Thanks Access Guy for your reply, I have got as far as you gave but got stumped. Cheers
  18. M

    Calculation within tabular form.

    Hello, I have been able to set up a running stock level but I am trying to get it to show it in a datasheet view. So that as I type in a part number for a client it will give me the running total depending on the part number in that row. At present it will give me a big error because it...
  19. M

    Subtract one cell from another

    Many thanks for the information, very useful. I have been able to set up a running stock level but I am trying to get it to show it in a datasheet view. So that as I type in a part number for a client it will give me the running total depending on the part number in that row. At present it...
  20. M

    Subtract one cell from another

    Many thanks to the above. I did have it so that it calc the total from currentLevel-stockSold but wanted to avoid it becoming slow. P.S. Like the "How to talk to a programmer" Think I will have it calc as it goes then perhaps at end of week / month to update the main stock file. Thanks
Back
Top Bottom