DBF - save changes

This forum is meant for questions and discussions about the X# language and tools
Post Reply
Karl-Heinz
Posts: 774
Joined: Wed May 17, 2017 8:50 am
Location: Germany

DBF - save changes

Post by Karl-Heinz »

I have a ported VO GUI app that runs with VN DLLs. Several controls are linked to server fields.
Now i switched to the x# VO dlls and noticed that changes made are not always written to the DBF.
When i change a control value and skip.

Code: Select all


METHOD PshNext()

	SELF:Server:Skip ( 1 )   
  
	
	IF SELF:Server:EOf 
		SELF:Server:GoBOttom() 
		
	ENDIF 	


RETURN SELF 

the value is only written to the server when the dbf is opened exclusive. VN and VO make no difference if the dbf is
opened exclusive or not, the changed value is written to the server. The dbf has no index, the locking mode is the
default one - CCOPTIMISTIC. Only setexclusive() is set to true or false, before the server is opened.

.
The GUI behaves exactly the same as the VO version or the X# version with VN Dlls. included is Checkbox and Radiobutton ownerdraw code, and till now i couldn ´t detect any GUI-problems when the controls are drawn.

very good - well done !


regards
Karl-Heinz
User avatar
Chris
Posts: 4906
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

DBF - save changes

Post by Chris »

Hi Karl-Heinz,

Thanks for the thumbs up! About the DBF problem, would it be possible to send a repro sample, so we can investigate and fix this? No hurries, when you get some time to do it?

Chris
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
Post Reply