X-Fi - Selecting bit depth when ASIO recording

When using the X-Fi with the Creative ASIO driver (in 3rd party applications), how do you select the bitdepth 16 or 24 when recording? The ASIO driver only gives access to the soundcard latency. I am missing something obvious?
digifish

Unfortunatly thats the way it is with soundblaster cards and vista drivers at the moment. There are a few threads open with people that have been complaining about this for months.Your 3 choices are; run windows xp, deal with the lack of driver features at the moment, or get a different brand of soundcard.

Similar Messages

  • X-Fi - Selecting bit depth when ASIO recordi

    When using the X-Fi with the Creative ASIO driver (in 3rd party applications), how do you select the bitdepth 6 or 24 when recording? The ASIO driver only gives access to the soundcard latency. I am missing something obvious?
    digifish
    Message Edited by digifish on 0-20-2008 06:54 PM

    I can answer this for you.... I'm afraid it wont work from what I've read on other forums in Vista.
    First of all you need to leave the creative software alone as that never works, then you do it by right clicking on the speaker icon etc to do what I am doing [url="http://www.youtube.com/watch?v=e5qa-HODWbc">here[/url].
    I don't think you will see What U hear in there tho.
    Have a read of this massi've thread [url="http://forum.thinkpads.com/viewtopic.php?t=52527&postdays=0&postorder=asc&sta rt=20">here[/url]?post by <span class="name">]usenet7.
    <span class="name">Re: Creative X-Fi "stereo line-in"
    <span class="name">Don't bother getting the card if you have Vista. There is no stereo mix or other like capabilities.
    <span class="name">Ive spoken to that guy, and I can tell you what he says is correct.
    <span class="name">Now the really bad news.. I don't know of ANY Vista laptops that can do what I have in that video either using their onboard sound or any add on card you can buy.
    <span class="name">
    <span class="name">The people at places like singsnap are tearing their hair out over this.

  • How do I change the bit depth when i edit with a plugin

    I have the latest version of Aperture and the latest version of Perfect Photo Suite from OnOne software.  My problem is that when I r/click on a photo in Aperture and click edit with plugin and chose with Perfect Photosuite it sends a file to Photosuite but a 16 bit file.  I only want it to send an 8 bit file but despite altering the settings in Aperture-presets-image export and setting it to 8 bit it still sends a 16 bit file.  Am I missing something that is completely obvious?

    Try setting the external editor preferences in Aperture->Preferences->Export
    Even though it says it's for the external editor some edit plugins respect these settigs also.

  • ASIO Recording 24 bit (48 or 96kHz) A2 Platinum

    I have read at kX Project that the Audigy 2 drivers from July 2004 enables 24 bit/96 kHz ASIO recording with the A2 ZS series. Can I get the same with the A2 Platinum eX? So far I have been using kX drivers with good results, but only with 6 bit and 48 kHz.
    Thanks for someone to answer!
    Sture in Sweden

    "The SB Audigy ASIO 24/96 is only available with the Audigy 2 Platinum EX which uses ASIO 2.0 driver and is fixed on 24-bit/96khz. When using Cubasis you should always have one of these drivers selected and not the Multimedia or the directX drivers. You can adjust the buffer latencies from the ASIO control panel in the Audio System setup from the default 50ms up to 500ms and down to 2ms."
    taken from knowledge base
    search "ASIO recording" pick the top article

  • Feature Request: Ability to easily view bit depth

    I have recently downloaded LR3 for evaluation.
    My photo catalog consists of JPEGs, 8 bit TIFs, 16 bit TIFs and RAW files.
    There does not seem to be an easy way to display bit depth information in LR3.
    To get the bit depth, when working on TIF files, it seems the file has to be either opened in Photoshop/Photoshop Elements or Windows Explorer Properties.
    Could this feature be added to LR?

    Hi, Rob,
    Use the «value» property of viewFactory:tab_view() with data from «identifier» from nesting viewFactory:tab_view_item(). I just tried this and it works well. You can bind this value directly to entry in preferences table, and the tab selection will be restored at each run.
    Alex

  • Importing audio - sample rate/bit depth

    Hi forum,
    I am working on project at 44.1K, 24 bit. Audio elements are being sent to me to be added. Some have come in incorrectly; at 48K, 16 bit. I can convert easily but didn't think I needed to.
    I thought by selecting the "Convert Audio Sample Rate When Importing" option when creating the project that would all be worked out.
    That is what I've done - and the file seems to be the correct pitch -- yet shows up in the audio window with it's original specs (48/16). Also ... will logic keep it at 16 bit and play all other files at 24 bit?
    I want to be sure about this ... something seems fishy.
    Cheers
    Dee, Ottawa

    Hi,
    I am re posting.
    Regarding the same project: must everything in the arrange window of a project be the same sample rate (and bit depth). My understanding is that there is real- time conversion during playback. That all file types supported by logic - and all virtual instrument samples are converted in real time to conform to the selected bit depth and sample rate of project.
    I ask only as I recieved reference sound files to temporarily place in a mix to see how mix will sit when going to Post. Two audio files are almost a semi tone higher than they are supposed to be (which is odd - so I am pretty sure it was just quickly sung in the wrong key at there end). And one file which was supposed to be timed out is not lining up.
    I can work around this on this project. And I can simply convert in the sample editor and re import to compare.
    But again ... I just want to check my understanding for future reference. The manual indicates differing rates etc should not be a problem. (ie: That Logic allows one to have differing rates and bit depths. Inversely, the M Sitter video implies just the opposite.
    I just want to be sure of this for future reference. Any adive?
    Thanks in advance.
    Cheers
    Dee

  • Maximum bit depth-maximum render quality when dynamic linking

    Hi
    A bit confused by the use of Maximum bit depth and Maximum render quality as used both in Sequence Settings and also as options when rendering in AME.
    1 Do you need to explicitly enable these switches in the sequence for best quality or, do you simply need to switch them on in AME when you render in Media Encoder?
    2 When dynamic linking to After Effects, when should you use an 8 bit vs 16 or 32 bit working space, and, how does this bit depth interact with the maximum bit depth, maximum render quality in PPro?

    Hi jbach2,
    I understand your confusion.  I'm like that most of the time I'm working. *chuckle*  The two settings you mentioned are two completely different parameters affecting (or is it effecting) your video. You do not need to enable them within the sequence itself unless you want to preview video on you program monitor at the highest quality.  I personally don't recommend it, as it's a tremendous resource hog, (the program even warns you when you try to click them) and unessecary for improving final output.  Again, do not enable these options in your sequence settings if you are only wanting a high quality export. Doing so will greatly reduce your editing performance unless you have a high-end system. ...and even then I don't think its worth it unless you're editing on a huge screen with a Director who wants to see everything at a maximum quality during the edit process.
    Keeping it simple...
    Resizing your final output video? Use Maximum bit depth.
    Starting or working with high bitdepth sources? Use Max Bit Depth.
    When/where do I enable these? In the AME only. ^_^
    Why?:
    Enabling the Max bit and Max render only needs to be done when you are exporting.  They both serve different functions. 
    Max Render aids in the scaling/conversion process only.  My understanding is that you never need to enable the Max Render Quality (MRQ) unless you are exporting in a format/pixel ratio different from your original video.  For example, when rendering a 1080p timeline out to a 480p file format, you'll want to use MRQ to ensure the best scaling with the least amount of artifacts and aliasing.  If you're exporting at the same size you're working with, DON'T enable MRQ.  It will just cost you time and CPU. Its only function is to do a high quality resizing of your work.
    Maximum bit depth increases the color depth that your video is working with and rendering to.  If you're working with video that has low color depth, then I don't believe it will matter.  However, if you're working with 32 bit color on your timeline in PPro and/or After Effects, using lots of graphics, high contrast values, or color gradients, you may want to enable this option. It ultimately depends on the color depth of your source material.
    The same applies to After Effects.
    Create something in AE like a nice color gradient.  Now switch the same project between 8,16,32 bit depth, and you will see a noticable difference in how the bit depth effects your colors and the smoothness of the gradient.
    Bit depth effects how different plugins/effects change your overall image.  Higher depth means more colors to work with (and incidentally, more cpu you need)
    Just remember that "DEPTH" determines how many colors you can "fill your bucket with" and "QUALITY" is just that, the quality of your "resize".
    http://blogs.adobe.com/VideoRoad/2010/06/understanding_color_processing.html
    Check out this adobe blog for more info on color depth ^_^  Hope that helps!
    ----a lil excerpt from the blog i linked to above---
    Now, 8-bit, 10-bit, and 12-bit color are the industry standards for recording color in a device. The vast majority of cameras use 8-bits for color. If your camera doesn’t mention the color bit depth, it’s using 8-bits per channel. Higher-end cameras use 10-bit, and they make a big deal about using “10-bit precision” in their literature. Only a select few cameras use 12-bits, like the digital cinema camera, the RED ONE.
    Software like After Effects and Premiere Pro processes color images using color precision of 8-bits, 16-bits, and a special color bit depth called 32-bit floating point. You’ve probably seen these color modes in After Effects, and you’ve seen the new “32″ icons on some of the effects in Premiere Pro CS5.
    jbach2 wrote:
    Hi
    A bit confused by the use of Maximum bit depth and Maximum render quality as used both in Sequence Settings and also as options when rendering in AME.
    1 Do you need to explicitly enable these switches in the sequence for best quality or, do you simply need to switch them on in AME when you render in Media Encoder?
    2 When dynamic linking to After Effects, when should you use an 8 bit vs 16 or 32 bit working space, and, how does this bit depth interact with the maximum bit depth, maximum render quality in PPro?
    Message was edited by: SnJK

  • Choosing bit depth while recording audio

    Hi,
    First, the short version of the question:
    Do you know of any simple audio recording app (ie: not a monster audio suite) which takes low CPU usage, and lets you choose the internal bit depth using for audio sampling (ie: sample at PCM16, at PCM24,...)  ?
    Now, in case you need it, the long version of the question:
    I'm digitizing my huge collection of audio tapes, with my G5 iMac (OSX 10.4). The quality of the recordings is somewhat low, so I don't need a high-end audio card, and I believe the builtin audio card of this G5 is more than adequate for this task (Burr Brown PCM3052 with support for PCM16, PCM24, and AC3 16).
    I've done my first tests with the just-released new version of Audacity (2.0.0), which is compatible with 10.4 and higher, so I'm very happy to be able to install a brand-new application in 10.4.
    Audacity works fine, but has a couple of issues:
    First, you can choose the audio track bit depth, but not the internal bit depth at which you're sampling. In other words, I'd expect to use some selector to choose from PCM16 or PCM24 recording, which is what this iMac seems to support. However, I can only choose the storage bit depth, not the sampling bit depth. I suppose Audacity is recording at PCM24, but I've no way to test this.
    Second, it takes about 40% CPU usage while recording (yes, I disabled the realtime graphics update of Audacity... if I don't disable it, usage becomes 60% or higher).
    I tried Audio Hijack Pro (well, the last version supporting 10.4), and it won't let me choose the sampling depth either.
    So... do you know of any simple recording app which overcomes this issues?
    TIA!
    cesarpixel

    although I was looking for something simpler.
    Compared to what you describe, my use of GarageBand sounds "simpler."
    GarageBand is part of iLife, so it is meant to be easy to use, unlike big brother Logic.  Furthermore, I am using it in a very limited way. When recording, I just set up ONE track, which is pretty easy. 
    GB records at the best possible quality, up to 24-bit.  I used 16-bit because my source was analog tapes and records, and I did not think it would make the final result any better.  The GB project file serves as my "master copy" for future enhancement.
    The best part is editing the full recording of the entire tape/record, into individual songs, then exporting them to iTunes as 256 kbps AAC (or MP3) files, all within GarageBand.  A few of my records had skips, and I was able to edit them out by overlapping two tracks with the same portion of music, and carefully eliminating the skip at the transition between the two tracks.  Also, because the source is analog, there is noticeable background hiss when the music level is low.  It is particularly noticeable at the end of songs that fade out.  To make the hiss fade out along with the music, I gradually adjusted the master volume level downward to zero starting when the music level became low enough for the hiss to be noticeable.  That made the hiss fade out, which helped "hide" it.

  • Bit depth of MSI MEGA Stick 511 - 512 Lite, 512MB USB2.0, voice recorder

    Hi,
    Does anyone know at what bit depth the above, product records at?
    It's not in the specs or the manual. I haven't bought one (yet) but I downloaded the manual.
    Also, has anyone recorded anything with one of these though the internal or an external mic? Does it sound ok?
    thanks,
    aengus

    sure...
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 005: ID 0cf3:3005 Atheros Communications, Inc.
    Bus 001 Device 004: ID 0c45:6484 Microdia
    Bus 002 Device 003: ID 138a:0011 Validity Sensors, Inc.
    Bus 002 Device 004: ID 0bda:0138 Realtek Semiconductor Corp.
    Bus 002 Device 005: ID 0fce:2149 Sony Ericsson Mobile Communications AB Xperia X8 (debug)

  • Showing alert when one record is selected more than once

    Hi,
    i have two tables in a jsp page.one tables displays records from the database with checkbox.when i select the checkboxes and click a button it displays the selected records in a tabular form in the next table.now i need to show a alert when one record from the first table is selected more than one time. what to do, suggest with example

    Didn't you ask this question yesterday????
    Stop being lazy and read the responses you got yesterday...

  • Audigy 2 ZS 24/96 ASIO Recording

    INTRODUCTION
    Is Audigy 2 ZS capable of 24/96 asio recording? Yes, it is. You will have analog mix (line in) and vst soft synths available for recording, listening and export as audio mixdown. The sound is crystal clear and you'll have a fine 24 bits and 96 khz song. If you want to have real professional recording you should have a soundcard with professional DACs and so you should consider buying an EMU card.
    HOW TO DO IT? I'll use Cubase Sx 1.0.5 as reference. The names may differ but the main process is similar for newer versions of Cubase.
    Open Cubase SX and under Devices - Devices Setup - VST Multitrack choose SB Audigy 2 ZS 24/96 as your Asio Driver. Untick "Release ASIO Driver in Background" and "Direct Monitoring", select a useful latency in Control Panel (less than 10 ms is good), hit Ok, Apply and Ok again.
    Open a new project (empty) and under Devices - VST Inputs activate only Analog Mix (remap if asked). You're almost ready to rock.
    AUDIO
    Add an audio track (mono or stereo) and select your input (analog mix).
    Now, check your Creative Mixer inputs: you must have Line In unmuted (and at 58% for best sound quality) and you must select Analog Mix at 50% (0 db) in your Rec slider. Check your Audio track in Cubase if you have monitoring signal. You can activate the track monitoring button for listening to any Vst Effects that you want to apply in your track (like reverb, delay...). Arm your track for recording and hit the record button (or * tab) and you'll have your sound recorded (guitar, voice...).
    VST SYNTHS
    Add a midi track, select your VST instrument (under Devices) and, in your midi track, choose I/O Midi SB Audigy 2 ZS as your Midi In and your VST Instrument as your Midi Out. Don't forget to enable Midi Thru Active under File - Preferences to have sound in your midi track.
    After recording your song you can export your audio mixdown and you're done. Export it as Stereo Interleaved and include Automation and Effects.
    SOUNDFONTS
    You'll not be able to record them to audio, or listening to them when you export your audio mixdown.
    VERIFYING RATES
    Open your Creative Media Player and open any audio file you've record in Cubase (you''l have it in your Cubase project folder) and you'll see that it's a native 24/96 audio file.
    Hope this will help everyone who wants to make good homerecording, without having to spend a lot of money in a professional board.
    Message Edited by gemada on 11-04-2005 10:26 PM

    Darkk_Nights wrote:
    Thanks Jutapa!
    I thought the file format were automatically set to 24-bit when the ' SB Audigy 2 ZS 24/96' ASIO driver is choosen. How can I set it to 24-bit?
    And another question: why do you said that none of the Audigy series cards are good with 16-bit/44.1 kHz quality? In fact, what would be the difference between a recording made with an Audigy and with some others professional audio cards?
    Again, thanks a lot!!!
    Cubase SX --> Recording bit depth and SR can be set on Project settings.
    1st, Creative Soundblaster cards are not pro cards but just consumer cards, intented for multimedia and gaming use. Creative pro cards comes from EMU brand. This information comes from Creative web pages.
    Read this Creative Audigy2 ZS Sound Card Review : http://www.digit-life.com/articles2/creative-audigy2-zs/index.html
    Then read couple of US$150 more Pro card reviews
    - http://www.digit-life.com/articles2/esi-julia/index.html
    - http://www.digit-life.com/articles2/audiotrakmaya44mkii/index.html
    Then read couple Pro audio interface reviews
    - http://www.digit-life.com/articles2/lynxtwo/index.html
    - http://www.digit-life.com/articles2/multimedia/esi-maxioxd.html
    Do you now see some of the differences?
    jutapa

  • Audigy 4, difficulty with 24/96 ASIO recording

    I just purchased an Audigy 4 (SB0610, not Pro) with the intention of using it fir 24-bit recording with n-Track Studio (24-bit). When I'm in n-Track and select the Audigy 4 24/96 ASIO [D000] drivers, I can only get input from the left side of the line-in. Furthermore, when I make certain changes to audio settings in n-Track, I will lose even that input until I use the surround mixer to disable / re-enable the line input.
    Is this *supposed* to work? Or am I barking up an incorrect tree?
    The WDM driver does work and give me both left and right channels, but I'd like to use the ASIO driver if possible to reduce latency.
    So far, I've tried changing my recording source in the mixer. I've tried disabling all loaded programs and unnecessary system services (via msconfig) and I use the auto update feature to update the Creative drivers. The update process itself was a little wierd because it didn't install the Audigy 4 drivers (only the audio console app) until I dug in to the installed programs and ran the driver installation manually.
    It seems that if I change my speaker configuration to anything less than 5.1 (2.0, 2.1 etc), then I lose even the left channel. 6.1 and 7.1 give me the same results as 5.1, only left channel and no right.
    I've also disabled non-essential system hardware to free up IRQs. I've even replaced the motherboard with an identical model (I found I had bad caps.)
    Anyway, I can't seem to get the 24/96 ASIO under control. I also seems unstable as it will trap n-Track from time to time.
    The mobo is EpoX 8KHA+, AMD Athlon 1900+, Windows XP SP 2.
    Thank you greatly for any help!!!!!!!!

    Thank you very much for the reply. The relevent parts seem to be:
    (Note that in 24 bit 96KHz mode the inputs are limited to the analog input pairs.)
    I'm in 24/96 mode because I picked the 24/96 ASIO driver for both recording and playback in n-Track Audio Devices, correct?
    After selecting that driver, I tried to select a sample rate of 96000 in n-Track, but no radio button was selectable. I assume that's because the driver is determining the sample rate, correct?
    • ASIO inputs 1 and 2 come from the Sound Blaster Audigy 2 eX Drive Line In 2 stereo input;
    !! My NOTE: AnalogMix(Line-In/Aux-In/analog CDAudio/PC (W-U-H)/TAD/...)
    In the n-Track settings, I only have one selectable input "SB Audigy 4 ASIO [D000]." Is it safe to assume that this represents the "AnalogMix" of all those physical inputs? If so, them I'm doing the right thing and I still don't know what's wrong. (BTW, what's W-U-H?)
    This also may be relevent:
    • ASIO inputs 15 and 16 come from the Sound Blaster Audigy 2 eX Drive Line In 1/Mic In stereo input;
    • ASIO inputs 17 and 18 come from the Sound Blaster Audigy 2 eX Drive Line In 3 stereo input;
    Are these the "analog input pairs" you referred to above? If so, are "Line in 1" and "Line in 3" the left and right channels on the blue connector on the back of my card? It seems kinda hokey to split a stereo signal across two ASIO channels, one of which is not selectable.
    I'm not getting it yet. A block diagram would be very handy. Please help me understand.
    Thanks again.

  • How is actual bit depth measured

    I am analyzing some recordings I made in 24-bit format in Audacity.  Audacity can record true 24-bit integer files which Audition 3.0.1 recognizes as such.
    After checking a couple of the files in Audition 3.0.1, I found that the meaning of "Actual bit depth" in the amplitude statistics is not entirely clear.  It does seem to be based on the maximum peak in the file, but the bit estimate does not seem too clear.
    For example, in one of the files if I select any portion that includes the highest peak and get amplitude statistics, the actual bit depth reported is 24.  Example of a short selection that includes the peak:
    Mono
    Min Sample Value:    -22003
    Max Sample Value:    26329
    Peak Amplitude:    -1.9 dB
    Possibly Clipped:    0
    DC Offset:    -.003
    Minimum RMS Power:    -44.45 dB
    Maximum RMS Power:    -17.58 dB
    Average RMS Power:    -30.18 dB
    Total RMS Power:    -25.98 dB
    Actual Bit Depth:    24 Bits
    Using RMS Window of 50 ms
    However, as far as I can tell, any selection in the same file that does not inlude the highest peak (but may include nearby close peaks) results in actual bit depth of 16:
    Mono
    Min Sample Value:    -20082
    Max Sample Value:    22172
    Peak Amplitude:    -3.39 dB
    Possibly Clipped:    0
    DC Offset:    -.001
    Minimum RMS Power:    -54.14 dB
    Maximum RMS Power:    -19.96 dB
    Average RMS Power:    -36.26 dB
    Total RMS Power:    -32.95 dB
    Actual Bit Depth:    16 Bits
    Using RMS Window of 50 ms
    So it is unclear what level of peak amplitude distinguishes between 24- and 16-bit actual depth.  If the bit-depth analysis is based on most-significant bits being zero, I would think that the trigger for identifying 16-bit actual depth in a 24-bit file would be to find that the 8 most-significant bits of the 24-bit samples are zero for all samples in the selection.  So for a 24-bit integer file to have actual bit depth of 16 bits for a slection, the greatest peak would be less than -48 dBFS.  But in the example above, the distinction seems to be having a peak amplitidue around -3.4 dB versus -1.9 dB.

    >what actual difference does it make to anything?
    Hard to say what difference it makes to anything without knowing what "actual bit depth" actually measures.  It could be important, or could be useless.  In the past I have not paid much attention to it because it is poorly described.  It recently came to my attention because the files from a recent recording in 24-bit integer format were all reported as 16-bit "actual" bit depth.  This is in contrast to some previous recordings made in the same way which were identified as 24-bit "actual".  This implies there might be something different in the data formatting, the communication between the software and driver, between the driver and card, or something else.
    It is a bit surprising that no one got Synt. to explain it properly.
    >Oh, and the other thing about 24-bit int files is that they can lead you into a very false sense of security. If you decided, for instance, to reduce the amplitude of one by 48dB, then save it, and then decide to increase it again by that 48dB, you'd end up with a 24-bit file with just 16 bits of resolution - simply because it's an integer file. If you did the same thing with Audition's 32-bit floating point system, you'd lose no resolution at all.
    In my workflow that produces original recordings in a 24-bit integer file format, the format is an efficient way of storing 24-bit integer data from a 24-bit card.  Processing is another matter.  I use the Audition preference to convert files automatically to 32-bit when opening.

  • Maximum audio sample rate and bit depth question

    Anyone worked out what the maximum sample rates and bit depths AppleTV can output are?
    I'm digitising some old LPs and while I suspect I can get away with 48kHz sample rate and 16 bit depth, I'm not sure about 96kHz sample rate or 24bit resolution.
    If I import recordings as AIFFs or WAVs to iTunes it shows the recording parameters in iTunes, but my old Yamaha processor which accepts PCM doesn't show the source data values, though I know it can handle 96kHz 24bit from DVD audio.
    It takes no more time recording at any available sample rates or bit depths, so I might as well maximise an album's recording quality for archiving to DVD/posterity as I only want to do each LP once!
    If AppleTV downsamples however there wouldn't be much point streaming higher rates.
    I wonder how many people out there stream uncompressed audio to AppleTV? With external drives which will hold several hundred uncompressed CD albums is there any good reason not to these days when you are playing back via your hi-fi? (I confess most of my music is in MP3 format just because i haven't got round to ripping again uncompressed for AppleTV).
    No doubt there'll be a deluge of comments saying that recording LPs at high quality settings is a waste of time, but some of us still prefer the sound of vinyl over CD...
    AC

    I guess the answer to this question relies on someone having an external digital amp/decoder/processor that can display the source sample rate and bit depth during playback, together with some suitable 'demo' files.
    AC

  • Save required when adding record to avoid multiple record entries@same time

    Hello, just wondering if anyone would be so kind as to help me out. I have a small problem that when a user is adding records to my form I want them to add one, then if they go on to add another at the same time (before commiting the first one) that they will be shown a prompt Which states something along the lines of "Before you add another record you must first save the first record, do you wish to do so" , yes will then commit the first record and allow the user to enter the second record, whilst cancel will not allow a second record to be entered.
    If anyone would helpout i would be very grateful.

    Hi
    Here is my suggestion, the idea is to use a global variable to memorize the fact that a record has been created :
    KEY-CREREC
    begin
              if :GLOBAL.<BLOCK-NAME>RECORDCREATED = 'FALSE' then
                   create_record;
                   :GLOBAL.<BLOCK-NAME>RECORDCREATED := 'TRUE';
              else
                   message('Commit or delete before inserting a new record');
                   message('Commit or delete before inserting a new record');
              end if;
    end;
    =====================================================================
    KEY-DELREC
    begin
         if :system.record_status in ('NEW','INSERT') then
              :GLOBAL.<BLOCK-NAME>RECORDCREATED := 'FALSE';
         end if;
         delete_record;
    end;
    ====================================================================
    KEY-COMMIT
    begin
         commit_form;
         :GLOBAL.<BLOCK-NAME>RECORDCREATED := 'FALSE';
    end;
    ====================================================================
    POST-SELECT
    :GLOBAL.<BLOCK-NAME>RECORDCREATED := 'FALSE';
    ====================================================================
    It's a bit more complicated if you allow the user to go beyond the last record for creating a new record, as KEY-CREREC and KEY-DELREC are not triggered.
    In this case, my suggestion is the following :
    KEY-CREREC
    begin
              if :GLOBAL.<BLOCK-NAME>RECORDCREATED = 'FALSE' then
                   if :system.last_record = 'TRUE'then
                        next_record;
                   else
                        create_record;
                        :GLOBAL.<BLOCK-NAME>RECORDCREATED := 'TRUE';
                   end if;
              else
                   message('Commit or delete before inserting a new record');
                   message('Commit or delete before inserting a new record');
              end if;
    end;
    ===============================================================
    WHEN-NEW-RECORD-INSTANCE
    begin
         if :system.mode = 'NORMAL' then
              if :system.record_status = 'NEW' and :system.last_record = 'TRUE' then
                   if :GLOBAL.<BLOCK-NAME>RECORDCREATED = 'TRUE' then
                        message('Commit or delete before inserting a new record');
                        message('Commit or delete before inserting a new record');
                        delete_record;
                   end if;
              end if;
         end if;
    end;
    ================================================================
    KEY-DELREC
    begin
         if :system.record_status in ('NEW','INSERT') then
              :GLOBAL.<BLOCK-NAME>RECORDCREATED := 'FALSE';
         end if;
         delete_record;
    end;
    =================================================================
    KEY-COMMIT
    begin
         commit_form;
         :GLOBAL.<BLOCK-NAME>RECORDCREATED := 'FALSE';
    end;
    ===============================================================
    WHEN-VALIDATE-RECORD
    begin
         if :system.record_status = 'INSERT' and :system.last_record = 'TRUE' then
              :GLOBAL.<BLOCK-NAME>RECORDCREATED := 'TRUE';
         end if;
    end;
    ==================================================================
    POST-SELECT
    :GLOBAL.<BLOCK-NAME>RECORDCREATED := 'FALSE';
    ================================================================

Maybe you are looking for

  • Is there any way to re-instate an email sub accoun...

    Yesterday one of my email sub-accounts was compromised and 'deleted' from the yahoo mail server. The BT Techs suggested that I delete the reference to the sub-account on my 'Account' management page so that I could then re-instate the sub-account aft

  • How to stop IE from displaying alt text as tool tip when mouse over image.

    I have random images being [B]echo[/B] by a PHP script on a page. [CODE]<img src="<?php echo $randomImage; ?>" alt="This is alt text" />[/CODE] The problem is every time you scroll over the image, IE spits out the alt text. I understand the alt text

  • DATA BASE TABLE AND INTERNAL TABLE

    Dear Friends, please help me out in getting complete information about database table and internal table. you can email me at < Removed by moderator - please maintain e-mail iDs in Business Card> Message was edited by:         Arun Varadarajan

  • Title safe different from dvd player to computer DVD player

    I have a title problem where I have a screen divided into three sections. I have a title on the top right that needs to be centered in own space . I have marked where a set top dvd player cuts the video off, a little more than action safe. I centered

  • Data guard-- very slow replication.

    Hi Experts, I am facing problem in an Oracle 10G R1 data guard implementation running on Solaris 10 64bit platform. The primary database site has got 2 Sun servers running on RAC while the parallel standby site has got exactly the same hardware. A LO