Search results

  1. W

    pop up report in printpreview zoom

    I am using an x230 thinkpad on the go and because of the small screen, i thought of a "better" view of the report which only serves a fast data control.
  2. W

    pop up report in printpreview zoom

    I have tried but it does not work. Anyway thank you for all help! I think i can live with this one more click to zoom in. Thanks again.
  3. W

    pop up report in printpreview zoom

    thanks for all the input it works perfectly if report opened in a normal way. However if opened as a popup (acDialog) it does not work. Can it be that there is no solution for that?
  4. W

    pop up report in printpreview zoom

    i have tried the docmd.maximize but it does not work. Report opens as before
  5. W

    pop up report in printpreview zoom

    Fails regardless where i put the code:right after the openreport command or on the open event of the report: command not available
  6. W

    pop up report in printpreview zoom

    unfortunately it does not work, it keeps the same status.
  7. W

    pop up report in printpreview zoom

    Hi, I have a button to bring up a report in a pop up mode (acDialog). However i need always need to click on the report itself to zoom in. Is there a way to do it via VBA i.e upon opening it zooms itself? thank you
  8. W

    Ubound does not work

    yes sure and used several times. it is only i am trying to find out why the ubound function fails
  9. W

    Ubound does not work

    Actually everything works fine, it is only ubound value that fails
  10. W

    Ubound does not work

    also 0
  11. W

    Ubound does not work

    Public Sub HorseSelectionForInvoice() Dim hl As Recordset Dim strHL As String On Error Resume Next Dim rc As Long strHL = "SELECT HorseID FROM tbHorse WHERE Mark=-1;" Set hl = CurrentDb.OpenRecordset(strHL) hl.MoveLast hl.MoveFirst HLforInvoice = hl.GetRows(hl.RecordCount) rc = hl.RecordCount...
  12. W

    Ubound does not work

    Hi, I have a modul that creates a dynamic array which is made public. The array works, contains the appropriate values. However if i want to check ubound function it gives a result of 0. The array is not empty. Just curious why. thank you
  13. W

    Working with ActiveControl

    it is indeed a continous form
  14. W

    Working with ActiveControl

    Conditional formatting does not allow the hyperlink display to set. Yes that is correct it is not a real URL it should just look one. If the field shows 500 i want to click on it to perform another action and i would like to have the hand cursor over it.
  15. W

    Working with ActiveControl

    I did correct it. Still does not work. Private Sub Packing_GotFocus() Dim ctlCurrentControl As control Dim strControlName As String Dim strcontrolvalue As Long Dim strControlcolor As Variant Set ctlCurrentControl = Screen.ActiveControl strControlName = ctlCurrentControl.Name strcontrolvalue =...
  16. W

    Working with ActiveControl

    this is what i am trying to get working. If the filed contains 500 then it should display itself as hyperlink. Private Sub Packing_GotFocus() Dim ctlCurrentControl As control Dim strControlName As String Set ctlCurrentControl = Screen.ActiveControl strControlName = ctlCurrentControl.Name...
  17. W

    Working with ActiveControl

    If that certain control has the focus i.e. the active control i would like to have it display as hypertext and have different backcolor. Only in case of controls that have a certain text string value. I have tried to google the use of active control but did not find the description i was...
  18. W

    Working with ActiveControl

    Hi, I would like to know how to use this Dim ctlCurrentControl As Control Set ctlCurrentControl = Screen.ActiveControl If ctlCurrentControl.Name = "txtCustomerID" Then . . ' Do something here. . ElseIf ctlCurrentControl.Name = "btnCustomerDetails" Then . . ' Do something here. . End If...
  19. W

    Loop through controls Ms Access 365

    Thank for all the inputs. I got confused because the VBA editor did not offer those parameters. I am used to use the editor with idea that only those parameters are allowed that show up after typing a dot. Following the recommendations, i got it worked. Thanks for all of you.
  20. W

    Loop through controls Ms Access 365

    Code library might be the real problem. Controltype or typename is not offered when i type ctr and dot.
Back
Top Bottom