Search results

  1. G

    Data corruption: Selecting a record in subform overwrites value in parent form

    Thanks George. I originally tried to make this form with the form wizard but it didn't give me the option of creating a subform during the wizard process. So I had to end up designing it from scratch and manually adding the subform, which seemed to work until I hit this. Must admit my greenness...
  2. G

    Data corruption: Selecting a record in subform overwrites value in parent form

    Hi guys, I have a form with a combo box, and when you select an item from this combo box it displays all the records that match that item in a subform. All OK so far. Trouble is, once you've selected an item and the matching records are displayed, when you then click in the subform the first...
  3. G

    Navigate to previous record??

    Anyone?? I can't imagine the solution is rocket science, but without the right syntax I'm stuck. Thanks in anticipation!
  4. G

    Navigate to previous record??

    Gday, I posted this in the "Word" section since it's a Word document I'm working on, but I'm guessing it relies on VBA anyway, and the lack of response there has led me here. I'm doing a mail merge and I want to instruct Word to retrieve the contents of the previous record, not the next...
  5. G

    Vertical alignment of text

    Is there some way to adjust the vertical alignment of text in a text box in a Access 2k2 report? It seems to do top alignment by default, but I want to change this to bottom alignment.
  6. G

    Display most recent entry when multiple entries for an item exist

    Display most recent record when multiple records for an item exist Hi, I have a table which stores a list of all our loan computers and their loan history. Each time a computer is borrowed, a new entry is added to this table, and when it's returned, a checkbox is cleared to show it's no longer...
  7. G

    Passing a value from parent form to child form

    Hi Pat, Yes, that worked! I had tried something similar in my early investigations, but kept getting an error message about an ambiguous outer join (there are three tables in my query) which only came when I changed the matching join on the 2nd and 3rd tables to a left join. But when I changes...
  8. G

    Passing a value from parent form to child form

    That works, but again only if the child form has a record matching the machine currently shown in the parent form. I need the child form to take the field value and display it from the parent form, regardless of whether there's a matching record or not. Another thought, can the parent form maybe...
  9. G

    Passing a value from parent form to child form

    Hmm, still no go. I get a runtime error when I put: Me.TestEE = Forms ("frmInventory") ("EE_No") in the Form.Load property, and it doesn't do anything in the TestEE.BeforeUpdate (Cancel as Integer) property. I also put the same thing in the control source of an unbound text box, but that...
  10. G

    Passing a value from parent form to child form

    I don't want to use a subform in this case, because the information won't be needed that often, so I'd rather have it accessible by just a button rather than a permanently displayed subform. It's also neater for the form layout I have. I couldn't actually get either of those methods to work...
  11. G

    Passing a value from parent form to child form

    Hi, I have a parent form which contains information about PCs on our network. In this form is a button which, when clicked, will open a second form and display any licensed software installed on that PC. The heading on the child form is 'Licensed software on <asset number of the PC in...
  12. G

    Cant add record

    Hi Pat, Yes, as you suggested, my scenario was like scenario 3. Translating this into my situation, I can't really see how it worked the way I described. Every time I entered data into tblB.Datafld (tblInventory.EE_No), a new record would be added to tblB (tblInventory). Maybe I am insane...
  13. G

    Cant add record

    Now I really feel I'm going crazy. After what I thought was a success, I got to work this morning and found the changes I'd made to the database were all gone. The results I now have are different. I have two tables: tblLicenseIssue and tblInventory. The purpose of this query is to add...
  14. G

    Cant add record

    Great, thanks! :) Greg
  15. G

    Cant add record

    Hi Pat, Yes, thanks for what you said - I realised why my 2 table example didn't work, and it did what I wanted it to, but there had been a couple of earlier suggestions about how to fix it, so I was very interested to know whether the key is wholly and solely the join type, or whether some of...
  16. G

    Cant add record

    Hi Pat, Thanks once again for your help (I don't think this is the first time you've come to my rescue!) That worked fine. I do actually need fields from tblInventory, but I removed them from the example statement for simplicity's sake, to remove as many factors as possible which weren't...
  17. G

    Cant add record

    I'm experiencing exactly this same problem, but I can't seem to get the query to be updateable even after following the instructions provided here. What else can be causing this? I have a two-table query which I can't update, but I have a three-table (unenforced joins) query elsewhere in the...
  18. G

    Problem linking sub-form to main form

    Pat, I've been trying to duplicate what you did so I know for next time. You mentioned that once the duplicate fields were removed, "you were able to fix the master / child links". I've got my queries looking the same as yours, but the form still doesn't work, I still have the original problem...
  19. G

    Problem linking sub-form to main form

    Yes thanks for doing that Pat, your message was obviously posted while I was writing my reply to Wayne. Has answered my problem.
  20. G

    Problem linking sub-form to main form

    Hi, Just noticed Pat's reply, and yes that does seem to work, thankyou to both of you for your help. To answer your questions Pat: The form is intended to show pieces of software in the main part of the form and associated information, while the subform is intended to show all the actual PCs...
Top Bottom