Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Caption.label
Message
From
19/06/2006 09:23:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Caption.label
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01129949
Message ID:
01129949
Views:
51
hi all,

i need your help,
i try to change many lables at my form , depend field value as under,
 USE answers IN 0
 SELECT answers
&&&&my field name is QUESTION have q1 to q15
    
           IF THISFORM.LIST1.Value=answers.QUESTION=Q1  &&  example
USE DNC IN 0
 SELECT DNC
                 THISFORM.LABEL1.CAPTION=DNC.Q1
                 THISFORM.LABEL2.CAPTION=DNC.Q11
                 THISFORM.LABEL3.CAPTION=DNC.Q12
                 .
                 .
                 .
 
             else
           IF THISFORM.LIST1.Value=answers.QUESTION=Q2 
             *******************
                 THISFORM.LABEL1.CAPTION=DNC.Q2
                 THISFORM.LABEL2.CAPTION=DNC.Q21
                 THISFORM.LABEL3.CAPTION=DNC.Q22
                 .
                 .
                 .

 ENDIF
endif
         Select answers
thanks
Next
Reply
Map
View

Click here to load this message in the networking platform