Recent content by vandewi

  1. V

    Text Box overflowing

    Are you actually printing the report? The CanGrow property does not effect a print preview.
  2. V

    Password protecting buttons

    You can not set focus on tblUserName, because it does not exist. You will have to create it yourself. I realize that this makes for some double entry, but I find the benefits make it worthwhile in your case.
  3. V

    Password protecting buttons

    What I usually do in this case, is that I have a table called tblUserProfile that has the information for all of the users of the database (including their username, and group). When the database is opened, have a hidden form open that check the CURRENTUSER contant to find out who has just...
  4. V

    Password protecting buttons

    You can tell who is logged in by using the CURRENTUSER constant. You can then write some code on the OnOpen event: if currentuser="YourUserName" then me.yourcontrol.visible=true else me.yourcontrol.visible=false end if
  5. V

    OpenRecordset Error

    Just a thought, but you are using SQL as a variable. Is that a reserved word? Try a different variable.
  6. V

    Can't get into back end

    You will have to experiment with your workgroups until you find the correct one to use with your backend. Try to retrace your steps when you created it. Did you set up security on the back end? If so, what workgroup were you using at the time? Once you have successfully logged into the back...
  7. V

    Message Box Not Displaying

    I would assume that your [SelectPT] and [SelectDate] controls are unbound. That means that they will retain their values when you return from the report to the criteria form. If you would like to force them to re-enter a date after selecting a new patient, you could clear the [SelectDate] box...
  8. V

    Query not finding new data

    If you are entering data in a form, you must leave a record before it will save to a table. It sounds like your report is triggered from your entry form, so you should either leave the last record, or save the last record entered just before you run the report. You can save the record using...
  9. V

    Database Error

    Have you tried creating a new, blank database, and then importing all of your objects into it? I find that it is usually one of the system files that has corrupted to cause this problem. Creating a new DB will re-create all of the system files.
  10. V

    Query an existing queried recordset

    Go to "Help", and look up the "RecordSetClone Property". This should get you on the right track.
  11. V

    Date + x to avoid holidays?

    I have some date functions that I have created that adjust for weekends and holidays. It is currently set for American holidays, but it can easily edited for any country. The functions are: PrevWorkday: Returns the previous workday. NextWorkday: Returns the next workday. AddWorkdays: Provide a...
  12. V

    Not valid notebook error suddenly appears

    You may still have a system object that is corrupt. If I am understanding you correctly, it sounds like you just made a copy of the database and called it Temp.mdb. What you want to do, is to create a brand new, empty database. Import all of the objects (including links) to the new database...
  13. V

    Stupid Question

    I have used both Office97 and Office2000 on Windows XP Pro with no problems at all......
  14. V

    Not valid notebook error suddenly appears

    This type of corruption is usually caused by a bad shutdown of the database. The corrupt file is quite often a system file that is created when the database is created. There are two things that I would try: Create a new, blank database, and import all of your objects into it. (This will...
  15. V

    VBA Search

    Why would you be putting this code into a recordset? If you want to populate a combo box, just enter the code into the record source property of the combo box.
Back
Top Bottom