Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor adaptor - string is too long to fit .. in a memo ?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Cursor adaptor - string is too long to fit .. in a memo ?
Miscellaneous
Thread ID:
00852723
Message ID:
00852723
Views:
115
Any ideas ?

Tks
Marcel
CREATE CURSOR  List ( a c(1))

SELECT List 
APPEND BLANK 
APPEND BLANK 

oCursor = CREATEOBJECT("Products")
oCursor.cCursor = "List"

IF oCursor.CURSORFILL(.T.) 
	BROWSE 
ELSE
	aerror(laErrors)
	messagebox(laErrors[2])
ENDIF 

DEFINE CLASS Products AS cursoradapter 

	cCursor = ""

	Alias = "PriceList"
	SendUpdates = .F.
	DataSourceType = "Native"

	SelectCmd = [SELECT "A"+SPACE(300) AS description,0.00 AS Price, "Ok" AS Buy FROM (THIS.cCursor)]
	
	cursorschema = "description M,prix Y,achat C(50)"

ENDDEFINE
Next
Reply
Map
View

Click here to load this message in the networking platform