Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sample code for non-grid operations

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Data Objects Support
View previous topic :: View next topic  
Author Message
MikeR



Joined: 25 Jun 2016
Posts: 28

PostPosted: Mon Jan 15, 2018 9:02 pm    Post subject: Sample code for non-grid operations Reply with quote

Is there a sample project anywhere that illustrates how to tie a group of individual text boxes laid out on a form to a virtual record / recordset? I'd like to see that.

Not every application is amenable to a grid control.

Thanks.


Never mind, found one way to do it. I have a history with Embarcadero Delphi, I just can't believe how much code it takes to do this:

textBox1.DataBindings.Add("Text", yourVirtualRecord, "your property name", false, DataSourceUpdateMode.OnPropertyChanged, "");

This gives live connection that auto updates. yourVirtualRecord must be part of a Virtual Recordset that has successfully loaded from your database connection.
_________________
Thanks,

-- Mike R.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Data Objects Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group