Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
In an Opt. Table buffered - Cursor cannot be modifie...
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01423845
Message ID:
01424421
Views:
45
Hi Naomi

>Check links from this message #1394517 and Error 2072 Thread #1390764 Message #1390766

Reading from the threads I have gone through them and gleaned the following:
				SET DATASESSION TO (THIS.nDataSession)

				SELECT (lcAlias)

				GATHER MEMO FROM laData
				
***> this was a partial solution, for new added records with recno -1, -2, etc.
***> but failed when previously saved records were encountered
***> by fail I mean the error 2072 happened in the REPLACE down the line
*!*					lnRecNo = RECNO()
*!*					
*!*					GO TOP
*!*					GO (lnRecNo)

***> the following 2 lines solved the problem, permanently I hope
***> in essence I move the focus out of the grid in which I have GATHERed and back
				_SCREEN.ACTIVEFORM.SetFocusToFirst()
				&lcControl..SETFOCUS()

				SELECT (lcAlias)
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform