Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box/Views
Message
From
12/04/1999 22:30:38
 
 
To
12/04/1999 15:54:27
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00207519
Message ID:
00207682
Views:
19
Hi John -

Thanks so much for your reply to my message. I am looking forward to making this work, unfortunately it is going to take a little time. I am still in the infant stages of learning Fox, and your instructions were a little hazy in places to me, b/c I haven't done this before.


I would like to take your first paragraph of your reply and break it down, piece by piece. I understand the concepts and the direction I need to take to accomplish what I need to, but I get "bogged" down in writing the EXACT code/syntax I need to make things work.

So, I would like to retype your paragraph, and then tell you what I did......and hopefully I am in the ballpark.

INSTRUCTIONS:
"Create two form properties, CurrentCounty and CurrentState. In the interactivechange method of the State combo box, change CurrentState to the Value of the combo box. In the interactivechange of the County combo box, ensure that the CurrentCounty is changed to the combo Value"


OK

Step #1:
In order to create two new form properties, I went to the FORM button on the toolbar and selected EDIT PROPERTY/METHOD. I clicked the cmd button New Property, which created the property, CurrentState. The new property was set into the Properties Form. I did this for CurrentCounty as well. The default value assigned to the two properties was .F.

Step #2:
I went to the interactivechange method of the state combo box and changed "CurrentState" to the Value of the combo box.

** I believe the Value you are referring to here is when I select the field name on the Value tab. In this case the value I selected and placed into the text box on the Values tab of the combo box builder is:

cjurisname

Therefore, placed the code> CurrentState = cjurisname
in the interactivechange of the State Combo box.

Is this syntax correct? Or, am I way off in the code I placed? I don't quite understand what I am trying to accomplish here, which is why I am unsure if I need to set CurrentState = cjurisname. Or, cjurisname may not even be the value you are referring to.


Thanks in advance for any additional help

jason
Previous
Reply
Map
View

Click here to load this message in the networking platform