Forms advice

Hi guys, just looking for abit of advice, i currently have a datablock which consists of database items. Now, as well as the database items there is also non database items which are for display purposes only, however they need to be populated when a query is run from the master block. What i have done is created a cursor which takes in a paramater from a database item and then runs a query against another table in the database using the parameter passed in in the where clause. this gets me 3 fields of data which i display on my form, however to get these to display after a query is executed from the master block I put them on the post change trigger of the database item which will have the parameter used in the where clause. Does this sound like a suitable place to call this procedure or would i be better calling it in another trigger?
Thanks.

Put it in the post-query trigger. Post-change is there only for backward compatibility.

Similar Messages

  • OT: Login Form Advice

    I found a really cool registration form plugin @ http://jqueryvalidation.org/files/demo/milk/ and figured out how to connect it to a database. Then I started searching for a login form tutorial. It was kind of tricky because most tutorials are pre-PDO; in other words, they only work with MySQL queries that have been upgraded to PDO.
    But I finally found a good example at Basic Login Authentication with PHP and MySQL
    I got it up and running, but there's a catch - it won't work with my registration form. If I type in my_username, my_password in my registration form, those two values are published to the database. But the login form apparently works only with values that have been added via an attached add_user page. If you type in those same values, my_username is published to the database table, but my_password is replaced by some insanely long code, like this: 5c4ed510fef54a63a2211ca47d5c82736de69418
    You can then login by typing in my_username and my_password, even though my_password isn't stored in the database table. I think this code at the head of one of my files explains it all:
    session_start();
    /*** set a form token ***/
    $form_token = md5( uniqid('auth', true) );
    /*** set the session form token ***/
    $_SESSION['form_token'] = $form_token;
    So here's my question: Should I try to figure out how to delete all this $form_token/md5 stuff so it will work with my jQuery registration form, or should I try to modify my cool registration form so it replaces passwords with form_token's? To put it another way, is this a standard security feature I should hang on to?
    One problem is that, if a user loses their username, I won't be able to send them a reminder if no usernames are stored in the database table. All I do is send them some insanely long code and tell them to figure it out.
    Thanks.

    I haven't gone through the whole article, but enough to know that a human readable password gets coded using md5 coding as in
    $form_token = md5( uniqid('auth', true) );
    This provides extra security in case someone manages to get into the database to retrieve the usernames and related passwords.
    The idea is that a user enters his/her credentials and the coded version of the password is compared to the database entry. If they match, then bingo! There is no way of deciphering the code to extract the human version; if the coded version is entered, it will not match the database entry.
    It is up to you if you want to delete the md5 coding.

  • Search form advice

    I have a search form that contains 5 drop-down menus.
    I want users to be able to search by any combination of these
    drop-down menus.
    For example, users might only want to search using drop-down
    menus #1 and #4, so I don't want anything from the other drop-down
    menus to be entered as search parameters.
    Can anyone suggest an approach to achieve this?
    I was thinking of including checkboxes next to each
    drop-menu. If the checkbox is checked, then that drop-down menu
    parameter is included in the search. I'm not quite sure how to go
    about coding this, though, and I'm not sure if this is the right
    approach.
    Thank you for any suggestions!

    Hi everybody,
    Thank you for helping me with this. The search form and query
    below enable the user to search by any combination of parameters
    based on their selections in the drop-down menus.
    I had 5 parameters, so things were getting a little out of
    control with the cfif statements. A friend suggested that I use '%'
    instead, since % is a wildcard and matches everything.
    In the query below, I replaced "=" with "like" to accommodate
    the usage of %.
    Does it make sense to use %? I'm wondering if this might
    cause any problems for one reason or another. So far, the search
    form is working exactly as intended, and it avoids using many cfif
    statements.
    Thank you,
    Luke
    Here is the search form, which references different queries
    to populate the drop-down menus. "%" is entered for the "Do not
    search by..." option.
    <form action="search_action.cfm" method="post">
    <br><br>
    Location:
    <select name="locationID">
    <option value="%">Do not search by
    location</option>
    <cfoutput query="getlocs">
    <option
    value="#getlocs.locationid#">#location#</option>
    </cfoutput>
    </select>
    <br><br>
    Cohort:
    <select name="cohortID">
    <option value="%">Do not search by
    cohort</option>
    <cfoutput query="getcoh">
    <option
    value="#getcoh.cohortid#">#cohortname#</option>
    </cfoutput>
    </select>
    <br><br>
    Category:
    <select name="categoryID">
    <option value="%">Do not search by
    category</option>
    <cfoutput query="getcats">
    <option
    value="#getcats.categoryid#">#category#</option>
    </cfoutput>
    </select>
    <br><br>
    Theme:
    <select name="themeID">
    <option value="%">Do not search by theme</option>
    <cfoutput query="getthemes">
    <option
    value="#getthemes.themeid#">#theme#</option>
    </cfoutput>
    </select>
    <br><br>
    Subtheme:
    <select name="subthemeID">
    <option value="%">Do not search by
    subtheme</option>
    <cfoutput query="getsubs">
    <option
    value="#getsubs.subthemeid#">#subtheme#</option>
    </cfoutput>
    </select>
    <br><br>
    <!-- reset button -->
    <INPUT TYPE="Reset" NAME="ResetForm" VALUE="Clear
    Form">
    <!-- submit button -->
    <INPUT TYPE="Submit" NAME="SubmitForm" VALUE="Submit">
    </FORM>
    Here is the query:
    <CFQUERY NAME="query" DATASOURCE="datasource">
    SELECT *
    FROM quotes, cohorts, themes, categories, subthemes,
    locations
    Where cohorts.cohortid = quotes.frn_cohortid
    and themes.themeid = quotes.frn_themeid
    and locations.locationid = quotes.frn_locationid
    and categories.categoryid = quotes.frn_categoryid
    and subthemes.subthemeid = quotes.frn_subthemeid
    AND quotes.frn_CohortID like '#Form.CohortID#'
    AND quotes.frn_ThemeID like '#Form.ThemeID#'
    AND quotes.frn_locationID like '#Form.locationID#'
    AND quotes.frn_categoryID like '#Form.categoryID#'
    AND quotes.frn_subThemeID like '#Form.subThemeID#'
    </CFQUERY>

  • Trying to fill in a reservation form-no scroll bar and can't see whole page

    Hi,
    I've had this problem before with Thai Airways website and am having it again with a hotel reservation site. When the form opens, there is no scroll bar on the right side of the window. I can't scroll down to the rest of the form (tab key doesn't work either, nor do the arrow keys) so am unable to complete the form.
    advice?
    thanks,
    Laura

    thanks for this advice.
    I wrote to the company at indo.net--there is no webmaster listed that I could see, and you can't send them normal email (it bounces back), only through their online form, which fortunately did not require scrolling.
    I'm planning a trip to Indonesia to visit small hotels, and this website offers the best discounts I've found. I guess at some point I will give up and find a different way to book, but these are not places that would be listed on Travelocity or Expedia. Same with Thai, they don't list their best fares on the big travel sites.
    thanks,
    Laura

  • Premiere Elements 8 and crashes

    Question:  I have tried all the Adobe recommended fixes due to my NVidia graphics card but my project still regularly crashes and now as soon as it starts loading the elements, it crashes with no error message.
    System:  Windows 7 Professional (x64) (build 7600)
                   2.80 gighertz Intel Core i7 860
                   Multi-core (4 total)
                   Hyper-threaded (8 total)
                   64-bit ready
                   32 kb primary memory cache
                   8192 kb secondary memory cache
                   999.99 Gig Usable Hard Drive
                   748.24 Gig free space
                   Main circuit Board Gigabyte Technology P55M-UD2
                   Bus Clock: 133 MH
                   Bios: Award Software International F11 06/23/2010
                   4 Gig Memory; 2 Gig each in Slot A0 and A2
                    Single ATA Hard Drive     WDC WEd002FAEX-00Z3A0
                  NVIDIA GeForce 8400 GS Display Adapter with newest 64 bit driver 266.58
    Assets:   About 300 still images imported from an album in Photoshop elements shot with a Cannon Power Shot a570 IS
                  Stills are at 3072 x 2304 or vice version, RGB, 180 resolution
                  27 short video clips from a Kodak Zi6 converted to avi files by AVS Video Converter
    Project:  I believe the presets are for NTSC DV although I can't get in to check; they've been this way because I usually shoot video with my Sony VX 2100.
    Workflow:  I imported the stills in chronological order preceding the first video.  Then more stills in chronological order before the next relevant video.  I am using the timeline.  After each import I save, add transitions (mostly the cross dissolve), save, and render.  Sometimes after saving rendered files, the system crashes and when I get back in the files haven't been rendered.
         Some vertical stills it accepts just fine.  For some others, I have to rotate them.
    What I have done:  I read all the suggestions from Adobe and the forums for dealing with the NVIDIA card.  This is what I have done in the approximate order I have done it:
         1. Installed the 8.0.1 update
         2. Updted the NVIDIA GeForce 8400 GS driver to the newest 64 bit driver 266.58.  I tried to do this update a couple of times.  The sytem kept telling me the 260 driver was current but the NVIDIA website said to use the 266.58.  I finally got it installed but a little later in the process.
         3. I could not disable the Hardware Acceleration as the NVIDIA card would not let me...the option was grayed out.
         4. I set both the global and the Premiere Elements threaded optimination to off.
         5. I turned off "Enable GPU playback" at one time when I could still get into the program.
         6. I recreated the adobe premiere elments plugincache.
         7. I uninstalled the Nvidia 3D Stereo driver...it was called Stereo not steroscopic.  In the NVIDIA control panel I did not install the Stereoscopic functions.
         8.  I was still crashing frequently. I was getting the low memory message, so I searched the forums and found directions to change the size of the paging file by clicking Start/accessories/run as administrator/enter at the command prompt BCDEDIT/SET INCREASEUSERVA ####.  I started with 3072 then gradually increased as it wasn't helping up to 8000.
         9. I think I finally upgraded the driver to the 266.58 at this point.
        10.  This morning I found directions on how to check the size of the paging file by accessing the control panel.  It showed my paging file was only 4096 (I guess the former advice didn't work) and it changed it to a virtual memory minimum of 8000 and a maximum of 10000.
         Now I can't get into the program at all.  It says it has loaded 100%, then there is a 100 second pause.  It starts loading the media and crashes.
    I love Adobe products and was a former Adobe Premiere 6.5 user. Premiere Elements as described is perfect for me as a video hobbyist.  Please help!  I would welcome any more suggestions that I can try.  Do you think I should just find a replacement for the NVidia board?  If so, what would you recommend.  I tend to do long projects.  I just can't live with all these crashes.
    Sincerely,
    Tracy Matern
    [email protected]

    Tracy,
    Great job with the details - very well done!
    This should be a "poster-child" for how to state details, and a problem.
    Now, first thing that I see, regarding the crashes are the size of your still images. Overly-large stills require a ton of resources, and can crash the program, and/or the computer. Scaling of the stills to near the Frame Size of the Project will help greatly, and actually improve the quality of the output. This ARTICLE will give you tips.
    Next, with a 64-bit OS, like Win7-64, 4GB of RAM is about the minimum for just the OS. Though PrE cannot use more than the 3.5GB of RAM, as it is still a 32-bit app., but the OS and other programs, certainly can. I would bump that up, if at all possible. Your OS and any other programs, will love you for it.
    Off the top of my head, it sounds like you have got the video sub-system well handled, and would look beyond it (for now), to other factors.
    You might want to see this ARTICLE on setting up a computer for video-editing sessions, and especially the link to Black Viper's Win7 Tune Up Tips Web site.
    Also, check that you have the latest version of Apple's QT Player.
    If necessary, there are more troubleshooting tips, and I'll be glad to share those, if necessary.
    Thanks for the great post, and good luck,
    Hunt

  • Question on advice on timing of when to submit hands on submission form

    In [http://www.oracle.com/education/certification] support-faq's the question (accessed as of time of this post)
    Q. Do I need to complete all the tests in my certification path within a set period of time or in a specific order?+Has the follwing answer:
    Requirements for Oracle Certifications do not need to be completed in a specific order.
    It is recommended that a candidate complete the training prior to sitting for an exam, but it is not required.
    *The Course Submission Form should be completed after all other requirements have been met.*I cant recall if the FAQ has changed, but IMHO previous best practice was to submit Hands on course form immediately after qualifying hands on course was taken to minimize delay in time obtain success kit. Is the advice or requirement now different?
    Rgds - bigdelboy

    Certification Forum Moderator wrote:
    We used to restrict when the HOC form was submitted. We would not accept the form until all the other requirements were completed. We no longer have that restriction. Candidates can submit their HOC forms at any time after they have completed the course.I bet that means you keep the information in a database ;-)
    On a slightly more serious note - are there any plans to simply load Oracle University class rosters into the HOC system? If 'Oracle Certification ID'* is optionally allowed at eAttendance time, that should be a moderately simple integration, and would eliminate the HOC submission requirement for a large % of the candidates. Allowing 'you' to concentrate on 'alternate experience and verification thereof' mechanisms.
    * generic term for actor formerly knows as Prometric ID, or Pearson VUE ID or ...

  • In dev server my payment advice form f110_prenum_chc  is not working

    hi,
    friends i need urgent help.
    1) i have copied f110_avis_in frm 000 client to 200 client with form name
       z_prenum_dup.
    2) i have copied f110_prenum_chc frm 000 client to 200 client form name
      zf110_prenum_chc1.
    3) then i modified my both forms in 200 saved assigned TRs and
    transported frm DEV server to PRD server(client 700).
    4)in dev server 200 client my both forms are working
      but in prd server 700 client my form cheque z_prenum_dup is
      working but payment advice form zf110_prenum_chc1 is
    not working.
    5) but i can see my both forms r their in 700 prd server in se71 t.code.
    6) if i run f-58 tr.code and by switching on debug mode i can see my
       cheque form but not payment advice form.
    7) if i run in 200 client i can see my both forms.
    can any body plz help me out of this issue.

    Dear,
       I will be able to put some points, if you can give me some more idea about ur problem,
    1, Does system giving any error..?
    2, Can you see a preview..?
      As I understood, it must not have any problem in transportation.
      You can also check with Respective functional consultant whether he has done with required customization in NACE..?
      One more thing you can do is,
      open a program RSNAST00 and put break point at "  PERFORM (tnapr-ronam) IN PROGRAM (tnapr-pgnam) USING returncode", here you can check at runtime ( While in debugging mode) the value of field TNAPR-FONAM, this value must be your SmartForm.  If it is not the case then, there is problem with NACE settings and contact your functional counterpart.
    Hope it's helpful .......Enjoy.
    Regards,
    Chetan

  • URGENT- Need advice on executing scripts from Forms 6i

    Hi all,
    Quick background info:
    I'm working on a conversion project from Forms 4.5 client/server applications to a three tier, web based Forms 6i environment.
    We're running Oracle 8i DB on HP-UX machines, Oracle 9ias on HP-UX machines, and users access forms through Netscape
    on Win2000 platform.
    The problem:
    I have a SQL execution interface form from which users have been able to run dynamic SQL scripts w/o having direct access to
    a SQL Plus prompt (uses the 'HOST' command in 4.5). How can this functionality be implemented in the three tier environment?
    Unless other options are available, my plan is to use a Java servlet to access the 8i database on the UNIX box and display
    output on an html page. Is there a better/easier way?!
    Any advice is appreciated...
    FLM
    Paychex, Inc.

    Thanks for the response,
    I may be able to invoke the script from Forms using the HOST command, but how is the script output
    displayed back to the browser?
    FLM
    [email protected]
    You can probably still use the host to sqlplus, but this time it will run on the Forms Server.
    You just need to make sure that the dynamic SQL files are uniquly identified for each customer.

  • How to seperate vendor payment advice form/customer payment advice form?

    Hi all,
    i was wondering if you could create a seperate payment advice form for
    vendors
    and
    customers.
    I used transaction code SE71 to visualize forms. Examples of payment forms for each company code can be found in customization "allocate forms to paying company code".
    The challenge that you will have to take is to seperate the payment advice for vendors and the payment advice for customers.
    Is that possible in SAP? Or is the payment advice for vendors automatically the same for customers?
    What i want to make is the following:
    - payment advice for vendors
    - payment advice for customers
    (So i can make changes in accounting clerk, addres, etc...)
    Thanks in advance.
    Pamela.

    Hello Pamela,
    Payment Advice is normally unique for each Payment Method/Company Code.
    If a special treatment is required to differentiate between Customers & Vendors (Example - Special information, layout difference, special details) in the Payment Advice, you can always handle it with in the same SAP Script Form that you configure for the Payment Method/Company Code.
    Either the field KOART (Account Type) in REGUP enables you to differentiate between Customers & Vendors. Please let me know if you need some examples.
    Hope this info answers your question. Please reward.
    With Regards
    Vijay Gajavalli

  • Payment advice form for each payment method

    Hi,
    We have Check, RTGS and Bank Transfer payment methods in single company code, I have assigned different payment programs in OBVCU for payment methods C,R & T and seperate payment advice form to each payment methods in OBVU, and also I have maintained the varaints in F110 under printout tab, but still system by defualt picking the payment advice form of Check only, it is not considering payment advice forms per payment methods when i run print job.
    Does the by default picks the payment advice form per company code?
    It should be  possible to print the payment advice per payment method in single company code.
    Can someone help to achieve this....
    regards,
    Aman

    Hi
    Check this [article|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8054ff25-52b3-2d10-a5be-9f8b1147bcca?quicklink=index&overridelayout=true] by Ramanuja Chary Sripada. The idea is use the report RFFO* . Run it with SE38 and read the documentation (info icon). Set the flag for advices and run it.
    Regards
    Eduardo

  • Unwanted Extra page in payment advice form (F110_PRENUM_CHCK, RFFOUS_C)

    Hi,
    We are printing payment advice form along with the check using standard print program RFFOUS_C.
    But instead of using the standard form F110_PRENUM_CHCK we are using our own form. But when printing this form one extra page is coming with no data although all the line items are getting printed in the first page itself.
    Can anyone plz help me on how to avoid this additional blank page.
    And we have defined only one page with all necessary windows although there are 3 pages in the standard form F110_PRENUM_CHCK.

    Hi Nagendranatha,
    in the selection screen of RFFOUS_C, u can c multiple options,among them c the checkboxes that have been checked.. there r options for printing additional details,summary and things like that.. u may find something useful out there.. n also if u r using a variant in the program, just look out for the options that have been checked in the selection screen for this variant..
    hope it helps..

  • Remittance Advice Form

    Hi Experts,
    I want to develop one Remittance Advice form. So i want to know is there any standard form for Remittance advice.
    And also please let me know what is meant by "Remittance Advice".
    Thanks & Regards,
    Ramana

    Hello,
    Your form in the program should be like this.
    FORM GET_EBELN  TABLES i_inval  STRUCTURE itcsy
                        i_outval STRUCTURE itcsy.
    data: w_burks like t001-bukrs.
      READ TABLE i_inval with key = 'REGUP-BUKRS'.
    w_bukrs = i_inval-value.
    read all other data from the input table as above
    give back the values
        READ TABLE i_outval with key = 'ZEBELN'.
          out_tab-value = w_zebeln.
          MODIFY out_tab INDEX sy-tabix.
    endform
    regards,
    Naimesh

  • Form for payment advice in English

    Dear Gurus,
    I am trying to assign form for payment advice in FBZP. (in paying company code)
    I am using F110_US_AVIS
    Here after assigning the form, it is printing only in German language (original language)
    I have done the drop down and tried to select the english version but it is not selecting the englis version.
    (we have imported the  payment advice in english from client 000 and saved in my current client)
    Due to this the payment advice is not printing in English nor is E mail going in English.
    Pl suggest how I can get the form in English
    Regards,
    Rishikesh

    Hi,
    Already discussed. Please refer the link:
    printing payment advice note in local language other than english
    Thanks
    SMuvva

  • Payment advice - different forms according to payment method

    Hi,
    Would someone know if it's possible to have different payment advice according to the payment method?
    It seems that the payment advice is country dependent and has no link with the payment method.
    If I try to add a form in "next form" and I suppress the "form for the advice payment", I do not succeed in printing the form anymore.
    Does someone have any idea?

    Hello Ronan,
    Payment Program is normally configured for the combination of Payment Country and Payment Method.
    Payment Advise Note is configured for the combination of Company Code and Payment Method.
    So, you can have multiple Layouts for Paymeny Advices for different Payment Methods within the same Company Code.
    Hope this answers your query.
    With Regards
    Vijay Gajavalli

  • Reprinting PAYMENT ADVICE FORM

    How to Reprint Payment advice form apart from using
    T.code-F110, please tell me if there is any other alternative.

    HI Naveen,
       Check this out
    http://help.sap.com/saphelp_erp2005/helpdata/en/38/efdf3ae710c60ae10000000a114084/frameset.htm
    Regards,
    Santosh

Maybe you are looking for

  • Dynamic sql and cursors

    We are running an oracle sql procedure that uses a LOT of dynamic sql. We are using a 3rd party package (SQR) as a sort of shell to run the sql procedure. The 3rd party package passes to us an oracle error. This error says, in effect, that there are

  • Network browsing with Samba, Linux and Windows

    I'm having trouble with OSX 10.4.8 and a SMB network. My server is running Linux Debian, and exporting shares via Samba. I have a couple of XP boxes on the network, and they can see all the shares in the workgroup, and can mount them. However, from t

  • My iPhone 4S kept trying to reboot yesterday while in normal use.  Now it is telling me to connect to iTunes to restore but it will not restore, I get error code 4013.

    I have tried all of the suggestions in this forum, taken it to the Geek Squad and our local Apple Rep, I was even on the phone with Apple Support for 2 hours last night and we could not get my phone to reboot.  I am at a loss, any more suggestions?

  • Where/how can i find out what this is doing

    I know this old but not concerned with that, just what is it doing,  this is java script in an .asp that loads a flash application, I'm most concerned/interested why it references a clsid? what is the code base all about? (is this embedding code in t

  • Multiple time hierarchies in OWB

    Hello, Have anyone tried creating multiple time hierarchies in the same MOLAP time dimension in OWB? I tried creating calendar hierarchy first by the time wizard and fiscal hierarchy later by the editor in the same dimension. Deployment was OK and ca