Validator using logical AND or logical OR

How can I validate multiple TextInputs using logical AND or
logical OR. For example:
If TextInput1 == Null || TextInput2 == Null causes a
validation error if both are null but passes validation as long as
one field is populated or both fields are populated.
John

You could have a Boolean variable that is initially false,
and only becomes true when one of the TextInput becomes populated.
The variable could be set in the TextInput "change" event.
Your validation code would check the value of that Boolean
variable.

Similar Messages

  • Validation using dictionaries and NSDictionaryControllers

    Up to now I used NSArrayController for the binding of views to an NSMutableArray.Now I want to use Dictionaries instead of array -with NSDictionaryController. But the usual 'validate…' methods are not called.
    What parameters must be set and in which way to get validation of new entries into a mutable dictionary?

    no answer!

  • PLC applicatio​n validation using OPC and teststand

    Hello
    I want to test a PLC application using teststand as script generator. My idea is to use TestStand to generate testcases and verify answer (read status variables, tags)
    from the PLC to confirm its code meet requirements.
    So question is, can TestStand read ad write PLC tag variables, using an OPC server ?
    Did anybody else use this strategy before ?
    Pierre Danis

    Pierre,
    For your information, there is a new TestStand Add-on "OPC DA Connect" which adds a StepType Palette dedicated to OPC Data Access.
    You can configure each step by browsing the OPC servers on your network and browsing variables within these servers.
    This toolkit has free deployment licence.
    Hoping this helps.
    Jean-Louis SCHRICKE
    ├ CTA - Certified TestStand Architect (2008 & 2010 & 2014)
    ├ CTD - Certified TestStand Developer (2004 & 2007)
    └ CLD - Certified LabVIEW Developer (2003 & 2005)

  • How to retrieve data using logical database and custom select options

    Hi all,
    I have a selection screen which is displayed by logical database PSJ and I have two select options of my own. I need to retrieve data based on both selection screen of logical database and my own select options. How can I do it?
    Thanks in advance.

    Hai Gupta
    Check the following Document & Links
    1. A logical database is in fact
    a program only.
    2. This LDB provides two main things :
    a) a pre-defined selection screen
    which handles all user inputs and validations
    b) pre defined set of data
    based upon the user selection.
    3. So we dont have to worry about from
    which tables to fetch data.
    4. Moreover, this LDB Program,
    handles all user-authorisations
    and is efficient in all respects.
    5. tcode is SLDB
    good info about Logical Database. you can check the link.
    http://www.geekinterview.com/question_details/1506
    http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm
    Re: How to Create and Use ldb in reports?
    Re: Logical databases
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm
    Functions for displaying and changing logical databases:
    Call Transaction SE36 or
    Choose ABAP Workbench -> Development -> Programming environ. -> Logical databases
    Interaction between database program and report:
    During program processing, subroutines are performed in the database program and events are executed in the report.
    To read data from a database tables we use logical database.
    A logical database provides read-only access to a group of related tables to an ABAP/4 program.
    advantages:-
    The programmer need not worry about the primary key for each table.Because Logical database knows how the different tables relate to each other,and can issue the SELECT command with proper where clause to retrieve the data.
    i)An easy-to-use standard user interface.
    ii)check functions which check that user input is complete,correct,and plausible.
    iii)meaningful data selection.
    iv)central authorization checks for database accesses.
    v)good read access performance while retaining the hierarchical data view determined by the application logic.
    disadvantages:-
    i)If you donot specify a logical database in the program attributes,the GET events never occur.
    ii)There is no ENDGET command,so the code block associated with an event ends with the next event
    statement (such as another GET or an END-OF-SELECTION).
    1. transaction code SLDB.
    2.enter name z<ldb-name>
    3.create
    4.short text
    5.create
    6. name of root node (here Ekko)
    7. enter short text (f6)
    8.node type -> data base table.
    9.create
    10 change logical DB
    riht click on ekko and insert node
    here node name ekpo
    11.create
    12. click on selections
    13. press no Should the changed structure of Z<ldb name> be saved first.
    14.select tables which you want to join.
    15.transfer
    16 now you have to o to coding part.
    17. save
    activate.
    19.click to src code
    double click on first include and activate
    Regards
    Sreeni

  • I am trying to use logic pro 9 on my lion system and it continues to say I have a bad midi...when i go to check my midi drivers folders in my library its empty...does anyone know whats going on?

    i am trying to use logic pro 9 on my lion system and it continues to say I have a bad midi...when i go to check my midi drivers folders in my library its empty...does anyone know whats going on?

    I
    got your message about making sure to use the machine specific disk that came with my machine. Unfortunately, Apple no longer sells Tiger replacement disks. I've got a couple of bids out on ebay, and will update when I have news to add to this post.
    Thank you for your help, Frank!
    To be clear you called the 800 number and explained what the situation was, old machine and lost the original DVD's?
    Just checking because if you just called and tried to buy the DVD's they might tell you they no longer sell them but you aren't really trying to buy them your trying to replace the ones that are missing.
    Ebay may work but there is a certain specificity to the DVD's required which, even if they seem right, might not work.
    Good luck either way. If you get a chance when you get the DVD's I'd be interested in hearing how it all works out.
    regards

  • I am using logic to record a podcast and using soundboard to use as a playback for music and sound effects.  I'd like to soft patch sound board into logic, and still use my interface for recording audio from the other members of the podcast.

    I am using logic to record a podcast.  I have a presonus firestudio mobile for my interface so I can record several people at the same time.  I'm also using Soundboard for a playback system for music and sound effects.  I'd like to know how to soft patch Soundboard into Logic while still using the Firestudio interface to record the other members of the podcast.  Does anyone know how to do this? and if so can you tell me how to do it?  Thanks.

    Thanks. Now, since Apple failed to provide an audio in jack for their new and improved iMacs (mine has one), all I can suggest is that you contact AppleCare, since you have 90-dqy free phone support. If need be, you might reconsider your purchase, but that's for you to decide.

  • Using Logic 7.2 on a Mac Pro with Protools 7.2.1 and Mac OS 10.4.7

    I am researching purchasing a New Protools/Logic System
    Seems the version of Protools to use with the new Mac Pros is 7.2.1, which only recently came out to work with the new "Mac Pros" Digidesign has stated thhat it works with and Mac OS 10.4.7
    The latest version of Logic is 7.2 which has been out for a while....hmmm
    Is anybody using Logic 7.2 on a New Mac Pro with Protools 7.2.1 and Mac OS 10.4.7, and does it work?

    Logic Pro 7.2.2 is not compatible with DAE/TDM on a Mac Pro INTEL.
    You will see only "CoreAudio" as available choice, when trying to engage your audio hardware.
    We have to wait for any announcements in this regard, maybe at AES or DigiDays in San Francisco.
    Best,
    21th

  • Keep getting message pop up "Error reading/writing file  "com.apple.logic.pro.cs": Logical end-of-file reached during read operation," and "The Preferences are not loaded completely. Save them to "com.apple.logic.pro.cs" anyway?" Using Logic pro 8. ???

    Logic froze while I was working on something so I forced quit.  Now every time I open LOGIC a message pops up that says:
    "Error reading/writing file
    “com.apple.logic.pro.cs”:
    Logical end-of-file reached during read operation."
    The only button option is cancel so I press it and another message appears that says:
    "The Preferences are not loaded completely.
    Do not save them, as you would overwrite the Preferences file with incomplete data."
    Then when i close logic a box appears saying:
    "The Preferences are not loaded completely.
    Save them to "com.apple.logic.pro.cs" anyway?"
    There are 3 button options to press; ok, cancel or dont save.
    I press "don’t save" cuz I don't want to ruin anything.
    I found a discussion located here: https://discussions.apple.com/message/9564253#9564253 that says if I delete the file "com.apple.logic.pro.cs" it will resolve the problem.  If I do this will I loose or mess anything up at all, automation, saved channel strips customizations, saved effects, synth, or ultrabeat customizations etc? Or especially will I loose any work I've done?  I have hundreds pieces of music files I've created.  I'm scared to mess anything up with all the hours and months of work I've done.  Is there anyway to fix this without loosing anything?  I'm using Logic Pro 8.
    Thank you

    You can safely delete this file - its the preference file for control surface settings - you haven't said whether you're actually using a control surface or not, if so, you will have to set it up again. A new file will be created when you fire Logic up again, but of course it will contain default settings. If you have a complicated control surface setup, remember to keep a backup copy somewhere in case any future problems arise.
    Other than that, you really have nothing to be scared about - hopefully your problem is as simple as that and there isn't an underlying problem (a corrupt hard drive, for example). You seem concerned about losing work, so I guess you want to think about backing that up on a regular basis too. If you're saving your projects to your system drive, do get an external one for this. And also check that you have plent of free space on your system drive - you need to keep about a quarter or third of it free for your OS and programs to run properly (some temporarily stored files can be quite large).

  • I am using logic pro x and do not know how to fade a track at the end of a song or change the volume in a portion of the track.

    I am using Logic Pro X. I do not know how to fade the volume at the end of a song or raise / lower the volume in an area of the track. I also have a loud instand volume blip in a portion of a track that I would like to lower or eliminate.

    Hi
    rmarlia wrote:
    I am using Logic Pro X. I do not know how to fade the volume at the end of a song or raise / lower the volume in an area of the track. I also have a loud instand volume blip in a portion of a track that I would like to lower or eliminate.
    Armadillosound wrote:
    To create a fade out press T to open the tool menu and select the fade tool.
    Completely inappropriate, and they all also not help with volume adjustments. Fades will only apply to Audio Regions in the Tracks area: they will not fade out the complete mix unless you first Bounce it, add that to the Tracks area, apply the Fades with the Fade tool, then Bounce in Place (Again).
    Much much better to make use of Track automation to take care of Volume adjustments, and to Fade out the end of the song by applying Track Automation to the Output Channel
    https://help.apple.com/logicpro/mac/10/#lgcpb1a1ea03
    CCT

  • HOW TO USE LOGICAL AND OR CONDITION TOGETHER

    Please do not post subject in ALL CAPITALS
    Hi All there,
    How to use logical and or condition together
    I wanted to use logical AND OR condition together in where clause of Select Query.
    eg where xyz and or abc
    Regards
    Sagar
    Edited by: Matt on Mar 17, 2009 1:05 PM
    Edited by: Matt on Mar 17, 2009 1:05 PM

    hi,
      You cannot use the logical and  or condition together at the same time in SQL statement. Sachin is correct while using the and and or in the same condition. You can get the data using or condition in SQL statement, and then use the delete statement of internal table using the end condition. please find the following code for the same.
    select *
      from dtab
    where cond1 eq 'A1'
         or cond2 eq 'A2'.
    if sy-subrc eq 0.
      delete itab where cond1 eq 'A1' and 'A2'.
    endif.
    regards,
    Veeresh

  • Using Logical Databases and the Tables or Nodes Statement

    I want to start using Logical Databases whenever possible, but it seems that I need to use the Tables or Nodes statement for the Get statement to work.  Is there anyway to avoid Tables/Nodes statement since they are obsolete (and still use LDBs)?
    Message was edited by: Jason DeLuca

    Hi Jason,
    1) table statement is obligatory:
    -> look at abap-docu to GET:
    node is a node in the logical database that is assigned to the report (type 1 program) in the program attributes. <b>You must declare the node in the report using the NODES statement (or the TABLES statement, if the node is of the type "table").</b>
    2) some ldb-selections from the selection screen
       depends on the table-statement too, i remember...
    regards Andreas

  • Hey guys ! I use logic pro ... not logic proX ... and i want to record my drums with 4 mics. I got a mixer with also 4 inputs ( Behringer Xenyx QX 1202USB ) But in my Logic i can't take the third input !?!? i can only choose 1 and 2 .... Please Help :)

    hey guys ! I use logic pro ... not logic proX ... and i want to record my drums with 4 mics. I got a mixer with also 4 inputs ( Behringer Xenyx QX 1202USB ) But in my Logic i can't take the third input !?!? i can only choose 1 and 2 .... Please Help

    Friedrich sp wrote:
    Can you send me a mixer wich can do that, please ?
    Who do you think I am? Santa Claus?
    What you need is not a mixer, but an audio interface with at least 4 mic inputs. There is a lot of choice there, but you should indicate a budget. You can go from, say, € 300 to € thousands, if you want.
    Roland UA 1010
    Focusrite Scarlett 18i8
    However, there are other options (like multi-out mixer plus multi in interface, or standalone mic preamps plus interface with 4 inputs, etc). I have little experience using these however so I really cannot say much about which one(s) to get. The two mentioned above both have four mic preamps, but they are by no means the only way to do it.
    The cheapest solution I can think of is to get a second 1204USB, plug it in, and in OS X create an Aggregate device (=the two are being merged into 'one virtual' interface with two discrete stereo (= four discrete mono) inputs. Disadvantage: you keep the same (limited) soundquality of the 16 bits convertors. Getting any of the interfaces mentioned earlier will also mean you'll make the significant step up from 16 to 24 bits sound.

  • Midi connecting problems: using Logic Express 9 with MBox 2 interface and a Mac OSX 10.6.8

    I have a Mac OSX and I use Logic Express 9 on it. I also use an MBox 2 digidesign. Im having trouble connecting midi and getting it to work from my Roland Keyboard Midi, to the back of my Mbox 2 Midi. Its just not working at all. Does anyone know how to make Midi work with the Mbox 2 using Logic Express 9 on my OSX 10.6.8

    Troubleshooting Wi-Fi issues in OS X
    Wireless Connection Problems - Fix
    Wireless Connection Problems - Fix (2)
    Wireless Connection Problems - Fix (3)
    Wireless Connection Problems - Fix (4)
    Also try turning off Bluetooth

  • Why and how we use Logical Database?

    Can anybody explain with example why and how we use logical database?
    Regards,
    Rajan

    Hello,
    SAP comes loaded with all the extras. Among the extras that are most helpful to IT managers are all the access routines needed to pull any business object that managers can think of out of SAP databases. However, SAP has not thought of everything where your particular applications are concerned. SAP organizes its standard database tables to service business units based on conventional business applications. Itu2019s likely your business requires something new, perhaps even something exotic. In that case, you will need to create a new database, using information from different places. Basically, you need a logical database. You need to create a virtual business data object repository consisting of a new kind of record or table that suits your purposes. In addition, the repository should be composed of information that is actually stored in a number of different locations, none of them necessarily logically associated with one another. Letu2019s take a closer look at creating logical databases.
    A case for a logical database
    Suppose my company manufactures widgets of the most obscure variety, and they are components of other widgets. I sell my widgets as raw material for the more sophisticated widgets built by others, but in some cases I actually partner with other manufacturers in creating yet another class of widget. Now, in my world, I consequently have customers who are also partners. I sell to them and I partner with them in manufacturing and distribution. Also, I need an application that uses both of these dual-use relationships.
    Essentially, I have a customer database and a partner database. Neither contains records that are structured to contain the identifying particulars of the other. Thus, I need a hybrid database that gives me tables detailing these hybrid relationships. What can I do? I can go the long way around and write a new database, pulling information from both and creating new objects with a customized program that I write by hand. However, this process is cumbersome and contains maintenance issues. On the other hand, I can use SAPu2019s logical database facility, create my logical database in a couple of minutes, and have no maintenance issues at all.
    Logical database structures
    There are three defining entities in an SAP logical database. You must be clear on all three in order to create and use one.
    u2022     Table structure: Your logical database includes data from specified tables in SAP. There is a hierarchy among these tables defined by their foreign keys (all known to SAP), and you are going to define a customized relationship between select tables. This structure is unique and must be defined and saved.
    u2022     Data selection: You may not want or need every item in the referenced tables that contributes to your customized database. There is a selection screen that permits you to pick and choose.
    u2022     Database access programming: Once youu2019ve defined your logical database, SAP will generate the access subroutines needed to pull the data in the way you want it pulled.
    Creating your own logical database
    ABAP/4 (Advanced Business Application Programming language, version 4) is the language created by SAP for implementation and customization of its R/3 system. ABAP/4 comes loaded with many predefined logical databases that can construct and table just about any conventional business objects you might need in any canned SAP application. However, you can also create your own logical databases to construct any custom objects you care to define, as your application requires in ABAP/4. Hereu2019s a step-by-step guide:
    1.     Call up transaction SLDB (or transaction SE36). The path you want is Tools | ABAP Workbench | Development | Programming Environment | Logical Databases. This screen is called Logical Database Builder.
    2.     Enter an appropriate name in the logical database name field. You have three options on this screen: Create, Display, and Change. Choose Create.
    3.     Youu2019ll be prompted for a short text description of your new logical database. Enter one. Youu2019ll then be prompted to specify a development class.
    4.     Now comes the fun part! You must specify a root node, or a parent table, as the basis of your logical database structure. You can now place subsequent tables under the root table as needed to assemble the data object you want. You can access this tree from this point forward, to add additional tables, by selecting that root node and following the path Edit | Node | Create. Once youu2019ve saved the structure you define in this step, the system will generate the programming necessary to access your logical database. The best part is you donu2019t have to write a single line of code.
    Regards
    Arindam

  • Batch Export Trick for Logic using Markers and XLD

    I've always wanted apple to implement batch export of multiple audio files from logic using markers as delimiters. So you can mix a concert and export it in one go without having to hang around and re-start bouncing for each track.
    Now you can do this (albeit in a two step process) using Logic 9.1 and the free and wonderful XLD!
    Just place markers in your project and bounce as AIFF (this is the only format that seems to work with this, so you are out of luck if your bounce file is going to be larger than 2GB). I suggest placing a marker at the very beginning of the project too so you first file is not called "Timestamp_0" or some such thing. You can even name the markers with the name you want each file to have, though keep in mind files will sort alphabetically of course once they are split if you have a specific order - so maybe preface them with 01, 02, 03, etc etc.
    OK - now go get XLD (the GUI version):
    http://tmkk.hp.infoseek.co.jp/xld/index_e.html
    download, install and run it. No window will appear at first. Open the preferences and choose your desired output format and options, directory, etc
    drop the AIFF file onto XLD (I've put XLD into my Finder window toolbar for easy access). When it asks you to open the embedded cue sheet, say "OK" and your markers should appear as a list of CD tracks that you can play double click to play with a player interface and preview.
    Then press "Decode" and voila! All your markers as separate audio files with the marker name, in whatever format (including the multiple formats option) you set XLD for.
    You can even edit metadata at this stage (but first consider whether your output format supports it)
    Some of the formats XLD can produce are
    AIFF
    WAV
    Apple Lossless (saves some space!)
    FLAC
    AAC
    MP3
    OGG
    etc etc
    Personally I think this is an absolutely fantastic trick and am happy to have discovered it. Hope it helps you too.

    Also, if you have gaps in the original session, put a marker at the end of the previous section and call it something like "end". Then you can uncheck all the "end" 'tracks' in the cue sheet and they wont be exported in XLD.
    Oh and it also seems XLD will preface your marker delimited files with their 'CD track' number. Useful to keep them in order, but they will probably want to be changed if you have gaps you took out with extra "end" markers.

Maybe you are looking for

  • Possibly mundane Mini-DVI to VGA into an external monitor problem

    Hi, I've had a look over the interwebs regarding my problem and it seems as if it's not unusual to have external monitor problems but I'm not sure if mine is slightly different: I had a perfectly working set up with my new Macbook (the white one, '06

  • Some titles are not saved

    Hi there, After my last import I started to sort out the pictures and - as I always do - changed the title of the pictures to something more sensible. I noticed that some titles were not saved after entering them, so I closed iPhoto, opened it again

  • Setting Progressive Wrecks Output Quality

    I have a Premiere sequence that contains only progressive footage, all comps rendered from After Effects.  The Premiere project is PAL widescreen, which by default sets to Lower Field first. The client wants this as MPEG2, so I add the sequence to Me

  • Display R/3 report in portal as pdf

    Hello, We have a custom report (R/3 report) which is too complex to be converted to a smart/adobe form. The requirement is to show this report on portal for users to be able to print/save it. The idea we have is: 1. Print the report to spool. 2. Conv

  • "Email for Nokia" Not Working Properly after Firmw...

    The "Email for Nokia – 10 Accounts" also called Nokia Messaging does not work after firmware upgrade.  I upgraded my E63 firmware from 400.21.13 to 410.21.10 (the latest).   After upgrade, I installed the Email software, ver 9.07(2), from Ovi store.