Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Databases > Save on close f...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 931 of 988
Post > Topic >>

Save on close form

by "fadhel" <fadhelmajoul@[EMAIL PROTECTED] > Aug 27, 2006 at 12:30 AM

Dear All

I'm using SDAC 3.50 on Delphi 7.1. I have 2 forms for cutomers:

1- The first form is for displaying in a dbgrid Some details of the
customers. The form contains a Dbgrid, a datasource, a Tmsquerry and 3
buttons (New, Edit and delete). (the querry is in browse mode only -
No Editing)
2- The second form is for Editing, Posting new records and deleting
With one other querry.

My first problem is how to send the current record to the second form
for editing or deleting.

My second problem is that When the user has do some changes without
posting (New record or when editing) and wants to close the second
form, I Want to ask him before closing the form if he wants to save the
changes or not. The property (Changecount used in dbexpress don't exist
in Sdac). 

Thanks a lot for your help.
 




 2 Posts in Topic:
Save on close form
"fadhel" <fa  2006-08-27 00:30:48 
Re: Save on close form
ES <es@[EMAIL PROTECTE  2006-08-28 11:49:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 3:10:09 CDT 2008.