fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: DBF - save changes

DBF - save changes 7 months 7 hours ago #6875

  Karl-Heinz's Avatar Topic Author Karl-Heinz Offline Posts: 264
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.

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

Please Log in or Create an account to join the conversation.

DBF - save changes 7 months 3 hours ago #6877

  Chris's Avatar Chris Offline Posts: 1164
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
XSharp Development Team
chris(at)xsharp.eu

Please Log in or Create an account to join the conversation.

  • Page:
  • 1