Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. stotzc001

    Clearing form with a Cancel button

    Private Sub Closeform_Click() Hamzagm, Place a button control on your form then right click on it and select build event. Cut and paste the following code: ______ On Error GoTo Err_closeform_Click DoCmd.DoMenuItem acFormBar, acEditMenu,acUndo, ,; acMenuVer70 DoCmd.Close...
  2. stotzc001

    Can't Delete Corrupt Database

    Swaggel1, I could be that you do not have the property security permissions to delete the file. That is why you are getting the access is denied error. Talk to your IT folks about deleting the file. They should have full admin rights to delete it. Chuck
  3. stotzc001

    Form with a subform

    Datathumper, Make isonumber either a primary key in both tables or set the index for no duplicates then make sure you have a 1 for 1 relationship. That should solve it for you. Chuck
  4. stotzc001

    closing database question

    Sid, I'm a little confused on the locking issue. I thought you just wanted to restrict user input for a given period of time. What it sounds like you want to do is take the database at a given point in time and save it to a location, then allow users to start inputing data in a fresh database...
  5. stotzc001

    closing database question

    Sid, The way I see it, you have 2 issues. The fisrt being user access. The only trouble with copying the database to another location is that someone could log on to the database in the original location and enter data. A better option would be to open the database in exclusive mode. The...
  6. stotzc001

    Legal Issues?

    There is nothing wrong with selling an workbook that uses VBA. What you are really doing is charging for your time that was used in creating and coding the workbook. The only legal issues is that you used a licensed copy of excel when you created the workbook. Also, like VBAjedi stated above...
  7. stotzc001

    Row Level Tracking

    Does anyone know what "Row Level Tracking" is under table properties? When would you want to turn this feature on?
  8. stotzc001

    Copy a Database Structure Only

    Thats what I was looking for. Thanks and enjoy the star. Chuck
  9. stotzc001

    Fill an empty table with values

    Works like a champ. Enjoy the star & thanks.
  10. stotzc001

    Copy a Database Structure Only

    I won't be around to do the carryover so I want it to be as transparent as possible to the end user.
  11. stotzc001

    Copy a Database Structure Only

    I guess I needed to be a little more clear on what I wanted to do. I need to copy all the tables in my database (structure only), queries, reports, and macro's. Any ideas?
  12. stotzc001

    Fill an empty table with values

    I have a database that works on a fiscal year basis. At the end of each fiscal year I close out the database and transfer any carryover data to a new database for the next fiscal year. One table I have in the database tracks data within the FY on a daily basis. It has 365 records starting...
  13. stotzc001

    Copy a Database Structure Only

    I have a database that needs to be closed out on a fiscal year basis (FY2004.mdb). What I want to do is create a function that will copy my database (structure only) to a new file called FY2005.mdb Once that is complete I can fill the new database with the information that is carried over...
  14. stotzc001

    Compress and Repair Function

    Had to make one adjustment, but it works. Thanks for your help and enjoy the star. Function DoCompression() SendKeys ("%{T}DC") End Function
  15. stotzc001

    Compress and Repair Function

    Is it possible to put a button on a form that would force my access 2000 database to complete a compress and repair? I know I can set access to perform this option when the database closes, but I dont want it to run everytime, and I really dont want to have to explain to people at work how to...
  16. stotzc001

    Performance issue w/access on network

    Roy, This is actually the second post you have helped me with today. Thanks to BMPMike and Roy for the help. Enjoy the stars. Chuck
  17. stotzc001

    Auto Backup of DB using Code?

    Jeff, It took some time, but I finally got it to work. Well worth the effort. You and Roy both deserve your stars today. Chuck
  18. stotzc001

    Performance issue w/access on network

    I have an access database that is located on a network drive that is accessed by 2-3 users at a time. When compressed the database is only 9mb but can grow to 40-50mb in a session. When I run the database on the local hard drive it runs fairly fast, but doggs down on the network w/multiple...
  19. stotzc001

    Auto Backup of DB using Code?

    Jeff, Copied all the code and tried again. I am getting a Error 71 Disk not ready. I even tried setting the location to C:\ just to see what would happen. I have a couple of linked tables in my database that are offline right now, would that cause the funtion to error or am I just missing...
  20. stotzc001

    Auto Backup of DB using Code?

    Roy, Thanks for the help. I gave you a star for all your help an patience. It finally runs, but now the errorbox pops up because of an invalid procedure call. I used the this code to call the function: Private Sub Command6_Click() Dim blnBackupSuccess As Boolean blnBackupSuccess...

Part and Inventory Search

Back
Top