Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Going into mind of combobox...
Message
 
 
To
29/09/2005 14:13:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01054549
Message ID:
01054615
Views:
18
Here is the code:
if llFirstTime
		.cPreviousResolutionCode = .cntMainInfo.cboResolutionCodes.displayvalue
		.cPreviousStatusCode = .cntMainInfo.cboStatusCodes.displayvalue

		debugout .cntMainInfo.cboResolutionCodes.displayvalue

		if empty(.cPreviousResolutionCode)
			.cPreviousResolutionCode = "NO CODE"
		endif

		if empty(.cPreviousStatusCode)
			.cPreviousStatusCode = "NO CODE"
		endif
	endif

	debugout .cntMainInfo.cboResolutionCodes.listindex
	debugout .cntMainInfo.cboResolutionCodes.value
	debugout .cntMainInfo.cboResolutionCodes.text
	debugout .cntMainInfo.cboResolutionCodes.displayvalue
	debugout sys(1272,.cntMainInfo.cboResolutionCodes)
	debugout sys(1272,this)
It looks like the first time the value is not set.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform