Solved

Check contents of VB form for changes

Posted on 2013-10-31
2
219 Views
Last Modified: 2013-11-07
I have a VB2010 form that has a few text boxes, a couple of combo boxes, a TrueDBGrid and some datetimepickers.

I am using a dataset with several tables to databind the above. All works fine. But, very importantly I need to check if the user changes any of the data so I can increase a revision number. If they just go and look then no revision increases.

I have tried textbox_leave and textbox modified event to set a boolean flag which seems to work but the datetimepicker or the combo boxes, truegrid don't have this event.

I struggled with using the dataset Haschanged and Getchanges but I cannot get these to work


Any ideas?
0
Comment
Question by:milkwood
2 Comments
 
LVL 11

Expert Comment

by:Deepak Lakkad
ID: 39615897
Hi,

There is SelectedValueChanged event for ComboBox and ValueChanged Event for DateTimePicke. Which you can use to set your boolean flag value.

I haven't use TrueGrid, but as per my knowledge, there should be some event related with Cell Value changed.

I thinks this will help you ...

Deepak Lakkad
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 39617355
There is a Change event on TrueDBGrid which you can hook into

http://helpcentral.componentone.com/docs/c1truedbgrid/c1truedbgridchangeevent.htm
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now