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 bkrike 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: *

  • Users: tomco22
  • Content: Threads
  • Order by date
  1. tomco22

    Turn Up The Volume

    Is there a way to un-mute and max the speaker volume from within Access? My user gets an alarm if he does not do some thing (task) every 15 minutes. Tom
  2. tomco22

    Forms Keep Shrinking

    Access 2000. I have several forms that have started acting wierd. When a user opens up particular forms all they see is a sliver which they cannot be resized. The forms in question are set to Auto Resize = No, Auto Center = Yes, PopUp = Yes, Modal = No, Border Style = Thin, Width = 7.5 (which...
  3. tomco22

    Picture Loading Annoyance

    On my Switchboard form the timer event cycles through random pictures every 5 seconds. Every time a new picture cycles, a vbCancel message box briefly appears that says: Importing C\Documents and Settings\...\ \...jpg Is there any way to keep this annoying message box from appearing? Tom
  4. tomco22

    Refer to a Control in Code?

    How do I refer to a control in code. I found a close answer in FAQ's but it doesn't get me there. I have multiple and specific labels I want to set a specific line height to in code. The following snippet does not work. Private Sub LineHt(ctlLabeL As Label) ctlLabeL.LineSpacing = 100 End Sub...
  5. tomco22

    MSDATGRD.ocx

    I work in a government environment that does not allow ActiveX files on the computers. What specifically does MSDATGRD.ocx contribute to Access. Can I run a lean database with forms and queries without having MSDATGRD.ocx. I already have the database up and running. I’m trying to figure out...
  6. tomco22

    Force a Table Resort?

    I have two tables (one-to-many relationship) and various queries that pull from these and other tables. I have an “Add Record” form that solicits basic info to create a new record. When the user clicks “OK” that triggers some DoCmd.RunSQL stuff that inserts a record in the first table and...
  7. tomco22

    Compile Error

    With Access 2000 (SP-3) why do I get a compile error that stops on, “rs.findfirst” with the “.findfirst” part highlighted. The error message is, “Compile error: Method or data member not found” Tom MCSD I Nab Terrorists
  8. tomco22

    How Do I Code "Options"?

    How would I change startup options via code. I don’t want to go to every computer to navigate through “TOOLS > OPTIONS… > Edit/Find to uncheck the three boxes in Confirm: Record changes; Document deletions; Action queries. I would also like to change the “Default database folder:” to C:\ via...
  9. tomco22

    Custom Menu Issue

    I have created 2 custom menus for my db. One menu activates and top-docks when a form is opened (MenuForm). The other menu activates and top-docks when a report is previewed (MenuPrint). I am having a problem with my File>Print function. When I click File>Print the whole report immediately...
  10. tomco22

    Hard Code a Report to Landscape Mode

    How do I code my report to print in landscape mode? My users open the db on various computers and the report, regrettably, defaults to portrait mode. Many of the users are confused and do not know to click File:PageSetup:PaperSize:Landscape. I researched this question on this forum and found...
  11. tomco22

    Text Box Control Source?

    Can I use a Select Query as the control source for a text box? If so what is the syntax? I tried: =(Select blah, blah, blah;) This does not work. Currently I am using Dlookup as the control source but I assume a Select Query would be faster. The report generates about 4200 of the Dlookup...
  12. tomco22

    Conditional Formatting

    Access 2000 I have a list of dates and data on my subform. I want to visually delineate the end of one week with the beginning of the next week. It would be nice to have the background shading alternate from week to week but I have decided that is probably not possible. What I’ve settled...
  13. tomco22

    Crosstab Query Misbehaving

    Is there a trick to get my Crosstab query to read a text box from a form. I am trying to limit the date range to a calendar month in my Crosstab query. It works fine if I hard code the dates but I am striving for dynamic. The following is a date field: Criteria...
  14. tomco22

    Format TIME Grief

    I want to format my time to display in MILITARY TIME! That's not asking a lot. I want 8:02 AM to display as "0802". I want 10:15 PM to display as "2215". I will even accept the insertion of the colon, if I must. When I tried "Short Time" I am offered an example of "17:34" but the resulting...
  15. tomco22

    Can I Query Fields From Multiple Records?

    Can I build a query that pulls fields from multiple records? My database schedules employees, or groups of employees, work days and off days. A simplified version of the structure of a record is: [Date](PK), [OnDuty](Yes/No), [Group](FK) I want my form to look like this. An "X" represents...
  16. tomco22

    Populate Linked Table

    I am designing a database to assign employees to the various work positions each day. Two tables, tblPosition and tblDate are joined by the tblPositionDate table. The tblPositionDate table has a compound primary key consisting of “date” and “position”. What is the best way to auto-populate...
  17. tomco22

    Sentence Case Update Query

    These folks at work have two "databases" on Microsoft Excel. I am converting this mess over to Access. The smaller database is ~100 names. Last, first, and middle name were all in one Excel "field". I got all that mess parsed into seperate fields but the issue I want to fix now is...
  18. tomco22

    Non-Existent DLookUp Value

    How do I handle nonexistent records with DLookUp? I want to verify that someone is an authorized user before the database opens. My code is: Private Sub Authenticator() If (DlookUp(“[Administrator]”, “[tblUsers]”, “[UserID] = “ & “fOSUserName()”)) = (-1) then Open a form Exit Sub End If...
  19. tomco22

    Dot Leader

    Is it possible to have a dot leader on a report such as is available in Microsoft Word. I want each line to format like this: John Jones......................770.123.4567 Fred Fredricks..................404.321.7654 Sam Smith.......................678.765.4321 For reasons I won't go into it...
  20. tomco22

    Macro At Startup

    I want my autoexec macro to write the user name and date to a table whenever the database is opened. I fine-tuned the code with a click event: Private Sub User_Click() ...irrelevant code txtUser = fOSUserName txtDate = Now() ...irrelevant code End Sub The click event works great but I want to...

Part and Inventory Search

Back
Top