Search results

  1. XPS35

    Solved latest price

    And what if the item has not been purchased before?
  2. XPS35

    Solved How to update a table field via VBA

    Try DoCmd.RunSQL "Update tbl-fe_version SET tbl-fe_version.fe_version_number = #" & Format(DueDate, 'mm/dd/yyyy') & "# WHERE (((tbl-fe_version.ID)=1))"
  3. XPS35

    Combobox

    Crossposted here https://learn.microsoft.com/en-us/answers/questions/1364160/have-written-the-code-but-elseif-statement-is-not
  4. XPS35

    I want a solution to the problem of creating relationships between tables

    1- I want to create relationships between tables Go ahead. Make sure data types are the same in related tables. 2- I want to create a form for the material card I don't see a table named liked that. If you mean items card, again: go ahead. 3- I want to create a sales invoice I don't see a...
  5. XPS35

    Hyperlink on "Report" to open corresponding "Form"

    Why do you want to use a report to open a form? Reports are for printing. Use a continuous form with a button to open a detail form.
  6. XPS35

    Solved How to update the temporal table with an insert query

    It is easy to add a WHERE clause to your SELECT statement. INSERT INTO tblProductsTemp ( ProductID, ProductName, Type ) SELECT tblProducts.ProductID, tblProducts.ProductName, tblProducts.Type FROM tblProducts WHERE tblProducts.ProductID NOT IN (SELECT tblProductsTemp.ProductID FROM...
  7. XPS35

    Using buttons to enter data in to fields

    I don't think that will help. The user might not want to change the last one, but the one before.
  8. XPS35

    Using buttons to enter data in to fields

    And what if both are selected and the user wants to change one of the locations?
  9. XPS35

    Hello from a newbie

    Welcome to the forum. That's an impressive amount of tables. We don't see that often here. I don't want to be negative right away, but such a large amount can also indicate a not quite right design. Anyway, you've made me very curious. Can you tell us more about the database?
  10. XPS35

    Auto Populate a few date fields

    And to combine the answers of The_Doc_Man and Pat: use the DateAdd function in the query to calculate the dates.
  11. XPS35

    Auto Populate a few date fields

    Because the five dates can be derived from the first date, it is not necessary to store them. If you want to show the dates you can calculate based on the first date.
  12. XPS35

    Solved Table set up

    You should certainly not store the data you mention in one table. Moreover, what you show is probably not the whole story. There are probably more subjects than English and I think you want to record the results of students. So start with a good database design with tables like: - subject -...
  13. XPS35

    DLOOKUP in MS Access

    Remove the quotationmarks around PolicyNumber.
  14. XPS35

    Solved Sync/delivery problems multiple users editing the same Access form.

    You previously posted your question on another forum (https://answers.microsoft.com/en-us/msoffice/forum/all/syncdelivery-problems-multiple-users-editing-the/cfb989fa-5dfe-44c0-8c62-0b8b7bf78409). You got a lot of responses there. You didn't even reply to the last one. It is inappropriate not to...
  15. XPS35

    Query to sort by season + year

    There is a neat way and a less neat way. To start with the latter, sort by: Right([fld_Smst],4), IIf(Left([fld_Smst],1)="S",1,IIf(Left([fld_Smst],1)="F",2,3)) A neater way requires a bit more work. Split the field into two: year and semester. Create a table in which you store the permitted...
  16. XPS35

    MaxOfDate Not Returning the Expected Results

    Sorry, I did not see that. The problem is you are also grouping by RevNotes. The values are different for the reviews, so you get the max for "Construction issue" and the max for "Section D revised".
  17. XPS35

    MaxOfDate Not Returning the Expected Results

    I do no understand your problem / data. There are 16 unique drawings and each drawing has ONE stored revision. So using MAX will have no effect.
  18. XPS35

    Solved Dlookup Mismatch error

    The DLookup will return the value of er serial number. If .... Then expects an expression that is True or False where the .... are. I think that is why you get a type mismatch.
  19. XPS35

    Query to Show oldest and newest date

    Create an aggregate query. Look here for more info.
  20. XPS35

    Body of EMail

    Is there only one record in tblAgentEmailDefaults? In that case simply use: DLookup("MsgBody", "tblAgentEmailDefaults") If not, you need to add a condition.
Back
Top Bottom