9/2/2005 9:42 AM | |
Joined: 8/10/2005 Last visit: 4/9/2024 Posts: 1486 Rating: (32)
|
Hello, this should help: (3 differents variables) Dim ml_State As Long Dim mvrt_Text1 As Variant Dim mvrt_Text2 As Variant Dim mvrt_Text3 As Variant 'Text1 Me.S7Data1.ReadVariable "mb0:STRING", mvrt_Text1, ml_State, 0 Me.lblText.Caption = mvrt_Text1 'Text2 Me.S7Data1.ReadVariable "mb10:STRING", mvrt_Text2, ml_State, 0 Me.lblText.Caption = mvrt_Text2 'Text3 Me.S7Data1.ReadVariable "mb20:STRING", mvrt_Text3, ml_State, 0 Me.lblText.Caption = mvrt_Text3 Frank Knoeller http://www.knoeller.de |
Follow us on