Search results

  1. K

    Table structure question...

    Working with a vendor table. There can be many different vendor companies we order from... Within the vendor company, there can be different contacts according to department. How do you structure a table accounting for this scenario? Example: Company XYZ has several different locations...
  2. K

    Solved Physical address & Mailing address

    Gotcha! Cheers! -Kyp
  3. K

    Solved Physical address & Mailing address

    Morning all! Quick dumb question.... When creating a contact table, and the contact has a physical address that differs from the mailing address, how is that usually handled? Are both address' in the same table or, are the address separated some king of way? Cheers! -Kyp
  4. K

    Solved Need Assistance: How to update record from form listbox?

    @Pat Hartman I am back at it this morning and will have a look. Thanks for the template! Cheers! -Kyp
  5. K

    Solved Need Assistance: How to update record from form listbox?

    @Pat Hartman I do understand what you are saying. (Don’t try to reinvent the wheel) Can you point me to any documentation or example that accomplish this same task? cheers! -Kyp
  6. K

    Solved Need Assistance: How to update record from form listbox?

    @The_Doc_Man Thanks for the explanation. I am always looking for the "Theory of operation", and "Cause and effect". For me, knowing the theory as well as the cause/effect helps me to fully understand the logic and further educate myself. Cheers! -Kyp
  7. K

    Solved Need Assistance: How to update record from form listbox?

    @jdraw The completed logic that properly works, appreciate your help! Private Sub cmdSaveUpdate_Click() Dim frm As [Form_Cost Center Details] Dim db As Database Dim rec As Recordset Set db = CurrentDb Set rec = db.OpenRecordset("Select * from CostCenter WHERE CostCenter.ID ="...
  8. K

    Solved Need Assistance: How to update record from form listbox?

    Changing the statement seems to work for updating the record however, I am still getting this error. I was able to fix "The data has been changed" message with Me.Requery at the end of the logic. Thanks for the assistance! Cheers! -Kyp
  9. K

    Solved Need Assistance: How to update record from form listbox?

    Yes the CostCenterID is numeric. I will give it a try. Cheers! -Kyp
  10. K

    Solved Need Assistance: How to update record from form listbox?

    Yes, that is correct. One record selected from the listbox populates the text boxes on the form. Make the changes in the text boxes and save the updated record.
  11. K

    Solved Need Assistance: How to update record from form listbox?

    @jdraw Thanks for the quick reply! Looking at https://docs.microsoft.com at the "ListBox.ItemsSelected Property" I used the example code in my list box double click event and watched the immediate window for the result and can see the selected record ID: Private Sub...
  12. K

    Solved Need Assistance: How to update record from form listbox?

    Morning all. Trying to educate myself on how to update a record selected from a list box on a form. This is what I have and while it somewhat works, it's not correct. Errors listed at the end of the post. Form Name: (Cost Center Details) In the form, I have an unbound list box...
  13. K

    Query: Theory of Operation question.

    Thanks!
  14. K

    Query: Theory of Operation question.

    I am assuming that "kupfile" is just an arbitrary field name right?
  15. K

    Query: Theory of Operation question.

    That's a lot easier to understand. Thanks!
  16. K

    Query: Theory of Operation question.

    I have seen this expression in several places. Would someone please explain the theory of operation. File As: IIf(IsNull([Last Name]);IIf(IsNull([First Name]);[Company];[First Name]);IIf(IsNull([First Name]);[Last Name];[Last Name] & ", " & [First Name])) The reason I ask is that when I...
  17. K

    Dumb question...

    Thanks @Gasman, I will give it a shot. -Kyp
  18. K

    Dumb question...

    I have not been in MS Access for a while. When I was using access, I was just learning so I am back to square one. I have two tables, tblVendorCompany and tblVendorContact. I've created a "One to Many" relationship as pictured below. What type of query do I need to create to combine the two...
  19. K

    Creating My First DataBase Critique

    That is a really big difference from what I had! I didn't know it was going to be that difficult, Wanted to start again with something easy! :cautious: I wish I could hear your thought process while putting ti together! I recon the next step creating queries, forms and reports will be a hoot...
  20. K

    Creating My First DataBase Critique

    That is correct, not including the company I work for, there are 15 different companies with our assets that we have to maintain. We also pickup new companies from time to time.
Back
Top Bottom