Search results

  1. G

    Solved Error 2455 requering from another subform

    Thanks @MajP , your test files have really helped me today. Will play tomorrow again with it, enjoy the evening :D!
  2. G

    Solved Error 2455 requering from another subform

    I like this :cool: 🚀 . Both versions give me some new learnings. Is it correct that the method used in TEST3 is a tiny bit faster regarding loading / processing?
  3. G

    Solved Error 2455 requering from another subform

    Thank you for your reactions. I am familiar with Parent & Child linking of subforms. The reason I am walking this path is that I want to determine the recordsource of "frmCarColors" based on a variable from "frmCars" and the recordsource of "frmIngredient" based on a variable of "frmCarColors".
  4. G

    Solved Error 2455 requering from another subform

    Goodmorning, Last year i posted the following question about error 2455. https://www.access-programmers.co.uk/forums/threads/error-2455-requering-another-subform.325272/ I now get stuck with the same problem and still don't understand what I should do differently (feels stupid 😅) . Scenario: I...
  5. G

    Error 2455 requering another subform

    In my real database, i use this oncurrent event to run an if statement after selecting a row which checks some conditions in frmFirstTable and change the recordsource to a different source in frmSecondTable, afterwards it requeries. Do you have any suggestion or example how I should do it...
  6. G

    Error 2455 requering another subform

    Good evening, I have a form called frmMainTable with two sub forms (frmFirstTable & frmSecondTable), in the subform frmFirstTable I have placed in the on-current event the following code: Forms![frmMainTable]![frmSecondTable].Form.Requery However, when I open the frmMainTable I get the...
  7. G

    First select record before click event

    If you create the database yourself and read this, I realise I am being pulled down the rabbit hole 🐇😜
  8. G

    First select record before click event

    Thanks for replying :)! I am using sql server by the way as back-end. I don't think the relational integritry is working, since the table (with product key*) related to frmA can have records while they don't have to be exist in frmB (TableB). Below a small example in excel what i want to...
  9. G

    First select record before click event

    Morning :)! I have made a continues subform (frmA) on my main form (frmMainA) with an button on it. In the clickevent I have made some statements to run eventually a delete query. There is also another subform (frmB > which is linked to frmA by frmMainA). Now I want to make a If statement that...
  10. G

    Solved Use saved Access query in Sql server statement

    Thanks for all explanation and different suggestions :)! Learning a lot these days. I have used the method suggested by arnelgp & sonic8, which was suggested in the begin of the thread.
  11. G

    Solved Use saved Access query in Sql server statement

    This would maybe a good solution, but i have to think about the limitations. Eventually, I want to do some tests before loading the data and i wanted to use the sql server queries for this purpose.
  12. G

    Solved Use saved Access query in Sql server statement

    Thanks for replying, this one does not work, I think it is because the tables in access are named with "dbo_" and sql does not recognize this. 😅
  13. G

    Solved Use saved Access query in Sql server statement

    Hi :)! I want to load some data from an Access form into a sql server table, but i am facing some challenges. The data I want to load is from/displayeb by a "saved qry in Access", lets call it "qryAccessDemo". This query I use in a form form with some related criteria's. So when I have a form...
  14. G

    Solved Comment / activity form resize comment box

    Thanks guys for thinking with this problem. I now choosed to go for this method.
  15. G

    Solved Comment / activity form resize comment box

    Hi again, I have this problem with my comment form, where I want to autoresize the comment field to save some space when it is not used. What I found in a couple of threads is that this is probably not possible, since it is only possible within a report. Some sources I found: Not possible...
  16. G

    Solved Assign Id in form based on other table

    Thank you :D I had a look to your greate example files, i think i can implement this!
  17. G

    Solved Assign Id in form based on other table

    Hi, I have two problems which i try to fix: First problem: I have created a simple project form where i try to make an option to asign a person to a project by a combobox. In addition, I want to filter the combobox with the corresponding category from the project. My current method is that i...
  18. G

    Relationship lines Access - SQL server

    Thanks! I have deleted the PK on table 2, I thought that CompanyID in table2 also needed the status primary key. Since it is the unique identifier of Table2. When I make it a foreign key, access recognizes the relationship.
  19. G

    Relationship lines Access - SQL server

    Good morning :)! When I create a relationship in SQL server and add them in my Access database, Access sometimes does not auto recognize the relationship. I try to understand why this is happening. I have tried to restart sql server and relink/fresh the linked tables in access after creating...
  20. G

    Searchbox VBA problem

    Good evening, I have a form which contains a combox to select certain products. I use the combobox to fill in the form. This combobox is based on a qry with approx 50 records. Now, I wanted to make a search box in the form which can be used to filter the combobox so I don't have to scroll all...
Top Bottom