calculated caption on tab control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • RichardP via AccessMonster.com

    #16
    Re: calculated caption on tab control

    Thanks for that Wayne, yes apologies for leading you astray there - I was
    typing untested code directly into this message and neglected to include the
    ".Form" property - will try to re-read before posting in future!

    Wayne Gillespie wrote:
    >>However, this is making an assumption that the recordcount you wish to
    >>display is the one of your main form. If the recordcount required is the
    >[quoted text clipped - 17 lines]
    >>
    >>but no can do, Access doesn't like that...
    >
    >You are not referencing the subform correctly, you are referencing the subform
    >control, NOT the subform contained within the control. You need to add .Form.
    >before the RecordsetClone -
    >
    >With Me.frmPWExpense sSubform.Form.R ecordsetClone
    If Not .EOF Then
    .MoveLast
    End If
    Me.Page28.Capti on = "Expenses [" & CStr(.RecordCou nt) & "]"
    >End With
    >
    >I would try this code on the Form_Load event as the subform data may not have
    >been loaded fully when the Form_Open event fires.
    >
    >Wayne Gillespie
    >Gosford NSW Australia
    --
    Message posted via AccessMonster.c om
    TRIBUN855 menghadirkan informasi lengkap seputar permainan online terbaru, akses VIP player, game online gratis, permainan tanpa uang asli serta berbagai fitur dan mekanisme permainan digital.


    Comment

    Working...