Results 1 to 2 of 2
  1. #1
    elcinolmez is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2013
    Posts
    1

    Complicated Validation


    Well maybe not complicated for Access experts but it is very much for me
    I am creating a database for several bank accounts. In this dbase there are monies coming in and going out. also there are money transfers between bank accounts. my problem is with this transfers between bank accounts. I have columns: "Action, "FromBank" and "ToBank". And "Action" Field is limited to: outgoing, incoming and intratransfer. What I dream is this;
    "ToBank" will take value only if "Action" is "intratranster" and the value can only come from a certain list. If "Action" field is something else, say "outgoing", than "ToBank" will not take any value.
    how can I do that?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    With, as you said, complicated code in various events. Actually, the code is particularly difficult, but figuring out all the events to use is the tricky part.

    You might want to set the FromBank and ToBank fields as not Enabled and only make them available as data is entered and only for the appropriate data. Use comboboxes - review http://datapigtechnologies.com/flash...combobox2.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Complicated loop help
    By xAkademiks in forum Programming
    Replies: 11
    Last Post: 09-01-2012, 09:59 PM
  2. MOST COMPLICATED query ever
    By dastr in forum Queries
    Replies: 1
    Last Post: 07-05-2012, 04:29 AM
  3. Complicated
    By Ganymede in forum Queries
    Replies: 3
    Last Post: 01-22-2012, 06:25 PM
  4. Complicated IIF?
    By Sweetnuff38 in forum Queries
    Replies: 1
    Last Post: 08-18-2011, 01:13 PM
  5. Complicated ASP SQL to Access db
    By KLynch0803 in forum Programming
    Replies: 0
    Last Post: 01-31-2010, 08:32 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums