Search results

  1. V

    Reset a query

    Good idea MStef! Easy and effective! Was looking in a totally different direction.....stripping WHERE clause from SQL statement...etc. Thanks again.
  2. V

    Reset a query

    I need to have a button in the menu to reset the SEARCH-query. With a button I give access to this query to add criteria for the search. Often these criteria are not deleted, but other parts of the database also use this search. Can one of you help me with this problem?
  3. V

    Form to view data with combobox

    Hi Bob. Did what you suggested (except setting enabled to no). This does the job, but raises another question. In the form I have fields and pending on the selection in the field it might deactivate other fields. This is now lost. Correct and, if so, is there a solution?
  4. V

    Form to view data with combobox

    I have a form to view data. For that reason I do not allow edits, deletions, additions and I have also set data entry to no. In the footer I have a combobox of one of the datafields on the form. To type and/or select a value I want the form to be filtered for that value. Due to the settings of...
  5. V

    Copied database does not open VBA

    On the desktop MS Access 2003 SP3. On this computer I made the database. I converted a copy of the database via tools to 2000 format, because MS Access 2002 SP3 is installed on my laptop. I converted to 2000 format, because the menu gives me 97, 2000 or 2002-2003, but this last option is not...
  6. V

    Copied database does not open VBA

    When I copy my database from my desktop to my laptop I can run it, open the backend with the tables, but as soon as I want to open the code MS ACCESS tells me that the project is locked. On my desktop this does not happen. Any idea?
  7. V

    Alter Linked Table

    Eventualy I found my stupid error. I still had the recordset open! Sorry for that!
  8. V

    Add column to table of linked backend

    Eventualy I found my stupid error. I still had the recordset open! Sorry for that!
  9. V

    Add column to table of linked backend

    No Bob only the link to the table I wanted to alter was disconnected. The only reason where I can now think of is that once the code starts to add the column the backend as such is still in use. This would also be the case when all links are disconnected, isn't it? If that is the reason the...
  10. V

    Add column to table of linked backend

    Thanks DCrake for your help! The backend table is first disconnected and then connected. Perfect. The code I'm using (as given earlier in this thread) to add the column gives me still error 3211. Any idea on this?
  11. V

    Disconnect and connect table backend

    Due to a modification I need to add a column to a table of the backend of my database with code in the frontend. After distributing the frontend and on opening it will modify the table by the users who all work stand-alone. The name of the backend is with all users the same. Due to the backend...
  12. V

    Add column to table of linked backend

    OK Bob, I will do that.
  13. V

    Add column to table of linked backend

    OK Bob, that's why I'm another user. Knowing this an idea could be to break the link with the backend table, add the column and reinstall the link. If this is possible do you know how to break and reinstall the link?
  14. V

    Add column to table of linked backend

    Thanks for your reaction Bob and due to that I now realise my explanation was not complete. Users of the database are not on a network using the same backend, but have the database on individual computers. The error I get is when I test the frontend linked to the backend. Any idea?
  15. V

    Add column to table of linked backend

    Due to an unforseen modification in my database, I need to add a column to a table of the linked backend. I do not prefer users to modify this table, but try to do this with code in the frontend of the release that comes with the modification. For me it seems impossible to add a variable as an...
  16. V

    Alter Linked Table

    I have to modify one of the tables of the backend once the frontend opens. Is this possible and how do I have to change the code? strSQL = "ALTER TABLE MyTable IN 'C:\MyDir\MyDB_backend.mdb' " & _ "ALTER COLUMN BackupFolder TEXT(250) " & _ "ADD COLUMN BackupAantal...
  17. V

    INSERT INTO and VALUES

    Thanks for your help tehNellie. It's now working :). By the way, if the recordset is completed and ordered can I then get the number of records in the set?
  18. V

    INSERT INTO and VALUES

    What I try to achieve is to sort the data of tblBackup on dtmBackupDateTime in descending order, so that the latest backup is on top of the list. After being able to do that I want to keep the required number of backups-1 and then backup the data.
  19. V

    INSERT INTO and VALUES

    Thanks for your help tehNellie and it works. Now I would like to order the table on dtmBackupDateTime descending. Again I have a problem with the SQL statement. Maybe you can give me directions again. DoCmd.RunSQL "SELECT [tblBackup].[pkBackupID], [tblBackup].[strBackupName]...
  20. V

    INSERT INTO and VALUES

    I'm trying to write a SQL statement to fill a table with the backup files as stored in the backup folder. I managed to create the table tblBackup with the fields strBackupName and dtmBackupDateTime. The names of the backup file are: Backup with the date and time of the backup added. I'm able to...
Back
Top Bottom