Search results

  1. M

    List associated values in one field

    This is exactly what I was looking for, but was unable to find. Thank you very much pbaldy!
  2. M

    List associated values in one field

    Hello I am trying to list associated values in one field as filtered by a query, but a little more complicated in the presentation of this information. Here is an example: TBL-1 ID: EMPLOYEE: LOCATION: == ========= ========= 1 Hernandez New York 2 Brown Arizona 3 Valdez California 4 Smith...
  3. M

    Append Query works, but Table not showing records until db restarts

    I just tried that and what happens now is that I will get the previous record in the link table that I did before. So if I just did transaction 929 and then 930. After doing 930, 929 will appear without me having to restart the db, but still no sign of 930...
  4. M

    Append Query works, but Table not showing records until db restarts

    Hello all, I have a form that is used as a sort of transaction window. Through this form I am able to connect records in a many-to-many relationship. I do this through a form and use an append query to make the relationship. The append query appends the primary keys of both tables as foreign...
  5. M

    Do not allow entry in textbox depending on Combobox Selection

    Thank you, but I am still confused about how I would lock the textbox. The code shows me how to create the event, but I am still unsure how to make the textbox 'not enterable.'
  6. M

    Do not allow entry in textbox depending on Combobox Selection

    Hello all, I have been looking for a while, maybe I am not phrasing this correctly. I am working on a survey and I have a combobox where the user is asked a yes/no question. They choose yes or no. If they choose 'no' then they can explain why they chose 'no' in the following textbox, but if...
  7. M

    Update Matched Records

    Works. Thanks!
  8. M

    Update Matched Records

    I have changed it to: SELECT [StockNumber], [Description], [Group], Table2.StockNumber, Table2.Description FROM Table1 INNER JOIN Table1 ON (Table2.StockNumber=Table1.StockNumber And Table2.Description=Table1.Description) ORDER BY [Description]; This does not work. I get an error on Join.
  9. M

    Update Matched Records

    This is what I have right now: UPDATE Table1 SET Table1.[Group] = "A" WHERE (((Table1.StockNumber)=[Table2]![StockNumber]) AND ((Table1.Description)=[Table2]![Description]));
  10. M

    Update Matched Records

    Right now I have an update query that does not seem to be working. The update query is updated information based on two tables. The query has two fields it looks at: StockNumber and Description. So where [Table1]![StockNumber] = [Table2]![Stocknumber] and [Table1]![Description] =...
  11. M

    Double Click Listbox Record to Run Update Query on selected Record

    Haha nvm - I'll look for it.
  12. M

    Double Click Listbox Record to Run Update Query on selected Record

    How do you make it multiselect?
  13. M

    Double Click Listbox Record to Run Update Query on selected Record

    One more question - if I had a highlighted record in a listbox, could I click a button and cause the same update to occur?
  14. M

    Double Click Listbox Record to Run Update Query on selected Record

    Works great. Thanks again for your help!
  15. M

    Double Click Listbox Record to Run Update Query on selected Record

    Alright great, that works. I just ran into a little problem though - if the user clicks on a part of the list box without a record (just empty space), an error appears asking if the user would like to stop the script because Access cannot find anything for [ItemID]. Is there anything I can add...
  16. M

    Double Click Listbox Record to Run Update Query on selected Record

    I've changed it to the following, but I am still getting an error. Private Sub List5_DblClick(Cancel As Integer) CurrentDb.Execute Update TBL_FFE Set [Group] = "A" Where "[ItemID] = " & Me.List5.Column(0) End Sub
  17. M

    Double Click Listbox Record to Run Update Query on selected Record

    I am getting errors, I have looked for an example for this code, but I have not used this code before. Thanks.
  18. M

    Double Click Listbox Record to Run Update Query on selected Record

    My apologies, I was just trying to show you what I was working on, but if you say that that does not work, let me try to do it your way. I appreciate your help. Here is the code for that: Private Sub List5_DblClick(Cancel As Integer) CurrentDb.Execute SingleMove SingleMove = Update TBL_FFE...
  19. M

    Double Click Listbox Record to Run Update Query on selected Record

    Okay so I have this: Private Sub List5_DblClick(Cancel As Integer) Dim stDocName As String Dim stLinkCriteria As String stDocName = "QRY_TRANSACTION_INDA" stLinkCriteria = "[ItemID] = " & Me.List5.Column(0) DoCmd.OpenForm stDocName, , , stLinkCriteria End Sub But what should I put in the...
  20. M

    Double Click Listbox Record to Run Update Query on selected Record

    Hey all, Does anyone know how to run an update query on a specific record in a list box upon double-clicking on that record? Thanks
Back
Top Bottom