Multiple User application - help required.

I am hoping that someone can guide me through the solution to the following 

I have a disconnected ADO recordset that uses a join between two tables, 
this recordset is then used to populate a form. A TDBNavigator control 
allows the user to move through the recordset and delete or edit a record. I 
should say that there are TDBLookupComboBoxes that hold values. Not sure if 
this makes a different to the task.

I would like to allow for multiple users so I will have to cater for a user 
either deleting or editing a record that another user may have say edited.

So far I have used:
a) the BeforePost event to check all the values are correct.
b) the OnPostError event to try and manage the error, eg. the record has 
been edited.

I found some code written by Brian Bushay that allow the application to 
write over the users values with the ones that the other user has posted.
    ADODataSet1.RecordSet.ReSync(adAffectCurrent, adResyncAllValues);
    Action := daAbort;

This is OK but how do you manage a deleted record?

I would like to inform the user of the changes that the user has made and 
let them make the decision to accept heir changes or write over the new 
values with theirs. How can this be done?

Any comment gratefully accepted.

10/5/2008 10:29:39 AM
embarcadero.delphi.ado 597 articles. 1 followers. Follow

0 Replies

Similar Articles

[PageSpeed] 25


Similar Artilces:

Multiple type of Users, with Multiple User login pages in one web application
Hello Friends, I have a situation in my website.I am using form authentication in my web application where I have two type of usersMerchants & Customers Merchants sign in from url/msignin/default.aspx and after sign in it redirects to secure folder /merchants/welcome.aspx and Customers sign in from/csignin/default.aspx and after sign in it redirects to secure folder /customers/welcome.aspx Now I am confused on the point that I only have one login url in my web.config file and only one default url. How can i make these two situations work on my same application. Please help. ...

Multiple applications and users
We have multiple applications (100+) and lots of users. Some users need access to multiple applications. We have a central administration application, that handles all user management. We use membership, role and profile providers. Question: Should I create an record in the aspnet_Applications for each application, or is it better to use a central single "domain" name in the aspnet_applications table and use the aspnet_Roles table to store the applications, the user has access to?Johan TheunissenMCPD, MCSE, MCTS BizTalk 2006==============================Please mark the most he...

User control for multiple applications
I am trying to build a user control which I can use across multiple applications - All the applications I am developing will have the same header, so naturally I have created a user control for this. As far as I understand, you need to create a strong key for the user control and add the dll to the GAC, and add a reference to the machine.config file. I have read an article on this but have not been able to get it to work:( The error occurs when I try to register the usercontrol on the .aspx page, eg. <%@ Regis...

Applications That Do Not Require User Interaction
My major client operates out of a secure facility such that I only have access to their 35 or so machines 7:00 am to 5:00 pm (07:00 to 17:00) Monday through Friday. Consequently routine maintenance is a tough thing to do. Most of the users turn off their machines every evening so leaving them running or asking the users to leave them on one night a week or something like that is a non-starter. To deal with this I have put together a framework that hides the "Turn Off Computer" button and replaces it with a similar looking button that actuates my "system" ...

Required Rights for User Application
What rights are required in the Tree for the User Application ? Thanks -jim On 03/21/2008 04:09 AM, Jim Willeke wrote: > What rights are required in the Tree for the User Application ? > > Thanks > -jim You will find what you need here: Thanks -jim John DaSilva wrote: > On 03/21/2008 04:09 AM, Jim Willeke wrote: > >> What rights are required in the Tree for the User Application ? >> >> Thanks >> -jim > > > You will find what you need here: > > ...

Convert Delphi 5 ADO App to Delphi 2007 ADO.NET
I have an appliction tha that is writen in Delphi 5 with ADOConnetion, ADOTable, and ADOQuery components. I need to upgrade to Delphi 2007 and use ADO.NET. I have the program building in with Delphi 2007. Is there anything I need to do to convert the ADO to ADO.NET? > I need to upgrade to Delphi 2007 and use ADO.NET. Why ? -- With best regards, Dmitry Arefiev AnyDAC ( - Oracle, MS SQL Server, IBM DB2, MySQL, Firebird, Interbase, PostgreSQL, Sybase ASA, SQLite, MS Access, DBX, ODBC, InMem - universal high-speed native data access engine Reasons for ...

User Application load-balancing + fault tolerance ; User Application scaleability
Hello all, Please bare with these rather naive questions regarding the U.A. I'm trying to confirm/infirm some possibilities for a customer and I cannot find all the information I'd need in the Novell documentation. Is there any other way to do load balancing + fault tolerance with U.A. beyond using JBoss clustering ? I suppose one way would be to have two completely distinct U.A. installs (each with its own DB) and do load-balancing through a dedicated device (web gateway/proxy). Any other idea ? I highly suspect running two separate instances of the U.A. using the same...

User Application 3.6 with 3.51 User Application Driver
I'm trying to set up User Application 3.6 in a lab environment. When I start JBoss, I get an error " User application driver (UAD) is not compatible with User Application version 3.6. Please upgrade your UAD using Designer for Identity Manager." Designer version 2.1.1 doesn't prompt me to upgrade the driver. Do I need Designer 3.0? Doug Black;1584150 Wrote: > I'm trying to set up User Application 3.6 in a lab environment. When I > start JBoss, I get an error " User application driver (UAD) is not > compatible with User Applicati...

Single user with access to multiple applications
Hi There I am implimenting the .NET 2.0 Membership system within a set of applications I am working on.  I am using the SqlMembershipProvider. I want to know if it is possible to give 1 user account access to multiple applications.  Looking at the DB schema, there seems to be a 1 to 1 membership between a User and an Application. Ideally I want a 1 to Many relationship.  This would affectively allow us to grant an existing user access to new applications as they are developed.  It would also allow a user to log in, and be presented with a list of Applications they...

Mapping a single user to multiple applications
I want to implement a single user sign on system for several web applications using the membership provider in 2.0 but having examined the schema of the generated schema for the database I have found a problem. The primary key in the aspnet_users table is user_id as it is in the aspnet_membership table. This makes it difficult for a user to use the same login for several applications. I know it is possible to apply the same application name to the web.config file in several sites so that the user list applies across applications. The only problem with this is that&nb...

Single user having access to multiple Applications
Using the standard membership and roles DB is it possible set it up so that a single user can have access to multiple applications? Hi jharwood, Yes, it's possible to be achieved. You use a single membership database for multiple applications. Then all the applications will have the same users. If you want to implement SSO(single sign on), you could check this article for details. Thanks.David QianMicrosoft Online Community SupportPlease remember to mark the replies as answers if they help and unmark them if they provide no help....

Web User Controls and multiple applications
I have two applications, "A" and "B". I have a user control in application B. When I drag'n drop the user control onto a page within application A, I get a simple html link or text that displays an "http://" path to the actual file, instead of the rendered control. While I know this is probably a "duh" question, I have been unsuccessful searching for answers on the web so... what is necessary to utilize a web usercontrol from another application? Any help is greatly appreciated. are you dropping the control in design view or sourc...

Application Logon User required in Reports
Hello All,  How do I bring in the application's login user name to Crystal Report? Thanks and Regards Nick All,, Pls help me. Can anyone please help me ?  I have a table which stores username and password of the registered users. When the user access the application i would like to pass the login user details to the crystal report   Example Username in Application is ABC ABC logs into the application and access the report page. I wanted the ABC name there in Report, i mean CrstalReports1.rpt Can anyone please help me? Regards Nick   Normally no ne...

Shared User Controls Between multiple Web Applications
Hi, Just wondering if it is possible to have design-time shared user controls.  E.g.  I have followed the process to setup a 'base' web project that contains a number of shared user controls and configured IIS.  I then use these user controls in a number of web application projects.  This works fine as per  However the limitation is that you need to code the registering and using of the user controls rather than drag and drop. I want to know if it is possible to add these user controls(through vss sharing) to each web ap...

Multiple actions on multiple users at once
Hi! We have a big problem and need to change some properties on multiple user objects at once. The users are in the correct groups but have the security equal to set to a wrong group so I need to copy the group membership property to the security equal to property and remove the incorrect security equal to. Right now I'm doing it this way: I search for user objects in iManager: GroupMembership EQUAL TO GroupX.OU.O AND SecurityEqual NOT EQUAL GroupX.OU.O I see all the users, I use multiple select and then Tasks, modify object, security, security equal to. I type in ...

Web resources about - Multiple User application - help required. - embarcadero.delphi.ado

Application - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Pre-Christmas job application rush hits Australian public service
Speed required for pre-Christmas job window opening for public servants. Check out who is hiring.

Second visa application 'likely' to be approved
The family of a terminally ill Pakistani student can 'hopefully come to Australia sooner rather than later' says Immigration Minister Peter Dutton. ...

Cloud application adoption increases 71 percent in 2015
The adoption of cloud applications is soaring, up by 71 percent in the last year according to the results of a new survey. The latest Cloud ...

Tashfeen Malik's visa application under scrutiny - Business Insider Deutschland
The US government has released the visa application for Tashfeen Malik, who along with her husband killed 14 people in an attack in San Bernardino, ...

MBA: Mortgage Applications Increase in Latest MBA Weekly Survey, Purchase Applications up 37% YoY
From the MBA: Refinance, Purchase Applications Both Up in Latest MBA Weekly Survey Mortgage applications increased 7.3 percent from one week ...

Lawmaker: Immigration Officials Didn’t Fully Vet Tashfeen Malik’s Visa Application
"It’s unacceptable that U.S. Citizenship and Immigration Services did not fully vet Malik’s application and instead sloppily approved her visa," ...

German-Based Spirea Promotes Decentralized PV Applications In Uruguay
... Its technical operations specialist, Laurie Lawrence, pointed out that Uruguay [&hellip German-Based Spirea Promotes Decentralized PV Applications ...

Visa application of San Bernardino shooter released
CNN Visa application of San Bernardino shooter released CNN (CNN) The visa application of one of the San Bernardino shooters was released ...

NTU research team discovers optoelectronic application for molybdenum disulfide
A research team under the National Taiwan University (NTU) has discovered an optoelectronic application for molybdenum disulfide (MoS2), a 2-dimensional ...

Resources last updated: 12/25/2015 2:32:12 PM