How do I accomplish this?
Could anyone give me any tips to accomplish the following in Apex please?
I'm building a system to log maintenance requests. I've built a screen which allows the user to create a new maintenance request and put in a request description. This is recorded in a requests table.
I also want to maintain the history of a request in a seperate table (request_history). So for example, if a user adds a comment to a request, this is recorded in the request history table. A new record would be added to the history for each comment recorded.
So for example, a user creates a request. A record is created in the requests table. Later on they add a comment against the request. Afterwards this they add another comment against the request. So you end up with 1 record in the requests table, and 2 records in request_history (which hold the 2 additional comments).
When editing a request, I want the original request details (from the request table) to be displayed but not editable. Plus I want the 2 comments from request_history to be displayed, but again, not editable - in other words everything entered against the request is shown on screen. The user should only be able to add new comments against the request.
I'm a bit stumped as to how to accomplish this in Apex.. is there a type of page that would fit my needs.. or does anyone have a similar example they're created?
Hi Antilles
You're going to need several pages but all of them are easily doable within Apex.
1 - Main page - searchable report of existing requests. Each entry on the report would have a column link to the second page - this link would pass the REQUEST_ID value to that page to be used to filter its reports. There would also be an Add button to create a new request
2 - Request Summary page - this would contain your read-only data. The top half of the page would be a form based on the main table. The bottom half would be a normal report filtered on the same REQUEST_ID. There would also be an Add button to add a new comment. In this instance, you would probably create a page with Form and then add the report afterwards
3 - Request Creation page - called from the first page to allow for the create of a new request record
4 - Request comment creation page - called from the second page to create a new comment for the selected request.
These pages are very typical Apex pages and are quick to set up. If you need more detailed instructions, let us know
Andy
Similar Messages
-
I have an ipod that is synced with an old PC, and now I have a Mac and I want the ipod to sync the photos on it with the Itunes on my Mac, but it says it was synced with another ipod. How can I accomplish this?
Is it the same user/iTunes account or...?
Syncing to a new computer should give you the opportunity to replace the exisiting contents with the new. -
I am trying to sync my mother-in-law's iPad with my computer. It has been over 1 year since it was synced and I need to update her itunes software. However, I don't want to erase the apps and photos she has put on her iPad over the last year. How do I accomplish this?
sstdanc wrote:
I haven't used my ipod in a very long time,
You can Only Sync to one iTunes Library at a time.
sstdanc wrote:
Hi, I no longer have the computer that I had used with my ipod.... I wanted to figure out how I can get both our ipods and itunes to work on the computer and not earse my music that is on my ipod??
Try > https://discussions.apple.com/docs/DOC-3991
Or > https://discussions.apple.com/docs/DOC-3141 -
I upgraded the operating system on my MacBook Pro from Snow Leopard to Lion via the web. Now I need to erase the hard drive and restore it to factory settings, so that I can pass it on. How do I accomplish this? When I insert the Mac OS X install disk, the only option is to erase the free space. Any insight would be appreciated.
Thank youYou need to boot off the original Snow Leopard DVD's that came with the system.
Once you are running off of the DVD you will be able to do a clean install of SL
To boot off the DVD with the system up running Lion insert the DVD. Open Sytem Preferences->Startup Disk and select the DVD then restart the machine.
Message was edited by: Frank Caggiano -
Lightroom 6 is up and running. Upgraded from LR5. However I want to change the file name to be more generic, e.g., description in LR5 references LR5 and I want to change that to just John G's LR Catalog/Library.lrcat. How can I accomplish this without fouling everything up?
Ok, well you'll need to do something like this. Now this part is a little dependent on your database server:
try {
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
Connection c = DriverManager.getConnection(
"jdbc:mysql://{database-server}/{database-name}:3306?user={username}&password={password}");
Statement Stmt = c.createStatement();
int count = Stmt.executeUpdate(cmd);
if(count>0) {
System.out.println("count: " + count);
} catch (Exception e) {
e.printStackTrace();
}That was some sample code for a MySQL database.
Note that the applet can only contact the server that is was loaded from, so you might want to do a getCodeBase() or something like that to get the server address.
Hope this is helpful. -
Nobody get back to me on my other question, so I'm going to try again. I am making a PowerPoint for a meeting and I want to take a 3D PDF and have it spin or rotate on a continuous loop. How can I accomplish this?
Please ignore PowerPoint comment, I can make the 3D PDF no problem with my converter plug-in for AutoCAD. Once it is made though you can spin it by hand/mouse in Adobe. but I want a video like scene with the object spinning by itself for modeling purposes?
-
I am wanting in input audio to a MacBook Pro running 10.9.4. Since there is only the internal microphone as an input choice, how do I accomplish this?
Not something I've ever done, but I found a 9-year-old article from MacWorld -> http://www.macworld.com/article/1041790/tapetocd.html - that explains it a bit. Apparently the only software that you need is GarageBand and a hardware interface. Just Google "copy audio cassette to mac" and you'll get tons of hits.
Good luck,
Clinton
MacBook Pro (15-inch Late 2011), OS Mavericks 10.9.4, 16GB Crucial RAM, Crucial M500 960GB SSD, 27” Apple Thunderbolt Display -
I have a 3G I Phone and Just got a new PC. Have run a sync in I tunes but none of he songs, etc. in the I phone have transferred over. How does one accomplish this taks?
Only iTunes purchases may copy over via File > Transfer Purchases - otherwise syncing is one way, from the computer to the device. To get the rest of your music/films etc onto the new computer you can copy the backup from your old computer onto the new one and then load them into iTunes
-
I am trying to set up my apple tv using the hospital network. I am able to detect the network and chose it. But the way the system works is that you have to agree to the terms and conditions of using their network before access the internet. How do I accomplish this with apple? Please help.
There are some other options to you, if you're not at home and nobody is using your router you could set it up at the hospital, if this isn't an option you could get a second router and use it. Many ethernet routers are available on the cheap, and ethernet cables are cheap too.
Also, a macbook can share it's internet via the built in wifi it has. See this go to settings-sharing-internet sharing and configure as desired. This may require an internet connection via ethernet. But you should be able to create a wifi network for using something like airplay/home sharing. -
I want to upgrade my account to include illustrator but do not want to pay full price for both photoshop and illustrator. How can I accomplish this?
Photography plan is $9.99 and any added single subscription is $19.99
Cloud Plans https://creative.adobe.com/plans -
I highlight "genre" in my itunes library and it is sorted thus. The secondary sort is automatically "artist". I want the secondary sort to be "album". How do I accomplish this?
Can't do it.
You can use the browser (iTunes menu view > Browser) select a genre then sort by Album. -
I'm in an educational environment. New student computers have ARD installed. We don't want them to use the administration features of ARD but to be clients only. How can I accomplish this?
Unless you installed the ARD administration application on the computers yourselves, all they'll have is the client. The ARD admin app is not included with Macs; it must be purchased from the Mac App Store. If you did for some reason install the ARD admin app, just remove it.
Regards. -
We have 2 ipods & would like to sync different songs to each using the same itunes library. How do we accomplish this?
Use one of the several outlined methods in this Apple support document. I personally like the individual playlist set up where you add everything you want to a specific playlist and then set up each iPod to sync that one playlist that contains all the content you would like to be synced to it.
How to use multiple iPods, iPads, or iPhones with one computer
B-rock -
I would like to freeze saving to icloud and perhaps transfer some of that data to my own external hard drive. I don't want to lose anything already stored there, but don't want to purchase anymore cloud space. How do i accomplish this?
It seems that saving to iCloud is a default. My Pages documents automatically save there unless I change to save to destination. I probably just need help in setting up the cloud. When I tried to change the setting, though, it told me that if I made the change, all data on icloud would be eliminated and i don't want that. I would ideally like to save everything on my external HD and not bother with iCloud. Certainly don't want to buy more storage space. Thanks for replying so promptly.
-
Our church used an HP for 12 years that was refurbished and finally died. We captured Sunday services for broadcast using Avid Express connected to a Broadcast Pix Switcher via an Avid Mojo with a firewire cable. This week, I replaced it the HP with a Mac in hopes of using Final Cut Pro to capture and edit video for broadcast. Will Final Cut Pro X recognize Avid Mojo interfacing with Broadcast Pix? If so, how do I accomplish this? Currently I have the mojo connected to the Mac via a firewire adapter through the thunderbolt port. However, the Mac isn't seeing the mojo or the cameras connected to the switcher.
Just turned off background rendering.
I'm not certain what you mean for specs in a specific point in the video, but here are the specs for the entire edit I initially received:
Dimensions: 1920 X 1080
Codecs: H.264, AAC, Timecode
2 Audio Channels
Total bit rate: 12,083
Size: 951,735,770 bytes (951.7 MB on disk)
Here are the specs for the exported video that has the audio issue:
Dimensions: 1920 X 1080
Codecs: H.264, AAC, Timecode
2 Audio Channels
Total bit rate: 12,274
Size: 966,817,082 bytes (966.8 MB on disk)
The video is 10:28 minutes long and the audio leaves at 5:57.
If that wasn't what you were looking for, just let me know. I'm not very good with technical stuff sometimes so may have misunderstood.
Is there something I should have done to the piece before I began color correcting it, like transcoding? -
Cannot fast forward in music video mode. How can I accomplish this
Cannot fast forward in music video mode. How can I accomplish this. Cannot rewind either. Am I missing something? If I change the Music Video to TV Show or Movie can both rewind or fast forward. For now all concert videos are in Movies, which might be the right place for them, but kinda weird Itunes does this.
I am by no mean an expert and I'm sure there are easier ways to accomplish this... however one way is to do something like this:
-Use selection tool to select all blue background, soften the edges of the selection then delete the selection.
-Here you will have a white background and dull looking image with not the greatest edges.
-Zoom waaaay in and use a softer eraser brush on the edges.
-Use various sharpening, brightening, white levels adjustments to make your image prettier.
-Pay attention to the diamond, select the diamond with a selector tool and sharpen, etc. Consider adding a layer to add additional detail to just the diamond.
-Consider using the clone stamp to smooth out any markings on the silver tone band.
Maybe you are looking for
-
How do I find and delete old plugins
Since my leopard days I have been migrating data over as I updraded to the new OSX 10.9. When I start to open apps. Pro tools, Logic x, and otehr DAWs, there are some plug ins that are not compatable. Rather than leave a bug, and taking more time to
-
How do I get Microsoft Outlook Web Access to have the same view in Google Chrome as in IE9?
In IE9 I can see a reading pane, just like in a PC view of Outlook. However, I do not know how to get this when using Google Chrome. Can anyone help?
-
I get an error message when trying to execute the instructions bellow create table publications public_id number, title varchar2(200), constraint publications_pk primary key(public_id) create table profiles profile_id number, rule varchar2(500), cons
-
When I apply a keyword from the keyword list to a picture, only the first letter in the keyword is added and then that letter becomes part of the keyword list. Does anyone know why? And how do I keep this from happening and getting Bridge to use the
-
Layers (especially text) not "updating" quickly or at all CS5
When working with text heavy files in CS5 (64bit, windows 7 x64, core i7 920 proc), at some point, seemingly at random, layers will stop updating. Example: I'll edit a text layer, but it will not show in real time, and still won't show until I've cli