Search results

  1. D

    Automating Periodic Repair And Compact

    Hi All! I have Access 97 client and server databases linked together. My system is setup so the database is aware of how many users are currently logged in so Ill know when it is being used exclusively. What I want is some code to check every week that a repair and compact has been performed...
  2. D

    Bizarre Problem!

    Hi All! This to me seems absolutely bizzare! It happens in both Access 97 and Access 2003 so I know its not a version issue. I have a Access database with a link table to a spreadsheet. I have written a query which displays data from this link table which filters out blank rows, the...
  3. D

    Recording User Useage

    This Is My Log On Code......... This is my log on code and there is a similar on for logging off. In built is a check to see if the system still thinks a user is logged on when the log on date is not today (ie they crashed out!) as each user should shut down each night. It utilises a further...
  4. D

    Data Entry Using Unbound Forms

    Hi All! I have written a call log system in Access 97 for a busy customer help desk. Now I never bind any of my forms as I like to use VBA code to verify the entry first before writing it to the table. However, every now and then that million to one shot occasion occurs where 2 help desk...
  5. D

    Recording User Useage

    Any help most appreciated! I have a Access 2003 database I am developing which has a table called "tbl_users" in which I have the fields: user name(text), network id(text), status(yes/no), long on time (date/time), log on date(date/time), log off time(date/time), log off date(date/time). When...
  6. D

    About Ready to Give Up on Access

    In The Usa? Ive always wanted to visit the states so pay me to come fix it!!!! Failing that one thing I find that usually helps with multi user access environments is NEVER bind forms. Use VBA to write records back to the database once the code has verified the data is ok. I have wrote a...
  7. D

    Delaring Global Databases And Recordsets

    Dear Readers! I have been developing Access databases for a number of years now but naively even though I use a number of database and recordset calls repeatedly within those databases I define them each time ie: DIM MYDB AS DATABASE SET MYDB = CURRENTDB() DIM MYTABLE AS RECORDSET SET...
  8. D

    vba code - add new and duplicate records

    This Is How! Create the following function: DIM MYDB AS DATABASE DIM SOURCE AS RECORDSET DIM TARGET AS RECORDSET SET MYDB = CURRENTDB() SET SOURCE = MYDB.OPENRECORDSET("{name of table A}") SET TARGET = MYDB.OPENRECORDSET("{name of table B}") SOURCE.MOVEFIRST DO UNTIL SOURCE.EOF...
  9. D

    Refresh Problem

    Many Thanks! Thank you very much for your assistance Ill give it a try! Regards.
  10. D

    Refresh Problem

    Hi All! Can anyone help with the following problem? When clicking a button on a form the code behind that button minimizes that form and loads a second form which just has a label on it stating "Please Wait........" and then my database carries out a number of functions. However, it takes a...
  11. D

    autoincrement

    I Would........ I would create a query based on the table listing all of the record numbers in ascending order. Change the autonumber field concerned to a number, long field. When writing a record: DIM MYDB AS DATABASE DIM SOURCE AS RECORDSET DIM TARGET AS RECORDSET SET MYDB = CURRENTDB()...
  12. D

    Inventory pallet control?

    Try This! OK so you have a order table...Purchase Order Number, Quantity. Create a label table and purchase order number selection form possibly with a combo box listing all purchase order numbers then put this code behine a print labels button on that form. DIM MYDB AS DATABASE DIM SOURCE AS...
  13. D

    Database Design question

    Controlling Data Entered By Code This is really where unbound forms come into there own. If you create a save record button as apposed to having a bound form allowing you to create data straight away into a table you can code this button to check each field prior to writting to the table...
  14. D

    Auto Populate

    Try This............. I would have a second hidden field generating a auto number. Then within a query check for the length of this auto number field and add the correct number of leading zeros and insert into the the field you want to display.... IF LEN([AUTO NUMBER FIELD])=1,"000" & [AUTO...
  15. D

    Mse Files In Access 2000 Format

    Is it possible to import the objects from a Access 2000 format MSE file into a blank mdb file access database? Is there a clever gismo to do this? Help! Regards, DALIEN51
  16. D

    Ms Access 97: Manipulating Windows Folders

    Using Access 97 I wish to create an ID number on a form and then click a button wich creates a matching folder name within my windows folder structure. Also this needs to check if the folder already exists and so in this case to take no action. I have also got a button which opens a Microsoft...
  17. D

    Works on one comp, but not another?

    The Answer Is................. The reason is one of your objects isnt ticked in your reference list at home. Within the code view under debug i think it is you will find an objects list or reference list. There will be an item not ticked at home that you have ticked at work. So check which...
  18. D

    Renaming Objects In Access 97

    I have been tasked with amending a database written by my predeccesor in Microsoft Access 97. However, he has not prefixed any of his tables, queries or forms or report names which I was always taught was fundemental to database design. I want tbl_ before each table name, Qry_ before each...
  19. D

    Update Query Message

    Yes You Can Turn Them Off! Either call the query from a macro and insert a line before the call of your query "setwarnings" and set to false. or In code "docmd.setwarnings" false if in code. Regards, NEIL
  20. D

    Linked Table Errors

    Could You...........? Hi, Just a thought, could you not write an update query for each field which you run in turn after the import exchanging #num for null? Regards, NEIL
Back
Top Bottom