Result attribute's recordcount and identitycol returning values but row not inserted

This works in developement and test but does not work on live system-problem is only there.
When trying to insert a record, the result attribute of cfquery returns a 1 and the identitycol attribute seems to increment right but no record is inserted.
Any help would be really appreciated.

The problem's over, someone else's program was deleting them.
Since I started using result.recordcount, I'm not checking anymore. Before using it, I had a query look for the newly inserted record.
Should I put that back in?

Similar Messages

  • Data Services Designer - Function returns value, but doesnt always populate

    Within my Query Transform I call a function that I pass a old Vendor code to a sql statement and it does a few lookups and cross references it returns a new value. My issue is sometime it doesnt put the value in the field. I know it has returned a value as I had the funtion print it out for me, so I can see the value that was passed and the returning value, but when I look in my table there is no value.
    I have added the function call for you to see it is very simple takes one parameter, I have also added the print out from my function, does anyone have any ideas??
    (This is under the field Vendor Code)
    P2CMM05_Look_UP_Vendor_Code(Query.LIFNR)
    6088     4800     PRINTFN     6/28/2011 9:27:48 AM     @@@@@@@@@@@ Ret_Vendor_code @@@@@@@@@@@   MCI_719
    6088     4800     PRINTFN     6/28/2011 9:27:48 AM     @@@@@@@@@@@ $Vendor_code @@@@@@@@@@@    MUR_51

    Within my Query Transform I call a function that I pass a old Vendor code to a sql statement and it does a few lookups and cross references it returns a new value. My issue is sometime it doesnt put the value in the field. I know it has returned a value as I had the funtion print it out for me, so I can see the value that was passed and the returning value, but when I look in my table there is no value.
    I have added the function call for you to see it is very simple takes one parameter, I have also added the print out from my function, does anyone have any ideas??
    (This is under the field Vendor Code)
    P2CMM05_Look_UP_Vendor_Code(Query.LIFNR)
    6088     4800     PRINTFN     6/28/2011 9:27:48 AM     @@@@@@@@@@@ $Vendor_code @@@@@@@@@@@    MUR_51
    6088     4800     PRINTFN     6/28/2011 9:27:48 AM     @@@@@@@@@@@ Ret_Vendor_code @@@@@@@@@@@   MCI_719

  • LOV query is invalid, a display and a return value are needed

    hello - i am having this issue and can't get around this when creating a popup LOV based on sql.
    below is LOV query. as you see the view has only two columns. I tried various ways by giving alias to columns in query but nothing works. What did I miss here?
    select description,inventory_item_id from xx_apex_inv_v
    1 error has occurred
    LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query.

    Did you try it like this?
    select description d, inventory_item_id v from xx_apex_inv_v

  • Select List with Submit : a display and a return value are needed...error

    Hi,
    Why the next SELECT returns error in Select list with submit ?
    List of values definition:
    SELECT b.nom nom_bannniere,
    b.no_banniere no_bann
    FROM banniere@my_source b
    WHERE b.statut = 0
    ORDER BY nom_bannniere;
    1 error has occurred
    * LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query.

    gfrancoeur,
    Try this SQL:
    SELECT b.nom d,
    b.no_banniere r
    FROM banniere@my_source b
    WHERE b.statut = 0
    ORDER BY 1Thanks,
    - Scott -

  • Return Values to Block from Insert Procedure

    I have a block with an insert operation performed by a procedure. The insert is working fine.
    However, I was assuming that within the procedure I could modify a value in the record (prior to the insert) and then that new value would be returned to the item in the form so the user can see it. (The procedure allocates a unique reference number from a sequence and I would like to display it back on the screen in the reference number field.)
    Can anyone help or suggest an alternative?
    Thanks
    Lisa Davies
    Durban, South Africa

    I have a block with an insert operation performed by
    a procedure. The insert is working fine.
    However, I was assuming that within the procedure I
    could modify a value in the record (prior to the
    insert) and then that new value would be returned to
    the item in the form so the user can see it. (The
    procedure allocates a unique reference number from a
    sequence and I would like to display it back on the
    screen in the reference number field.)It is really disappointing to me that Oracle cannot handle this simple need by specifying DML Return Value using built-in inserting/updating.
    I had to write a post-insert trigger in the forms to update the field in the data_block with the value generated by the DB-side pre-insert trigger.

  • Recently did upgrade from OS 10.6.8 and to Mainstage 2.2.2 and have lost lights on my Gio pedal only in Mainstage - still have them with Logic.  Tried holding button and replugging USB cable, but did not fix it.

    Recently did upgrade from OS 10.6.8 and to Mainstage 2.2.2 and have lost lights on my Gio pedal only in Mainstage - still have them with Logic.  Tried holding button and replugging USB cable, but did not fix it.

    Hi
    Chamie7 wrote:
    Recently did upgrade from OS 10.6.8 and to Mainstage 2.2.2 and have lost lights on my Gio pedal only in Mainstage - still have them with Logic. 
    I presume that you mean that the switches do not light up as appropriate when you select a Patch in MS?
    If so, in Layout Mode, select each of the buttons in turn, and check that they are a) Assigned to the correct MIDI CC number etc, and b) that "Send Value to" has the correct Port selected.
    CCT

  • Setup problem, windows xp, firefox upgrade to 4 and asked to reboot but did not progress. keeps asking to restart even if I try to remove

    setup problem, windows xp, firefox upgrade to 4 and asked to reboot but did not progress. keeps asking to restart even if I try to remove

    Hi marsano,
    Usually the only reason it will ask you to reboot is if there is a file that must be modified that the updater doesn't currently have access to. You should try running the Firefox program once as Administrator:
    * Right-click the icon and choose ''Run as Administrator''
    If that doesn't help then do a clean reinstall.
    # Download a fresh copy of Firefox from the [http://www.mozilla.org/firefox/fx/ Mozilla download page] and save the file to the desktop.
    # [[Uninstalling Firefox|Uninstall]] your current version of Firefox and remove the Firefox program folder before running the new installer.
    # Run installer
    Remember that you don't want to remove personal data when uninstalling. That way you'll still have your personal information.
    Hopefully this helps!

  • My 160GB ipod classic stopped whilst playing music and will not turn back on despite having almost a full battery. I have tried connecting to itunes and a docking station but will not turn on at all - HELP?!

    My 160GB ipod classic stopped whilst playing music and will not turn back on despite having almost a full battery. I have tried connecting to itunes and a docking station but will not turn on at all - HELP?!
    I've had this from new for 2 years, the battery life is excellent and lasts for days so I know it's not a power issue as it was fully charged that morning. No signs of connection in itunes, it's not showing as a connected device.
    Can anyone please help?

    Hi gscoops,
    Welcome to Apple Support Communities.
    You may find the steps in our iPod Troubleshooting Assistant helpful:
    http://www.apple.com/support/ipod/five_rs/classic/
    Best,
    Jeremy

  • My i phone 4 is water damaged and it is working but network not shown so please help me

    my i phone 4 is water damaged and it is working but network not shown so please help me

    A replacement iPhone is usually a refurbished iPhone that has received new battery and case and repair of anything that may have been faulty.  The refurbished iPhone is indistinguishable from a new iPhone.  A number of the regulars on here prefer the refurbished Aplle products because they have been so thoroughly tested.
    A replacement iPhone is identical to the original, same color, capacity, and so on.

  • I just upgraded to the New OS on my Mac Book Pro and now my trackpad does not zoom in or out.  I looked at system settings on trackpad and it is set, but does not work How do I get it started?

    I just upgraded to the New OS on my Mac Book Pro and now my trackpad does not zoom in or out.  I looked at system settings on trackpad and it is set, but does not work How do I get it started?

    This is really unfortunate. I'm sorry that nothing works. I was going to mention holding down the power button and doing a force shutdown but you already did that. You might need to take it into the Apple store. I don't know if booting into safe mode would help. You would have to turn off the machine again, hit the start button and hold down the shift key after you hear the tone, but normally you would let go of the shift key when you see the apple logo and spining wheel. Maybe by holding down the shift key after you here the tone will cause the screen to come back on? The other option is to start up from the 'install disk' if your machine came with one. You would insert the disk, then shut down the computer, and hold down the C key right after hitting the start button.
    Here's the link for the safeboot
    http://support.apple.com/kb/HT1564?viewlocale=nl_nl

  • My phone died last night and when I plugged it in it wouldn't turn on.I tried restarting it but it has yet to turn on since last night,It was just a black screen,i try the on/off and home buttons together but its not working,What should I do?

    My phone died last night and when I plugged it in it wouldn't turn on.I tried restarting it but it has yet to turn on since last night,It was just a black screen,i try the on/off and home buttons together but its not working,What should I do?

    How long have you had your phone? Because if you've had it a long time, the battery in the phone might of died on you. Or have you dropped it in water, snow, from high up? All those things could of disconnected something internally in your phone, or permentaly damaged the internal hard drive its self, or the sims card.

  • My vreative cloud downloaded and so did PS but now its saying there is an error...update failed and im retrying it but its not working what do i  do?

    my creative cloud downloaded and so did PS but now its saying there is an error...update failed and im retrying it but its not working what do i  do?

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If you've already tried a complete uninstall and reinstall try opening iTunes in safe mode (hold down CTRL+SHIFT as you start iTunes) then going to Edit > Preferences > Storeand turning off Show iTunes in the Cloud purchases. You may find iTunes will now start normally.
    tt2

  • Hi,  Trying to log in with my user id and password at iocbc but was not able to access. Problem message shown : Applet not initialised or may not be supported. Please refresh the page or check the browser setting  Anyone can advise? or i need to download?

    Hi,
    i have the same problem?
    Trying to log in with my user id and password at iocbc but was not able to access.
    Problem message shown : Applet not initialised or may not be supported. Please refresh the page or check the browser setting
    Anyone can advise?

    You need to install Java for your Mac OS version, and/or make sure it's enabled in the Java Preferences application and your browser's preferences.

  • I have iphone 4s 32GB ,the volume of the ringer and alerts can't be adjusted using the volume buttons and lock sounds and keyboard clicks available, but all not appear ??!!!!!!!

    I have iphone 4s 32GB ,the volume of the ringer and alerts can't be adjusted using the volume buttons and lock sounds and keyboard clicks available, but all not appear ??!!!!!!!

    Hi nitramred,
    To start troubleshooting this issue where you are unable to adjust the volume after receiving a call, please go ahead and first force close all of the apps currently running on the device, and then reset it by following the steps in the articles below.
    iOS: Force an app to close
    Turn your iOS device off and on (restart) and reset
    Take care,
    Alex H.

  • HT201412 My 4s is not picking up phone signal I do not no how to sort this out I have tried resetting it and its not working still I do receive messages and can send them but can not call as it just says call fail

    My 4s is not picking up phone signal I do not no how to sort this out I have tried resetting it and its not working still I do receive messages and can send them but can not call as it just says call fail

    Try resseting the network settings in settings>general then go to reset a the bottom.
    Then reset NETWORK settings.

Maybe you are looking for

  • How to get average stock in the inventory management cube?

    Dear all, I need to get average stock for a month. For example: stock on May 1st is 30kg,  stock on May 2nd is 20kg,etc. I need to add these everyday stock together and divided by the days of the month. Now I have a non-cumulative key figure with inf

  • Slideshow as a background .. zooming on images

    hi @ all .. i'm making my website of wedding photography and i am still trying to create a beautyful background with some of my wedding photos .. the style i wanted to have was a slideshow of some of the pictures with a smooth and nice change between

  • Compressor Audio plug-ins (can you add third party audio plug-ins?)

    Compressor Audio plug-ins Can you add third party audio plug-ins? Just need a simple audio compressing/mastering solution for a lot of non-technically minded producers. So trying to avoid using soundtrack. cheers steve

  • Can't see my app

    Can't see my app. Need Dragon Dictate as I've just had brain damage - downloaded app but can't find it. Any hel appreciated

  • Need Webservice syntax

    Hi experts, this is sri, I am going to create web service which is going to deal with database(ie) using webservice ,i am going to insert, update and retrieve records. i have done Proof of Concept using webservice which deals with database. I just wa