Search results

  1. J

    vb character for quotation mark

    It's Chr(34)
  2. J

    vb character for quotation mark

    WRONG! :) That's the $ character.
  3. J

    print report from form with DoCmd

    See! I knew someone would have a better way of doing this. Thanks, rube.
  4. J

    vb character for quotation mark

    What is the VB character code for a quotation mark?
  5. J

    How to refer to a Control variable's properties

    Nevermind, must have typed something in wrong... or Access 2000 is buggy. It works now.
  6. J

    How to refer to a Control variable's properties

    The following works for a text box control called "TextBox": Dim CurrentControl As Control Set CurrentControl = Forms!Switchboard.TextBox CurrentControl = "Message" But let's say I want to alter the color of the font from the default (black) to red... how can this be accomplished? (This does...
  7. J

    print report from form with DoCmd

    Not quite, CALV. It was more like: (FROM FORM 1- the switchboard): DoCmd.Close acForm, "FORM 1", acSaveNo DoCmd.OpenReport "REPORT", acViewPreview, , "" acFormPropertySettings, acWindowNormal, "" (FROM FORM 2- the print options form): DoCmd.Close acForm, "FORM 2", acSaveNo It would probably...
  8. J

    print report from form with DoCmd

    When did I become a senior member? Does membership have its privilages?
  9. J

    print report from form with DoCmd

    Custom menu bar... you guys always tell me stuff I don't know how to do (which is pretty much everything, but that list is shrinking). Anyway, what I did was save the values in various text boxes on the form to variables. Then I closed the form with a DoCmd. (The report becomes active by...
  10. J

    print report from form with DoCmd

    Is is possible to print a report (that's already been generated and in "preview" mode) by hitting a "print" button that's on a form? I'm trying to do this with DoCmd.PrintOut I realize that this command will print out the currentlyactive object, so I'm thinking I have to make the Report active...
  11. J

    auto-size width or Label or Text Box

    Right, and I read (in the Help file) that it only grows (or shrinks) vertically... I want mine to grow or shrink horizontally. I just changed the Width property on a case-by-case basis (there are a limited number of phrases that the Label will receive).
  12. J

    auto-size width or Label or Text Box

    zoom box? I looked through the ActiveX controls and it isn't listed as one of the standard controls (next to/near the label and text box) as far as I can see. I'm using Access 2000.
  13. J

    auto-size width or Label or Text Box

    Is there a way to have a Label or Text Box auto-size its width to its dynamically-changing contents with VB (like when you double-click it during design mode)?
  14. J

    list box with transparent back color

    Does anyone have some code to enable transparent back color on a list box? It was suggested that perhaps someone may have created a tweaked version of the standard list box as an activex control.
  15. J

    Me.TxtBox.DefaultValue

    True, I was referring to a topic in that other thread, but thanks for the suggestion anyway.
  16. J

    transparent list box?

    Really. OK, say I find an ActiveX control that mirror's the function of a normal list box plus the ability to have it with a transparent background... How (easily) can I "embed" it into my DB and use it? Are there security concerns?
  17. J

    transparent list box?

    I intended to have an embedded picture show through the list box, which is why I wanted a transparent list box. As for the text, I have it bolded. No problem to read. Is there any way to make list boxes transparent?
  18. J

    transparent list box?

    Is there any way I can set my list box so that its background color is transparent?
  19. J

    how to reference a column in a table

    Yes, DoCmd.SetWarnings is exactly what I was looking for. Thanks again, SforSoftware and WayneRyan.
  20. J

    how to reference a column in a table

    It works! SforSoftware, I modified the RunSQL version of the code you suggested with brackets: DoCmd.RunSQL "UPDATE [" & SaveToTable & "] SET [" & SaveToTable & "].[Client Name] = '" & Me.ModTxtName & "';" and that works! The only minor issue I have now is that there's a pop-up box that comes...
Back
Top Bottom