Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Primary Key
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00532997
Message ID:
00538583
Views:
7
Correction
		DO CASE
			CASE ALLTRIM(UPPER(THIS.COMMAND8.CAPTION)) = 'EDIT'
				FOR START = 2 TO 16
					THISBOX = 'THISFORM.RFI_TEXTBOX'+ALLTRIM(STR(START))+'.READONLY'
					&THISBOX = .F.
				ENDFOR
				FOR START = 1 TO 3
					THISBOX = 'THISFORM.RFI_TEXTBOX'+ALLTRIM(STR(STRART)<b>)</b>+'.READONLY'
					&THISBOX = .F.
				<b>ENDFOR</b>
				THIS.COMMAND8.CAPTION = 'Save'
			CASE ALLTRIM(UPPER(THIS.COMMAND8.CAPTION)) = 'SAVE'
				BEGIN TRANSACTION
				IF TABLEUPDATE()
					END TRANSACTION
				ELSE
					ROLLBACK
					MESSAGEBOX('Record could not be updated.',64,'Error Upating'		)
				ENDIF	
				THIS.COMMAND8.CAPTION = 'Edit'
		ENDCASE
What is Wisdom?
Wisdom - The ability to respond to any situation according to God's Plan.
Therefore:
USE Wisdom IN Everything ORDER priority AS Knowledge
SELECT Knowledge
BROWSE FOR Understanding WHERE Wisdom=Guide

LeRoy Jackson
Previous
Reply
Map
View

Click here to load this message in the networking platform