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 strongm 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. Psychpt

    CONTAINER CODE FOR DROP DOWN REPORT LIST

    I'm sorry try this, Dim ct As Container Dim doc As Document Dim db1 As Database Dim FrmName As String, strRowSrc As String Set db1 = CurrentDb() Set ct = db1.Containers("Forms") For Each doc In ct.Documents FrmName = doc.Name strRowSrc =...
  2. Psychpt

    Create Temporary Report based on User Input on Form

    if you put LIKE 'soft*' it will give you everything starting with soft and so on. HTH
  3. Psychpt

    max date between dates

    if you want to calculate days then it would be: Format("d", BeginDate, EndDate)
  4. Psychpt

    max date between dates

    DateDiff
  5. Psychpt

    CONTAINER CODE FOR DROP DOWN REPORT LIST

    currentdb() or the full path and filename. eg. dim db1 as database set db1 = currentdb()
  6. Psychpt

    CONTAINER CODE FOR DROP DOWN REPORT LIST

    Dim ct As Container Dim doc As Document Set ct = DB1.Containers("Forms") For Each doc In ct.Documents List3.AddItem (doc.Name) Next doc Set ct = DB1.Containers("Reports") For Each doc In ct.Documents List4.AddItem (doc.Name) Next doc Set ct =...
  7. Psychpt

    access in win 2k server

    sounds like there might be a problem on the share permissions, or the path changed. It should work the same on workstation and server, it's just accessing the file. HTH PsychPt@Hotmail.com
  8. Psychpt

    Create Temporary Report based on User Input on Form

    create a query from the values in the form and attach the report to the query. HTH
  9. Psychpt

    Problem with multi criteria select query

    Try: SELECT NewClient.Name, NewClient.[Business Unit] FROM NewClient WHERE (((NewClient.[Business Unit])=IIf([Forms]![MIS]![BU]<>&quot;(All)&quot;,[Forms]![MIS]![BU],[Business Unit], &quot;Like *&quot;))); HTH PsychPt@Hotmail.com
  10. Psychpt

    Scope of public variables/subs/functions from within form modules?

    If the Public Keyword is used in a module it is accessable by ALL. If the Public Keyword is used in a Form it is only accessable to the rest of the Application when the Form is loaded, if the form is unloaded or closed it will NOT be accessable. HTH Psychpt@Hotmail.com
  11. Psychpt

    Opening Excel file from Access

    make the .visible true
  12. Psychpt

    setwarnings issue

    I don't know if this will help, but try DoCmd.SetWarnings False without the brackets. the runtime version is very bugy that way. HTH PsychPt@Hotmail.com
  13. Psychpt

    Prompt user to see if they want to save changes to a record

    First of all, if you're using the dirty property you must do it for every edited control on the form. Second, when using the dirty property use the oldvalue along with it not undo. Third, The first On Error will never happen. Fourth, the help has a very good example of the dirty usage. HTH...
  14. Psychpt

    Removing Fields off a Toolbar

    There are many ways to change toolbars. The most common and practical way is to create your own toolbar, include only what you want, and specify on startup or on forms(depending on how many different toolbars you create) which toolbar to show and hide. The proper syntax for showtoolbar is...
  15. Psychpt

    Show SQL Server User in Access 2000

    SELECT SUSER_NAME() HTH
  16. Psychpt

    Goto New Record

    DoCmd.GoToRecord , , acNewRec HTH PsychPt@Hotmail.com
  17. Psychpt

    CALENDARS---Again----PLEASE HELP SOMEONE!!

    with the calendar control that comes with access, you CANNOT change the color of just one day on the calendar. The only choices are: Border color, Background color, Font color for the days(all), Font color for the Grid(all), and the Title color. the only way to do what you want is to create...
  18. Psychpt

    Network User Logon

    yes it works in access vba too

Part and Inventory Search

Back
Top