Recent content by dlambert

  1. D

    Workaround to record not editable due to Sum function?

    Hello everyone. I am having a recurring problem when developing my database and was wondering if there was a standard workaround. I have for example a query that i need to display in Datasheet View. Ideally as part of the query i would have one of the fields come from another query that has a...
  2. D

    EXCLUDE query?

    Thankyou!!! I used option 2 and it worked perfectly for me. (that option was close to what i was unsuccessfully trying to do before i posted the question) (amazing i barely had time for a short meeting and had your response when i got back to my computer!! :) )
  3. D

    EXCLUDE query?

    I have the following: tblJobs qryJobsWithMaterials both above have a field called JobID I need a query (to be called qryJobsWithoutMaterials) that outputs all the JobIDs from tblJobs EXCEPT the ones listed in qryJobsWithMaterials Been going around in circles for hours, not finding a...
  4. D

    Database back-end getting 'bloated' over time?

    yes, i agree that of course 29MB would not be a problem in itself size-wize. i just found it interesting that every time that back-end stops working, it can be fixed by doing a compact and repair which results in a significant reduction in size of the file (around 80% reduction) i guess i need...
  5. D

    Database back-end getting 'bloated' over time?

    I have been having a problem with by Access back-end part of my company database, maybe someone has an idea of what is causing this and how to resolve it? Here is an explanation/example of the problem: - Back-end crashes, front end cannot access it anymore. - i look at my back-end file...
  6. D

    Sequentially modify entries in subsequent query results.

    Hello, I am trying to implement a form that i will use as part of a quotation system. The data displayed will come from a query that filters down by quotation number (selected from a combobox or similar), and orders the results based on a field called RowNumber (I use this field so that the...
  7. D

    Extract field from query results into VBA variable

    I am quite new to the whole Access world, this is my first project in Access (though i have previous programming experience), so i clearly do not know all the the 'industry standard' ways of doing certain things, and sometimes end up with unusual workarounds... but as you said this one works OK...
  8. D

    Extract field from query results into VBA variable

    My objective here is to have the user be able to: - select a PartID from a combobox (this then runs an AfterUpdate event that autofills the ManufacturerID and ManufacturerPN) OR - Select the manufacturer form a combobox and enter a ManufacturerPN in a textbox and if I happen to already have a...
  9. D

    Extract field from query results into VBA variable

    Hello all, thankyou to all the suggestions, i think several would get me there, but in the meantime i found a very simple workaround that works perfectly for me: I made a hidden combobox called comboMatchingID that has my query as the row source, then i use the following code to get the PartID...
  10. D

    Extract field from query results into VBA variable

    i guess that the 2 parameters could be the the sections bold below from the SQL of the qryStockFindMatchingID query? (the other query i tested with that had the error expecting 1 parameter has 1 'referenced filter' (for lack of a better word) so i guess that would make sense) SELECT...
  11. D

    Extract field from query results into VBA variable

    Thanks for the suggestion Namliam This seems to work OK if i use a table (instead of "yourquery"), but when i put in the name of my query i get the following error "Too few parameters. Expected 2" Just for troubleshooting i tried with another query and i get the following error: "Too few...
  12. D

    Extract field from query results into VBA variable

    Hi arnelgp, i have tried that but get the following error: "Run-time error '2465': Microsoft Access can't find the field '|1' referred to in your expression" i have no idea what the '|1' referenced in the error comes from... This is the code i have at the moment as a starting point...
  13. D

    Extract field from query results into VBA variable

    Hello all, I am trying to make a VBA script that will be in the 'AfterUpdate' event of a textbox in a form that needs to get the value from the output of a query and use it further down the code. So i have a query (which works as expected) where the output fields are: PartID, ManufID, ManufPN...
  14. D

    Combine varying quantities of fields into a single fields without additional commas

    Thankyou for the responses, quick summary of why i have the 7 description fields: I am storing data on various types of equipment. Some for example i have descriptions as follows: Relay: ADesc (Coil voltage): example: 24VDC BDesc: (Contact configuration): example: 4PDT CDesc: (Rated Current)...
  15. D

    Combine varying quantities of fields into a single fields without additional commas

    Hello all, I have a table that contains a list of materials, with 7 separate fields for descriptions segments. These are called ADesc, BDesc, CDesc, DDesc, EDesc, FDesc, GDesc. I would like to display the combined description into a single field output of a query, so at the moment i have the...
Top Bottom