Selecting from one table and Update another in the same Page

Could someone help me with this HTMLDB task. In my page design, I am selecting data from two tables (masters: DEPT, EMP) which I want to display on the left column of the page and at the same time a user would be able to update another table (ATTENDANCE:with many children) which would have a radiogroup on the right side for each value of the master such as employee name. The placement of data has to appear in corresponding rows on the page. For instance, employee names of the master table must appear on the same row with its corresponding child value. The page would be grouped by DEPT_NO. The user would click on the department name, a new page with the employee name would apprar. From that page, the user would then update attendance column for each employee in that department. In this operation, it is only the ATTENDANCE table that is being updated. I can send out more information about the structure of the tables if you need more information. I tried many HTMLDB options, forms, reports, etc. I have not been able to get quite right. Your help will be appreciated.

Raju,
Thanks for responding to my problem. I have actually tried using the example on how-to you sent me a link to but it did not help as I expected. You see, the page would be updated every meeting date for each employee. I can send you more information about the table structure if you like. However, let me see if this will help you a bit.
Tables are: 1) Dept [dept_no (pk),dept_name] 2) EMP [emp_no (pk),emp_name, dept_no(fk)] 3) Meetings [meet_key(pk),attended, meeting_date, emp_no(fk)]
What I want to do is create two pages, one would list the departments, when a user selects a department, the user would be linked to a meeting attandance page. The meeting attendance page would list department name once, Meeting date once, and then list employees in that department. At the right column of every employee would be a checkbox for meeting.attended for update. The meeting_date would be pre-populated so that what the user would do is just check Yes/NO. The second page is the one I'm having the most problem with.
If I can do a fetch from dept, emp, and meetings and then do an update on the Meetings table on the same page, I think that might solve the problem. That was how I solved it in MS Access three years ago.
Here is email address in case you want to contact me directly. [email protected]
Thanks again for your help.

Similar Messages

  • Insert one table and update another???

    Hello,
    I was wondering if it is possible to insert a record in one table and update another another record in a different table.
    I have a form on my company's intranet that allows employees to add comments (ADDT Insert transaction) about new products we are going to bring to the market. At the same time, I would like to count the numbers of comments on a particular product and update that number for each product to see which product is getting the most reviews.
    Right now the products are on the homepage with the title and inserted date. From there, the employees click on the product get the info and make comments about it. The problem for me is that I would like to see the comment counts for each product on the home page, which means I would have to update the product table with the count.
    Sorry, I am using PHP as the technology.
    When I used to do it in ASP, I would insert the comment using the POST from the form, but add another hidden field with the count in it and I would use the "Command" Server behavior to retrieve the number and update the other table field.
    I noticed that dreamweaver removed the "Command" server behavior when using PHP.
    All help is greatly appreciated
    Charles.

    Hi Charles,
    you can generally execute queries on a different table using Custom Triggers, and in regards to your "update the product table with the count" scenario the ADDT help file has a helpful pointer in the chapter "Custom transactions and triggers : Save additional information on login" -- in here you´ll find a sample "incremental counter" query which should be easy to adapt.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Is there a way I can move movies from one itunes library to another on the same computer?

    Is there a way I can move movies from one itunes library to another on the same computer?

    Locate them in the Windows Explorer, move or copy those files as you would any other, and drag them into the open iTunes window when the second library is loaded. If you're using two iTunes libraries on one user account, you only need to locate the files; otherwise, they need to be put in a shared area.
    (63747)

  • How to display contents of one table and update another one

    Hi all
    My requirement is the following:
    - Three tables, guard, site and guard_site where guard_site shows which guards are linked to a particular site and vice-versa
    - I need to create one front-end where i allow all guards to be linked with a particular site
    - so the panel must show all guards available (so get display data from guard table) and then i need to introduce a row selector, which allows user to select whichever guards he/she wants
    - There will be a save button and upon pressing it, i will create an entry on the guards_site table for the selected guards against the siteId provided when user goes to this page.
    - Also upon loading this page if there are already any linked guards these must show as ticked in the row selector.
    so I first attempted using a Tabular form or a form on a table/view, but it then forces me to select a table to update, which is not what i want, the data i display is from guard table, which is not the table i want to update... so I then tried a blank page and I created a SQL Query report region... but it doesn't allow me to add a row selector (even if I have added a button on the region).
    Any ideas?
    Regards and thanks
    Jose
    Ps- im using version Application Express 4.0.2.00.09 that came with Oracle Database Express Edition 11g

    Jose,
    Three tables, guard, site and guard_site where guard_site shows which guards are linked to a particular site and vice-versaso I first attempted using a Tabular form or a form on a table/view, but it then forces me to select a table to update, which is not what i want, the data i display is from guard table, which is not the table i want to update...>
    Maybe I am not understanding what you are trying to do but it appears that the table guard_site is the table you should be updating. Doesn't the guard_site table contain foreign keys from both the guard and site tables?
    Jeff

  • Transfer music from one user account to another on the SAME mac?

    My family (wife, son, daughter, and me) share an imac but we all have our own user accounts. Our entire itunes music library is in one user account and is getting to the point of being unmanageable.
    Can I move some of my itunes library (e.g., my son's music) to another user account on the same iMac? Some songs were imported from CD and others were purchased from my Apple ID number.
    It's my understanding that an ipod can only be synced with one itunes library at a time, but I thought Apple also restricted the usage of music bought from itunes to a finite number of computers. If this is true, I think I would be able to transfer a group of songs from one user account to another so long as the user accounts were on the same computer.
    I was told that I could just drag the songs into a shared folder and then log into his account and drop them in iTunes.
    Some specific questions:
    1) Can I move all music files (CD and purchased) to the shared folder for dropping into his account?
    2)The purchased ones were purchased under MY apple ID which I do not want to give him access to. Should I create one for him or just have him use mine and wait for my password. I would like to put an allowance on his new ID number and keep it separate from mine. Would that make a difference in the future if I wanted to use one of his songs on my iPod or in an iMovie project?
    I just reinstalled my Lepoard OS X and put all my data back. I did not deauthorize anything before I did this. Did I need to? Or is even a clean install on the SAME machine ok and seen as the same authorization?
    Thanks in advance!!

    You can give him copies of song files, either by using a shared folder, or by putting the copies on a USB flash drive from which he can copy them to his own iTunes library.
    Any DRM-protected tracks that you have purchased from Apple can only be played if the user has authorization to the account(s) from which the tracks were purchased. Authorization requires physical access to the computer and knowledge of the password, and you can figure it from there!
    Message was edited by: ed2345

  • Itunes library tranfer from one hard drive to another on the same computer

    Hello I have two hard drives on my mac g4 and the first has 80gig and i only have 10 gig of memory left to fill in my ipod library so... I want to move the itunes library/song data from one hard drive to another, how do I do this? the ipod has the ability to hold 40gig of songs etc. so I know the main hard drive will be full before my ipod will be... I'm new to apple and have had a pc for several years but had too many problems with viruses and like what I've learned so far on my mac thanks for your help out there... you can email me at [email protected] thanks again for any help out there

    For the record, hard drives don't hav ememory it is just storage space.
    Anyway, in your user folder you would want to drag the Music folder to the other hard drive. Once that is finsihed copying in the iTunes preferences you would want to point iTunes to the new drive and folder for the music folder it should be using.

  • Copying iTunes Library from one user account to another on the same MacBook

    I recently purchased a new Macbook running 10.4.8 and transferred my iTunes library from my G5 via firewire.
    The problem is that I started using one user account and
    when the library transferred over it went into another
    user account. Is there a way that i can take the library
    and put it under the user account that i had established
    prior to the transfer or do i have to import each MP3
    (via the HD) separately?

    Does this article contain anything useful?
    (20198)

  • How to transfer music from one itunes account to another on the same computer

    How do I transfer iTunes music to another comp account on the same comp. I have Windows 7 and I made my own Windows account. all of my music is on the iTunes on the other admin. account. So how do i transfer all of my stuff on iTunes to my own account? I've tried going into Preferences then advance but that's not doing anything. I signed into my account on iTunes but that didn't seem to help. Please give me something simple and not too long. I'm trying to do this as quick as possible lol. thanks in advance!
    I'm running the lastest iTunes. I just upgraded it today.

    Move the music files or the entire iTunes library to a shared folder.
    If you moved individual files, open iTunes from the desired account and drag them to the library in the iTunes application window.
    If you moved the entire library, launch iTunes with the Shift key held down and choose that instance of it.
    (111061)

  • How can I transfer iPhoto files from one admin user to another on the same Mac?

    i created a new admin user on my computer, so now my husband has one and so do i. how can i transfer our iphoto files from his admin user to mine as a shared file? i was able to do this with itunes easily but i am not able to do it with iphoto.

    You want to share the Library?
    For iPhoto 09 (version 8.0.2) and later:
    What you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.

  • PO issued for one vendor and GRPO another for the same

    Hai members,
                      I have a problem, is it possible , to select a different vendor for the PO reaised for different vendor,
    i.e.,
    Po raised  for 20 items against the Vendor   XYZ
    But goods received
    XYZ-   10
    ABC-   10

    Suda,
               At us the criteria  is
    One Vendor may have  several companies
    Once we produce order to him , he will dispatch the goods from either of the companies he had or from the both
    but the PO purchase order comes from only in one name of the vendor
    Suppose i had produced
    100 Pcs order for  Some  Vendor -
       XYZ
    But he may dispatch the same goods that we have ordered
    from either of the comapnies he had i.e., XYZ, 123, ABC
    but the PO is same
    I think you got it Suda, please help me........ Thanks in advance

  • How do I transfer my ITunes Library from one computer account to another on the same computer?

    I use an outdated Mac OS X version 10.5.8 and since it is outdated, my web browsers like Safari and Google Chrome will no longer use Java or any other software that allows you to go on sites like youtube or any other sites (which is mostly everything) that use Java/Javascript. Anyway, i made another account on the SAME computer and Safari seems to be working fine on that computer account. My question is if I can transfer my WHOLE ENTIRE ITunes Library to my other computer account so I can use my ITunes on that account comfortably, like transfer music and what not. PLEASE ANSWER!!!!!!!!!!!! i have been dealing with this for years and have never seen anyone else with my same problem

    Move it to the /Users/Shared/ folder and then into the new account's home folder.
    (87509)

  • Can I transfer digital copies from one iTunes ID to another in the same household?

    Within our family there are only two itunes accounts; mine and my wife's. Somehow we've managed to get some movies imported via digital copy redemption on her account instead of mine, the problem with this is the need to switch between user accounts all the time to see the whole movie library. Is there any way for us to transfer the movies from her account to mine- so they are all listed under the same user account? My thoughts are something like a homeshare for our music, where her purchases and mine both compile our collective library.
    Anyone have any feedback?
    thank you

    You can "transfer" the files, but you'll probably have troubles playing them under the other ID. DRM is particular that way, and all downloaded movies have DRM.

  • Getting music from one iTunes account to another on the same iMac computer

    I have a iMac and my family all use it. We all have our own profile/account logins. My daughter has her own iTunes account (but with my credit card) and i have my own itunes on my own login profile account with the same cc # and expiray date/etc.... She insists on having her own account and to have her own music on her own ipod touch. I have my own ipod touch. However, I want some of the music that is on her account on to my account (and thus my own ipod). I am the 'administrator'of the iMac.
    I don't want to have to pay for the same songs/albums twice. My daughter doesn't understand this whole concept of saving money and paying for things more than once.
    I also don't want to burn her music onto a CD and then import onto my account for several reasons: it is a hassle as well as i may not be able to have the cover art if i do it this way. Can anyone suggest what to do?

    Log into her account and open iTunes.
    Select the songs you want in iTunes, then drag them to \Users\yourusername\Public\Drop Box\.
    Quit iTunes, log out of her account and back into your account.
    Open iTunes.
    File -> Add to library and select \Users\yourusername\Public\Drop Box\.
    Or move those files to \Music\iTunes\iTunes media\Automatically add to iTunes\ folder.

  • HELP! If & how do I copy bookmarks & passwords from one user acct to another on the same computer?

    I've just made another user acct and need to copy my Firefox bookmarks and passwords from my older user acct to my new one. How do I do this? Don't know if you need this info or not but just in case:
    OS: Windows Vista Home Premium SSP2 64Bit

    http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile
    Your Profiles are located here in Vista & Win7: <br />
    ''drive'':\Users\''Windows login user name''\AppData\Roaming\Mozilla\Firefox\Profiles\''profile_name''

  • How do you transfer your play lists from one hard drive to another on the same computer?

    I had itunes running on my old computer.
    The mother board gave up.
    Got another computer and put the good drive from the old computer into the newer one as a slave.
    I have itunes all set up but can't figure out were to get my play lists and cover art to get them to the new drive/program.
    Bob

    Hold shift when you launch iTunes. It will let you chose a library. Chose the one one the slave drive from your old computer and it will look just like it did when you last used it on the old one.
    It will be located in your User folder under My Music\iTunes

Maybe you are looking for

  • How do I stop iTunes from automatically "correcting" song info from the iTunes Store?

    I frequently rename songs that I download from the iTunes Store for various reasons. For example, when I bought Pet Shop Boys' album Electric on CD, I changed the album name of the pre-release single "Vocal" from "Vocal - Single" to "Electric", and a

  • How to calcualte opening balance of supplier for given period

    Hi all, i have to develoed suppler ledger report.please help me how to calculate opening balance of supplier. Thanks and regards,

  • Can't get new backup past the starting gate

    After fouling up my first backup since upgrading to Snow Leopard (http://discussions.apple.com/message.jspa?messageID=12245539#12245539), I've reset TM (twice) and reformatted my backup drive (with a single pass of zeroes). But, I cannot get the back

  • New to Mac's how do i install ??

    Hi, i'm new to mac's coming over from a windows PC. I don't know how to install Dreamweaver MX on my macbook. It won't let me run the Autorun.exe or Install Dreamweaver MX.exe I keep getting told that i need to chose a program to run them. I took a l

  • Are the Earpods under warranty?

    I purchased the Apple EarPods a while ago separately from an iPhone and they are having problems can I have them exchanged? I was told at RadioShack, the place of purchase that they were covered under the Apple Care Warranty.