Read write control on status

Dear All,
I have a problem. Look at the senario,
i have a table ATTENDANCE_HEADER in which there is a column STATUS,
there is another table ATTENDANCE_DETAILS.
entry to the ATTENDANCE_HEADER table is automatic by using schedules setting the STATUS column to PLANNED value.
means the current date master entry will be entered inthe HEADER table with PLANNED status.
The secretary will be allowed to do entries in the Details table for PLANNED status.
but when manager change the status of attendance to RELEASED,Secretary and even the manager and anybody
will not be able to change the ATTENDANCE_DETAILS rows which are against a date which is RELEASED in the ATTENDANCE_HEADER.
How should i implement this type of security?
i need a method example if posible.
Thanks & Regards

Muhammad wrote:
third tip was new for me and is nice, although i am not understanding completely the purpose of it,
why Table to relate users with their Roles? what will be the structure of these 3 tables?
Thanks again.its about One to Many or One to Relation thing......
if one user can have multiple Roles then u need this 3rd table....
else u can save the Role reference key in the USER main table
Users
User_id number,
User_name Varchar2
App_roles
App_role_id number,
App_role_name varchar2
Users_roles
User_id number,
App_role_id numberu can create many tables its all depends how u can handle
my 2 cents

Similar Messages

  • Incorrect data type when writing to FPGA Read/Write Control

    I have run in to a problem this morning that is causing me substantial headache.  I am programming a CompactRIO chassis running in FPGA mode (not using the scan engine) with LabVIEW 2012.  I am using the FPGA Read/Write Control function to pass data from the RT Host to the FPGA Target.  The data the RT host is sending comes from a Windows host machine (acting as the UI) and is received by the RT Host through a network published variable.
    The network published shared variable (shared between the RT and Windows system) is a Type Def cluster containing several elements, one of which is a Type Def cluster of fixed point numerics.  The RT system reads this shared variable and breaks out the individual elements to pass along to various controls on the FPGA code's front panel.  The FPGA's front panel contains a type def cluster (the same type def cluster, actually) of fixed point numerics.
    The problem comes in the RT code.  After I read the shared variable I unbundle the cluster by name, exposing the sub-cluster of fixed point numerics.  I then drop an FPGA Read/Write Control on the RT block diagram and wire up the FPGA reference.  I left click on the FPGA Read/Write Control and select the cluster of fixed point numerics.  I wire these together and get a coercion dot.  Being a coercion dot hater, I hover over it the dot and see that the wire data type is correct (type def cluster of fixed point numerics), but the terminal data type is listed as a cluster containing a Boolean, code integer and source string, also known as an error cluster.  I delete the wire and check the terminal data type on the Read/Write Control, which is now correctly listed as a type def cluster of fixed point numerics.  Rewiring it causes the terminal to revert back to the error cluster.  I delete the wire again and right click on the terminal to add a control.  Sure enough, a type def cluster of fixed point numerics appears.  Right clicking and adding an indicator to the unbundle attached to the network shared variable produces the proper result.  So, until they are attached to each other, everything works fine.  When I wire these two nodes together, one spontaneously changes to a error cluster.
    Any thoughts would be appreciated.

    My apologies I never got back to responding on this.  I regret that now because I got it to work but never posted how.  I ran in to the exact same problem today and returned to this post to read the fix.  It wasn't there, so I had to go through it all over again.
    The manifestation of the problem this time was that I was now reading from the Read/Write FPGA front panel control and writing to a network published shared variable.  Both of these (the published shared variable and the front panel control) were based on a strict type defined cluster, just like in the original post.  In this instance, it was a completely different cluster in a completely different project, so it was not a one-off thing.
    In addition to getting the coercion dot (one instance becoming an error cluster, recall), LabVIEW would completely explode this time around.  If I saved the VI after changing type definition (I was adding to the cluster) I would get the following error:
    Compile error.  Report this problem to N.I. Tech Support.  Copy cvt,csrc=0xFF
    LabVIEW would then crash hard and shutdown without completing the save.  FYI, I'm running LabVIEW 12.0f3 32-bit.
    If I would then reopen the RT code, the same crash would occur immediately, ad nauseam.  The only way to get the RT code to open was to change the type defined cluster back to the way it was (prior to adding the new element).
    I didn't realize it last time around (what originally prompted this post), but I believe I was adding to a type def cluster when this occurred the first time.
    So, how did I fix it this time around? By this point I tried many, many different things, so it is possible that something else fixed it.  However, I believe that all I had to do was to build the FPGA code that the RT code was referencing.  I didn't even have to deploy it or run it... I just had to build it.  My guess is that the problem was the FPGA Reference vi (needed to communicate with the FPGA) is configured (in my case) to reference a bit file.  When the development FPGA Main.vi ceases to match the bit file, I think that bad things happen.  LabVIEW seems to get confused because the FPGA Main.vi development code is up and shows the new changes (and hence has the updated type def), but when you ask the RT code to do something substantial (Open, Save, etc), it refers to the old bit file that has not yet been updated.  That is probably why the error getting thrown was a compile error.
    I'm going to have to do an additional round of changes, so I will test this theory.  Hopefully I will remember to update this post with either a confirmation or a retraction.

  • FPGA Read/Write Control Issues

    Hello all!  Rather new to using FPGA, but I have an interesting issue that's popping up.
    Currently pulling in RAW voltage data from a set of sensors (Pressure Transducers, Load Cells, etc) through a cRIO DAQ.  Have the FPGA file setup to pull in that data already and have the main VI and all the sub-VIs working just fine.
    What I'm trying to do is save the raw voltage data (TDMS files) on the lower level and the convert and display on the upper level so that I don't have to convert and save (speed up saving data).  So that leaves 3 distinct levels/sections:
    On FPGA that pulls in the raw data
    On FPGA that saves the raw data
    Main VI that does all the controls/conversions/displays etc.
    Number two is where I'm having an issue.  I want to save all the data in parallel so I'm creating a save FPGA for each I/O device (8 Relays to command solenoid valves, 3 Pressure Transducers, 1 Load Cell, 4 Thermocouples).  To do this I want to create a separate VI for each device (not sure if that's a smart thing to do).
    The issue I'm having is when I use the FPGA Read/Write control to read in from the Target and save to the TDMS.  When I only use a single FPGA target reference the lines are broken, but as soon as I switch to two targets, it now works.
    Any reason why it might be doing this?  Any ideas/suggestions at all on how to go about setting this up in general?
    Thanks!

    Hi,
    HySoR wrote:
    The issue I'm having is when I use the FPGA Read/Write control to read in from the Target and save to the TDMS.  When I only use a single FPGA target reference the lines are broken, but as soon as I switch to two targets, it now works.
    Could you take a screenshot and post this part of your code? I'm having trouble understanding what you are describing.
    Craig H. | CLA | Systems Engineer | National Instruments

  • FPGA Up Cast Funktion deletes Values form Read/Write Controll

    Hello Everybody,
    I Have an other Problem with my RT-FPGA cRIO...
    I have now managed to read the module IDs to convert this combination in a certain casenumber and this one then selects the FPGA File. Now is that I have inbounded various FPGA Bitfiles. If I composed them by the the "Up Cast function" to a universal reference then there will disappear some elements by using the Read / Write Control .
    I have a picture attached that this Clarifies!
    The first two R / W Controller have been up before the cast and the third upcast diverted after.
    I hope you can help me!
    thank you in advance before
    MaJahn

    Even now I've noticed the function Invoce methode: Read TEDS is also no longer supported.
    Why?!
    The both VIs are exactly the same during the Modules in it are different.
    Iam using LabVIEW 2009 and the newest Drivers from the NI site!

  • FPGA Read/Write Control Function Issues

    Hello all!  Rather new to using FPGA, but I have an interesting issue that's popping up.
    Currently pulling in RAW voltage data from a set of sensors (Pressure Transducers, Load Cells, etc) through a cRIO DAQ.  Have the FPGA file setup to pull in that data already and have the main VI and all the sub-VIs working just fine.
    What I'm trying to do is save the raw voltage data (TDMS files) on the lower level and the convert and display on the upper level so that I don't have to convert and save (speed up saving data).  So that leaves 3 distinct "levels/sections":
    On FPGA that pulls in the raw data
    On FPGA that saves the raw data
    Main VI that does all the controls/conversions/displays etc.
    Number two is where I'm having an issue.  I want to save all the data in parallel so I'm creating a save FPGA for the I/O devices (8 Relays to command solenoid valves, 3 Pressure Transducers, 1 Load Cell, 4 Thermocouples).
    The issue I'm having is when I use the FPGA Read/Write control to read in from the Target and save to the TDMS.  When I only use a single FPGA target reference the lines are broken, but as soon as I switch to two targets, it now works.
    I've attached a screen cap of the current problem.  The set-up on the bottom (with only one target) doesn't work.  But the second I add more than one target, it works.
    Any reason why it might be doing this?  Any ideas/suggestions at all on how to go about setting this up in general?
    Thanks!
    Attachments:
    FPGAError.jpg ‏35 KB

    HySoR,
    You might check the documentation for "data" terminal of "TDMS Write" (http://zone.ni.com/reference/en-XX/help/371361H-01/glang/tdms_file_write/). One DBL element is not accepted, but 1D DBL array is accepted.
    data is the data to write to the.tdmsfile. This input accepts the following data types:
    Analog waveform or a 1D array of analog waveforms
    Digital waveform
    Digital table
    Dynamic data
    1D or 2D array of:
    Signed or unsigned integers
    Floating-point numbers
    Timestamps
    Booleans
    Alphanumeric strings that do not contain null characters

  • Imaqio (fpga) PCIe 8255R read/write control ISO input

    Hi. I have an external trigger connected to ISO INPUT 5 on my PCIe 8255R which has an fpga RIO (see manual). I  want to read the value of ISO INPUT 5  using Read/Write control vi on Labview but this vi doesn't show that input (it shows iso inputs from 6 to 11). I'm using the default IMAQIO bitfile that comes in the installation directory to open the FPGA. What should I do?. Thanks in advance.

    Hi Akiel,
    Thanks for your question, I'm guessing the reasoning behind this is that you have a large number of indicators?
    Whilst there isn't an in-built way of dynamically referencing which indicator on the FPGA to read from, there is a custom FPGA interface tool which may be of some use to you:
    https://decibel.ni.com/content/docs/DOC-17185
    If you read through this, let me know if this helps or if you need any help understanding what this is doing.
    Regards,
    Ben Clark

  • FPGA Read Write Control Coercion

    I am getting a coercion indication using a FPGA read write control.  I have attached a screen capture of the context help.  For some reason it is looking for an error cluster?
    Attachments:
    FPGA Coercion Context Help.png ‏36 KB

    The NI 9229 Data Rate Control.
    See attachments
    Attachments:
    FPGA Coercion VI.png ‏76 KB
    FPGA Coercion VI 2.png ‏129 KB

  • Shortcuts for change in read/write (control/indicator)

    Hello,
    I try to find a shortcut for change to read/write a local variable ?
    Thanks
    Sylvain Jourdan
    (Labview 2012 - English)

    Hi,
    Thanks for you quick answer, I'll suggest this idea in the LabVIEW-IdeaExchange.
    An other idea, do you know if we can add a property to the shorcut menu by modifying a configuration file... ?
    Thanks,
    Sylvain
    Attachments:
    option_menu.png ‏53 KB

  • Keep Record of Email read ,write and delivery status failed

    Hi,
    i have thousand email id 's in my table.
    I am sending promotional mail to users.
    my pl sql email function is working fine.
    i want to keep track of the email send to users like
    some email will be read by user, some email's delivery status will be failed,some will reply to email.
    how can i keep track in my database. can you send me any tutorial or link where i can learn about it how to do that in application.

    Hi InoL ,
    i never used java in oracle apex. how can i use java code into my application? where i have to write this code.
    What step i have to follow to write the code.
    Thanks & Regards
    Vedant

  • ..Primavera\Project Management\PM.ini cannot be set to read-write status

    I have installed Primavera P6.1 in a laptop under Administrator Login.
    After that, when I log in to the laptop with my user Id, primavera fails to start and gives the following message:
    C:\Program Files\Primavera\Project Management\PM.ini cannot be set to read-write status.
    Kindly let me know how to fix this problem.
    Regards

    Please tell your IT Admin to fix as following:
    The following is a summary of the minimum system requirements Primavera 6.2.X requires for users to be able to access and run components of the
    software :
    Window Folders:
     C:\Windows\System32\
    dbexpsda30.dll
    dbexpint.dll
    dbexpoda30.dll
    DbExpPrC.dll
    dbexpsda.dll
    Read&Execute/Read permission for Borland DBExpress drivers
     C:\Program Files\Common Files\Borland Shared\DBExpress\DBXConnections.ini
    C:\Program Files\Common Files\Borland Shared\DBExpress\DBXDrivers.ini
    Read&Execute/Read/Write permissions to create and modify database alias connections
     C:\Program Files\Primavera
    Read&Execute\Read permission to access files needed to run applications
     C:\Program Files\Primavera\Project Management\pm.ini
    C:\Program Files\Primavera\Methodology Management\mm.ini
    Read&Execute/Read/Write permission to access the ini file - required to log into the applications
     C:\Program Files\Common Files\Primavera Common
    Read&Execute/Read permission to access files needed to run applications
     C:\Program Files\Common Files\Primavera Common\Java\BREBootstrap.xml
    Read&Execute/Read/Write permission to change connection parameters for Claim Digger or API
    (If user does not have WRITE access the Database Configuration Setup utility (C:\Program Files\Common Files\Primavera
    Common\Java\dbconfig.cmd) for claim digger / API DOES connect to the database and read the configurations and will create a new configuration if
    entered, but displays error "error writing to bootstrap file" and BREBootstrap.xml file will not be updated with the proper database connection information.
     Output directory for File > Export , Job Services output files and Log output files
    Read&Execute/Read/Write to create and write output files
    Registry Keys:
     HKEY_LOCAL_MACHINE\Software\Borland
    READ
     HKEY_LOCAL_MACHINE\Software\Primavera
    READ
    Note: For the functions Claimdigger, Update Baselines, and Schedule Comparisons the key is opened in Read/Write/Delete mode.
     HKEY_LOCAL_MACHINE\Software\Primavera\Databases\[MM/PM]\Aliases
    NOTE: By default, users have FULL CONTROL to their HKEY_CURRENT_USER\SOFTWARE registry keys
    If a user does not have FULL CONTROL permission to these keys, when they create a new alias it will be stored under
    HKEY_CURRENT_USER\Software\Primavera\Databases\[MM/PM]\Aliases and will be displayed and available to ONLY the user account on the
    workstation that created the alias.
    If user does have FULL CONTROL permission to to these keys, when they create a new alias it will be stored
    under HKEY_LOCAL_MACHINE\Software\Primavera\Databases\[MM/PM]\Aliases and will be displayed and available to ALL user accounts on the
    workstation.
    Jawad
    Novo Rail, Sydney
    P6 Project Controls Co-ordinator and Administrator

  • Read/Write vs Full Control on KM folders/files

    I've read some docs on what Read/Write vs Full Control permissions mean when setting permissions for users/groups for folders and files. But I'm still somewhat confused.
    What exactly does the 'Write' mean in Read/Write. Does Write mean a user can:
    Create a new folder
    Create a new file
    Modify an existing file
    Delete a file
    Delete a folder
    When you use the pull down for setting permissions, you see: Full Control, Read/Write, Read, Write and Delete. Kind of confusing. And you can only select one of them.
    Any clarification on these permissions would be greatly appreciated. Or pointing me to some good documentation.
    Thanks in advance. Ron

    Access authorizations
    Read
    Permission to display items.
    Write
    Permission to change items but not to display them.
    In folders, this permission also allows users to create items.
    Read/Write
    Permission to display and change items.
    In folders, this permission also allows users to create items.
    Delete
    To delete an item, you require delete permission (or full control) for this item and write permission for the superordinate folder.
    Full Control
    This permission contains all other permissions.

  • FF OPC read & write Mode Status

    How do I read & write to a block Mode Status using the OPC server.  For example I thought that each (such as Actual, or Target, etc) would be a bit mapped byte with each bit representing a mode, but it does not seem to work this way.

    You can get a block status by reading MODE_BLK.ACTUAL (type = uint8)
    You can set a block status by writing MODE_BLK.TARGET (type = uint8)
    For example, you can set a block to OOS by setting MODE_BLK.TARGET = 0x80.
    If you find MODE_BLK.ACTUAL is 0x08, then it is in Auto.
    The followings are the mode value description.
    0) Value 1
    Desc |en|ROut
    Help |en|Remote Ouput Mode
    1) Value 2
    Desc |en|RCas
    Help |en|Remote Cascade Mode
    2) Value 4
    Desc |en|Cas
    Help |en|Cascade Mode
    3) Value 8
    Desc |en|Auto
    Help |en|Automatic Mode
    4) Value 16
    Desc |en|Man
    Help |en|Man
    5) Value 32
    Desc |en|LO
    Help |en|Local Override Mode
    6) Value 64
    Desc |en|IMan
    Help |en|Initialization Manual Mode
    7) Value 128
    Desc |en|OOS
    Help |en|Out Of Service Mode

  • Adobe Acrobat Standard I/O Reads Writes Out of Control

    I am using Adobe Acrobat Standard 9.3.2 on Windows XP SP3 with the latest updates installed. In the last few months I have frequently caught acrobat.exe running even when I had no acrobat windows open. The way I know when this is occurring is because my disk read/write light goes crazy. When I open up the task manager I see that Acrobat has hundreds of thousands of disk I/O reads and writes. It is almost like it is caching itself or something. Anyway, does anyone else have this problem and/or know how to make this stop? Right now I just have to go in and force close the app via the Task Manager.
    Thanks in advance,
    CF

    Thanks but I have tried both with and without acrotray running first and it still occurrs. Additionally, when I open it in relation to reboots doesn't matter. The only thing that I think might change behavior is whether or not Acrobat has been opened inside a web browser. There may be some question as to whether or not IE or FF close it properly.

  • Check read/write acces to a certain folder without throwing exceptions

    Hello
    Can somebody help me in finding a method for getting the read/write acces status to a certain location?
    I need to have a function wich return me true when I have acces to read inside a folder for instance.
    Thanks in advance, Ciprian LUPU

    It appears as if you are somehow attempting to retrieve access control for a folder on a website (http://www.schaeffler.com/brasov/DATA/SP-ISB-F/F) using the below line. Is that correct?
     I would recommend reading the
    TOS of that site before proceeding any further.
    schaeffler.com\brasov\DATA\SP-ISB-F\F
    I'm not certain the code you are attempting to use could possibly do that. I tried accessing that link using http and ftp from a browser but nothing was found or returned.
    It's more than likely you would have to use some sort of webrequest of ftp capability to attempt to get that information if that folder exists. And I would suppose an account would have to be logged onto or something in order to access that location as I
    can not do it with a webbrowser nor am I asked to logon to access that location.
    Are you certain that location exists on that website?
    This is the error I received attempting to access that location with the code you used.
    System.InvalidOperationException: Method failed with unexpected error code 3.
    at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
    at System.Security.AccessControl.NativeObjectSecurity..ctor(Boolean isContainer, ResourceType resourceType, String name, AccessControlSections includeSections, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
    at System.Security.AccessControl.FileSecurity..ctor(String fileName, AccessControlSections includeSections)
    at System.IO.FileInfo.GetAccessControl()
    at WindowsApplication1.Form1.CanReadFolder(String DirectoryName) in C:\Users\John\AppData\Local\Temporary Projects\WindowsApplication1\Form1.vb:line 20
    Method failed with unexpected error code 3.
    at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
    at System.Security.AccessControl.NativeObjectSecurity..ctor(Boolean isContainer, ResourceType resourceType, String name, AccessControlSections includeSections, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
    at System.Security.AccessControl.FileSecurity..ctor(String fileName, AccessControlSections includeSections)
    at System.IO.FileInfo.GetAccessControl()
    at WindowsApplication1.Form1.CanReadFolder(String DirectoryName) in C:\Users\John\AppData\Local\Temporary Projects\WindowsApplication1\Form1.vb:line 20
    La vida loca

  • Open standby read-write then flashback leaves standby in new incarnation?

    Oracle 10.2.0.4 on RHEL. In February, we followed Note:805438.1 to open the standby for read-write for a test (after creating a restore point). A few minutes later, we did flashback. It ran fine ever since, receiving and applying archivelogs. Recently we noticed it stopped applying redo and this started in late June. Then I followed Note:836986.1 to roll forward the standby with incremental backup from the primary. During this process, it was found that the standby was in incarnation 2:
    RMAN> list incarnation;
    using target database control file instead of recovery catalog
    List of Database Incarnations
    DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
    1 1 ORACP2 4102395133 PARENT 1 20080407 14:13:17
    2 2 ORACP2 4102395133 CURRENT 44328058841 20110223 08:33:18
    The solution is to set it to 1, because the primary is (and always was) 1:
    reset database to incarnation 1;
    The DBA team don't recall making any significant change to the standby since the February test and alert.log doesn't show anything relevant. Will "open standby read-write then flashback" leave the standby in the new incarnation, instead of setting it back to the original incarnation? We checked another database which has a standby we did the same test on. The standby is back to the original incarnation as the primary is. So there must be something special about this database.
    Secondly, if the standby stayed in a newer incarnation, how could it continue to apply redo received from the primary in its original incarnation?

    Thanks. Bug 6035495 is related but not exactly my case. My 10.2.0.4 standby database alert.log does not have "orphan" or "ORA-19909". But the solution is the same.
    The Oracle support analyst working on my case referred me to this new note
    Rman-06571: Datafile 1 Does Not Have Recoverable Copy (Doc ID 1336872.1)
    (maybe he wrote it)
    That's exactly what happened to me. Although flashing back the standby sets its current incarnation back (to the same as the primary), if you later run "catalog start with" on the standby, that command will change the incarnation to the later one! Since I was following Note:836986.1 to roll forward the standby, "catalog start with" was run and these lines appeared
    WARNING: catalog online log file +fra/ORACP2SB/ONLINELOG/group_52.2882.708107363 is not supported
    New incarnation branch detected in Backup, filename +FRA/oracp2sb/autobackup/2011_02_23/s_743848464.8985.743848467
    Inspection of file changed rdi from 1 to 2
    Setting recovery target incarnation to 2
    Wed Jul 6 00:06:53 2011
    Setting recovery target incarnation to 2
    Wed Jul 6 00:10:51 2011
    It appears that when "catalog" detects another (must be newer I guess?) incarnation, it blindly sets the standby database to that one. The analyst calls it "implicit catalog". It may as well be called "implicit incarnation change of catalog" or "side effec of catalog".
    Edited by: user11989003 on Jul 11, 2011 7:02 AM
    Edited by: user11989003 on Jul 11, 2011 7:04 AM

Maybe you are looking for

  • Change background of the text in a TextBox

    (JavaFX 1.3) How can one change the background (color, gradient, whatever) of the text in a TextBox without affecting any of the other display (Skin) attributes for the TextBox? A related question is: How can I programmatically determine the backgrou

  • Canon 40D and G9 support

    Apple locked down the original 40D support thread which is not a good sign for us Aperture customers who are not able to use our $300 application. I did find an article that talks about using Aperture with unsupported cameras and I thought it might b

  • What is the keyboard shortcut for extract page?

    There used to be a series of keyboard shortcuts for page manipulation (and other) - using acrobat 9 till recently. Now new to Acrobat XI Pro (Windows 8.1). I can see the shortcuts for insert & delete page but not for extract page (and other). Am I mi

  • My X3 3rd Party Applications

    Hi Friends, I recently purchased Nokia X3 phone, it contains preloaded Gmail & Yahoo Mail applications, but  when I tried to install application from Gmail website for mobile & Ebuddy software I'm not able to access application even tried from Nokia

  • Cfmx 7 wont connect to MS SQL server

    Hi there, can anyone give me some help with connecting to a DB in MS SQL Server? i'm trying to connect via the cfadmin but i keep getting the following error when verfiying the DB connection: Connection verification failed for data source: sitedirect