Jump to content

out of 2 fields user should enter into only one field


This topic is 6176 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am trying to make register like Quicken for accounts.

I have got the calculations right. Now i want that user should enter only in one of the fields(Debit or Deposit),Eg- if user enters the value in deposit and again user is entering the value in the Debit field the previous field should get clear and vice versa

Thanks

Posted (edited)

I would like to see this too, because the clearance by the autoenter are likely to be just the event triggering for the reverse process - fields are processed one by one in a certain order - the creation order, the circularity forces both fields to their endstates - empty!

But there might be a tweak to this:

http://edoshin.skeletonkey.com/2006/06/linked_fields.html#more

--sd

Edited by Guest
Posted

Here's an answer I don't recommend. This reminds me of a gadget I've used: an entry in fieldA causes a response in fieldB. Likewise an entry in fieldB causes a response in FieldA. This requires at least three fields. This usually works in one direction and not the other because of reasons Soren gave. So stack a calculation field on top of the side that's not working - and, there are other variations to make this work smooth, but...

That said, for your purpose, please DON'T have any mechanism whereby a content in one critical field deletes the content of another. You can have them mutually exclusive where one field stays empty if the other has content. That's easy with autoenters. But try to make the layout so if the cat runs over the keyboard you're not screwed.

Also consider the terms: the opposite of debit is credit - the opposite of deposit is withdraw. That reminds me of Gibson guitars which for over 50 years have had a label on the pickup selector switch: RHYTHM / TREBLE (Although actually those terms do equate only in the fact that neither equates to pickup selection.).

This topic is 6176 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.