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!

Recent content by DJS2

  1. DJS2

    VBScript & Access procedures

    Why not create an autoexec macro to run webGotoItem() when the database is opened [lightsaber]
  2. DJS2

    VBA in Access Help

    Presumably the Function WorkbookIsOpen(wbname) is not on the spreadsheet being tested by the Sub cmdNewBusCon_Click(). This being the case, I would not expect the Function WorkbookIsOpen(wbname) to be private
  3. DJS2

    Access- Decimal part missing

    Numeric datatypes on Access tend to default to integer. You will need to change it to something like double and set the decimal places.
  4. DJS2

    Getting NT/2000 Username

    This is the full page script that I use:.... ============================================================ <%@Language='vbscript'%> <% Option Explicit %> <html> <head> <meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=windows-1252&quot;> <meta...
  5. DJS2

    Getting NT/2000 Username

    Hi James, I assume that your web server is configured for ASP? I'm using IIS5 (it also works on IIS4) and the code is hand-written in Front Page 2000. It is a standard ASP page written in VBScript. I use it all of the time to test connections. I hope that this helps. David
  6. DJS2

    EYEDOG.ocx in Access 2000

    Eyedog is an ActiveX control that was used to perform diagnostic function in Windows. For more information, search online for eyedog.ocx
  7. DJS2

    User Name

    PHV and Digga have the best answer. <%= Request.ServerVariables(&quot;LOGON_USER&quot;) %> I have been using this for years and it never fails. Excellent for adding security and identifying users
  8. DJS2

    Getting NT/2000 Username

    The short answer is: request.servervariables(&quot;LOGON_USER&quot;) If you put the following on an ASP page you will get a list of all variables and their values: <h2>Request Server Variables List</h2> <% Dim V response.Write &quot;<Table>&quot; For Each V in Request.ServerVariables...
  9. DJS2

    IF Question

    Try If Me.Verificationbox.Value = -1 Then If MsgBox(&quot;Already printed!&quot; & chr(10) & &quot;Do you want to print again?&quot;)=vbYes then DoCmd.OpenReport ReportName, acViewNormal End If Else DoCmd.OpenReport ReportName, acPreview End If
  10. DJS2

    MAIL LISTS TO SEPERATE

    Use Word for the mail merge and set the options to pick up only those items selected
  11. DJS2

    Adding a value to a table

    set the datasource of the list box as a query in the table that the text box reads/posts. Set grouping so that you only get one of each item and don't forget to requery the form in the &quot;oncurrent&quot; event.
  12. DJS2

    Can I prevent unauthorized access to DB?

    Look up &quot;AllowBypassKey Property&quot; in Access help. This contains the answer and it works.
  13. DJS2

    Adding Notepad (or something) to form to edit memo field

    Use a standard text box but enable scroll bars (and make it a bit bigger)
  14. DJS2

    Create a Signature from currentuser()

    If your users are networked, you can look up their name on the network. This would save having to maintain the table
  15. DJS2

    Removing &quot;X&quot; button and maximizing the windows?

    If you put the VBA coding that I have suggested in the on activate event, the form will maximise whenever it becomes active, i.e whenever anyone looks at it. This will resolve your problem of resizing.

Part and Inventory Search

Back
Top