Search results

  1. K

    invalid operation after split-database

    is there an alternative to the .seek method that will work for me? Ive tried Mytable.FindFirst Forms![Vehicle Profile]![VIN] instead and I still get the same error
  2. K

    invalid operation after split-database

    Is there an alternative to the .seek method that will work for me?
  3. K

    invalid operation after split-database

    Ok, after debug, it highlighted "Mytable.Index = "VIN"" and when I hover over it, it says "Operation is not supported for this type of object"
  4. K

    invalid operation after split-database

    Ok added Microsoft DAO 3.6 Object Library, tested the database and still had the same error when I clicked the button. "Operation is not supported for this type of object"
  5. K

    invalid operation after split-database

    The conversion was done through access. The database started in 2003 .mdb format, Through the Access office button I hit convert, and it converted/saved it as a new .accdb file. Both the front end and back end are 2007 .accdb
  6. K

    invalid operation after split-database

    When I try and add Microsoft DAO 3.6 Object Library, i get "Name conflicts with existing module, project, or object library"
  7. K

    invalid operation after split-database

    Still the same. The message was "Invalid Operation" when i used DB_OPEN_TABLE. Now I have DB_OPEN_DYNASET and the error instead is "Operation is not supported for this type of object"
  8. K

    invalid operation after split-database

    Yes the database was created by someone else. My job was to convert it to Access 2007 and then make a backend. In the VBA no errors come when I compile the code. The error just comes when i run the database, does not give me an option to debug then, just "ok".
  9. K

    invalid operation after split-database

    I've tried changing "DB_OPEN_TABLE" to "DB_OPEN_DYNASET" and instead of invalid operation, I get "Operation is not supported for this type of object". Any ideas??
  10. K

    invalid operation after split-database

    My database was working fine before an access back-end was created. I was able to click buttons on the form that took me to other forms. Now after the database was split, when I click the buttons, I get an "Invalid Operation". Here is the code behind the button. Does something need to be...
  11. K

    Problem with DB_OPEN_DYNASET after split db

    Your right, I see where the mistake is, I set mytable twice. Set MyDB = DBEngine.Workspaces(0).Databases(0) Dim strSQL As String strSQL = "SELECT * FROM [Vehicle Operating Data] WHERE VIN = '" & Me!VIN & "'" Set Mytable = MyDB.OpenRecordset(strSQL, dbOpenDynaset) This now works...
  12. K

    Problem with DB_OPEN_DYNASET after split db

    Hopefully I make sense when trying to explain this.. Before I split my database into a front and backend, the code blocks listed below worked fine and the buttons on the forms did what they were suppost to do: Dim MyDB As DAO.Database, Mytable As DAO.Recordset, x As String Set MyDB =...
  13. K

    Problems setting button visibility

    As of right now I was just testing the visibility functionality and did not add in the user-level access.
  14. K

    Problems setting button visibility

    No errors, just acts as if the code isnt there.
  15. K

    Problems setting button visibility

    I have a maintenance button on a form that I want to be visible/invisible based on user-level security access. However for testing purposes in the form_load I set the button to be invisible, but it is still visible. Here is the code: Private Sub Form_Open(Cancel As Integer)...
  16. K

    Enable/Disable button from Module

    I know "Me.btnMain.Enabled = False" will work in the form that the button is in. However, what code can I use to enable/disable a button on another form from a module?
  17. K

    Error using DLookup to retrieve from another form

    Oh jeez, I didn't think about that..:o. I guess it's too early for me to be messing around with databases. Thanks a lot!
  18. K

    Error using DLookup to retrieve from another form

    All the textbox shows is #Error
  19. K

    Error using DLookup to retrieve from another form

    I have two forms (form1, form2). Form1 has a combo box named "Owner" which lists locations. I want a textbox in form2 to update with whichever location the user chooses from form1. Im using the DLookup function: =DLookup("[location]", "tblAddress", "[location] =" & Forms![form1]!Owner) Any...
Back
Top Bottom