Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Urgent Help Needed In Vb

  • 26-03-2002 1:24pm
    #1
    Closed Accounts Posts: 2


    I have three forms, all have a labet with a total price on it, I want all these totals to appear on another label on another from, how do I do this...I have tried books and stuff but as you all know I learned english in another way to the writers. Oh and my project is due tomorrow! PLEASE help!!!


Comments

  • Registered Users, Registered Users 2 Posts: 16,414 ✭✭✭✭Trojan


    Use something like
    
    Sub cmdCopyTotals()
    
    frmAux1.lblNewTotal.Caption = frmMain.lblSubTotal1.Caption
    frmAux2.lblNewTotal.Caption = frmMain.lblSubTotal1.Caption
    
    End Sub
    
    

    or whatever.

    Basically the syntax you're looking for is formName.labelName.Caption = oldFormName.labelName.Caption

    Al.


  • Closed Accounts Posts: 2 EEichi


    Thanks mate... I'll try it


  • Closed Accounts Posts: 1,322 ✭✭✭phobos


    Oh so that's how you do it ;)

    Quick somebody tell Kealan, his problems are solved!!

    Happy Dayz :cool:

    ;-phobos-)


Advertisement