How to choose fields that will be displayed on CFL?

Dear All,
How to choose fields that will be displayed on CFL?
Thank u

hi ,
please go through the following code
Case SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST
                Dim oDBs_Head As SAPbouiCOM.DBDataSource
                Dim rs As SAPbobsCOM.Recordset = objMain.objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                Dim rs1 As SAPbobsCOM.Recordset = objMain.objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                Dim oCFL As SAPbouiCOM.ChooseFromList
                Dim CFLEvent As SAPbouiCOM.IChooseFromListEvent = pVal
                Dim CFL_Id As String
                objForm = objMain.objApplication.Forms.Item(FormUID)
                oDBs_Head = objForm.DataSources.DBDataSources.Item("@ZAM_CO1")
                CFL_Id = CFLEvent.ChooseFromListUID
                oCFL = objForm.ChooseFromLists.Item(CFL_Id)
                Dim oDT As SAPbouiCOM.DataTable
                oDT = CFLEvent.SelectedObjects
               If oCFL.UniqueID = "CFL_3" Then
                        Try
                            oDBs_Head.SetValue("U_RStaff", 0, oDT.GetValue("firstName", 0) + " " + oDT.GetValue("lastName", 0))
                        Catch ex As Exception
                        End Try
                    End If
               If oCFL.UniqueID = "CFL_4" Then
                        Try
                            oDBs_Head.SetValue("U_App1", 0, oDT.GetValue("firstName", 0) + " " + oDT.GetValue("lastName", 0))
                        Catch ex As Exception
                        End Try
              End If

Similar Messages

  • Calculate the size(in bytes) that will be displayed to the console by command Write-Output

    Is there some way to check the size(in bytes) of the output that will be displayed to the console using Write-Output command. I want the console to display only the first 1024 bytes of the objects output.

    Hi Sachin,
    in that case let me add an example on how to read content from a file that may be or may not be a text file:
    $string = [System.Text.Encoding]::UTF8.GetString([System.IO.File]::ReadAllBytes("D:\example.txt"))
    Theoretically, the "Get-Content" cmdlet ought to do the same, however I have occasionally experienced different results.
    You can choose to not convert it to string and just print the bytes too (or choose another encoding of your preference). Remember, a single letter usually uses 2 bytes, thus reading the first 1024 bytes from a file you converted to text would mean printing
    the first 512 letters.
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • How to make table that will include controls such as drop list?

    How to make table that will include controls such as drop list?
    I need to create table as Property Browser of ActiveX, that include rows with differnt types such as drop list, color, ...

    Hi Nadav,
    I figured out where I missed your point. When you wrote
    table as Property Browser of ActiveX, that include rows with differnt types such as drop list, color, ...
    I was thinking mixed data-types in a [2d] table!
    Looking at the property browser again it looks like no single LV function can do all of that. It can be developed as a pop-up (like the browser is set-up) and then code all of the elegance using an event structure to control the background color of a string indicator while controling the visability of rings that are only made visable when a mouse down is detected. That will get you pretty close.
    So no, my previous response ws not correct for what you are trying to do if you want to duplicate all of the wistles and bells of the property browser pop-up window.
    Please forgive my distraction.
    Ben 
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to Print Fields that are Centered on the Label

    Labview 6.1 - Which VI do I call or Attribute do I set to make a String Field "Centered" on its Row on a Zebra Label? I need to specify the String Data, the Font Size and Centered about Position. One Centered field per Row (3 Rows). I am using the NewReport.vi, SetReportOrientation.vi, SetReportFont.vi AppendReportText,vi, PrintReport.vi and DisposeReport.vi

    LabVIEW does support the windows printer driver, I was thrown off by the fact that you said "zebra label." We have a report generation toolkit that will allow you to create more advanced reports and can programatically control microsoft word and excel to create as complex of a document as you desire.
    Our basic report generation toolkit that ships with LabVIEW supports simple reports and layouts. It also allows for HTML reports. You can then append any HTML formatting to the report that you desire (such as the center tag).
    You could also continue to use the standard report by appending spaces to the string you are printing. For example, if you know that your printer is 80 characters wide (using a fixed width font), you can take the size of the string "len" and append (80-len)/2 number of spaces to the string. If you need help doing this, let me know.
    We actually implimented a barcode label printing VI that printed an entire front panel. We created a VI that had an array of controls and we formatted the controls to our desire (one was a centered string). We then used the "print panel vi" in the block diagram. That we we simply wired the inputs to the VI and it printed the front panel to the printer onto the labels (we use this on our large shipments that have more than one item).
    The ActiveX examples that ship with LabVIEW and on our website are very good starting points for creating word reports, but if you are going to use LabVIEW to manipulate Microsoft Word and Excel, I really suggest getting our Report Generation Toolkit for Microsoft Office. The RGT (Report Generation Toolkit) contains a complete set of easy to use VIs to programmatically create and edit Word and Excel documents. The Microsoft Office ActiveX interface is huge, and it is often times hard to find good complete documentation on how to perform certain tasks. The RGT VIs hide all of the ActiveX complexity and really simplify the tasks, but as a developer I really appreciate the fact that the VIs contain all of the ActiveX code on the block diagram so that I can look at them as examples and modify them to my desire. You can find out more about the RGT from ni.com, click on Products, LabVIEW, LabVIEW Addons, LabVIEW Toolsets, LabVIEW Report Generation Toolkit.
    I hope some this gives you an idea you can run with.

  • Templated created in Outlook 2010 to be used as routing slip ~ Best way to create fields that will pull in contacts from outlook

    Hello All,
    I'm currently running into difficulty with my Outlook Form. I have been tasked with creating a routing form within Outlook that will replace a pdf form. The form/email will be routed from 1 person on done the line as each person has inforamtion to eitehr
    enter or to makr that they have viewed the form/email. I'm trying to create a field that would allow each individual to place their name in the apporatie box from either the Outlook contact list or create a dropdown list with the individuals in
    my department. When I tried to create a contact field it would duplicate whomever first sent the email. Any and all help is very welcomed.
    Purplexed,
    David

    Not possible in my opinion. You may try a code solution.
    Flynn

  • Fields that are not displayed are still submitted

    Is there any way to prevent fields from being submitted? I have fields that are only conditionally displayed on the screen, but the values are submitted every time.
    ie, user enters some field values, submits the page. we branch to the same page and do not clear the values so the user can see what he/she put in last time.
    the user now selects from a select list which causes some of the fields that previously had values to no longer be displayed.
    the user fills out some of the other fields, then submits the page, and all the old values and the new values are submitted. i would like only the new values to be submitted, and the old values not to be submitted.
    is this possible? (and reasonable to implement)

    Original Question:
    Is there any way to prevent fields from being submitted? I have fields that are only conditionally displayed on the screen, but the values are submitted every time.
    Hi Becky,
    Yes Modify your submit procedure to only submit the records that are displayed on the screen.
    I'm not too clear on why or what your trying to do.
    When you submit the page and then branch to the same page.
    Why don't you just make the user edit the record they just entered or create a new record?
    Maybe I've misunderstood something but something your doing in the steps you've described, doesn't seem to be too clear to me...

  • How to choose NIC that connect to Internet

    Hello,
    I am developing VoIP application using Jain-SIP. it works nice in WinXP but when I try it on Ubuntu i got an exception :
    "javax.Sip.SipException InvalidArgumentException"
    after searching it on google, it tells that ubuntu return "127.0.1.1" when I execute InetAddress.getLocalhost().getHostAddress();
    it was lead me to a forum that told a way how to get all interfaces physical and logical address, here is the code :
       for (Enumeration ifaces = NetworkInterface.getNetworkInterfaces(); ifaces.hasMoreElements();) {
                    iface = (NetworkInterface) ifaces.nextElement();
                    System.out.println("Interface :"+ iface.getDisplayName() );
                InetAddress ia = null;
                for(Enumeration ips = iface.getInetAddresses();ips.hasMoreElements();)
                    ia = (InetAddress)ips.nextElement();
                    System.out.println(ia.getCanonicalHostName()+":"+ia.getHostAddress());
                }it works beautifully. but....
    my problem is, if one computer has 2 NIC, let say 1 Wireless connection and 1 ethernet connection, how can i choose one of those connection that connected to the internet ?
    thanks.

    banderaz wrote:
    in case when an application start to run, or being installed, we need to configure "hosts" file in etc directory which need a super user priveleged, how can we do that ? Your app cannot solve all possible problems. At some point you must require that a system has certain things and make no guarantees if the system doesn't have it. One path you could take is to add a step to your installation instructions and require that the user verifies that the setup is correct.

  • How to develop pages that will be run inside Jdev11

    Hi, I am using Jdev11 and ADF BC. We have some requirement to develop some Admin UIs which will be run inside Jdev11, I am wondering if it's possible to do. Is there any documents/examples on how to do it?
    Thanks!

    If I understand you correctly you are trying to build some interface in JDeveloper that will let you manipulate the definitions of ADF BC objects.
    Now the main question is whether you want to do the customization at runtime or design time.
    If you want to do it in design time - then the extension will manipulate the ADF BC XML definition files and then when you package the application it will be deployed to the server with your customization.
    If you want to do runtime customization then the answer is the MDS layer that we are going to introduce in release 11. This repository gives you API to change runtime customizations.
    MDS is not part of the public technology preview yet.
    If you are an Oracle Employee you might want to talk with the MDS product managers to get more information about the APIs they offer.

  • How to repair applications that will not start

    I have programs that will not start on my iMac . I have never had one issue since purchased . Do I need to reinstall lion to resolve my issues?
    Thank you in advance for your responses.

    Check with this compatability table, check with the specs of the program, watch for the "for 10.5+" that doens't mean it will work for 10.6 or 10.7.
    http://roaringapps.com/apps:table
    Use the developers uninstaller if possible, if not consult on their site etc., what is the manual uninstall methods.
    Some programs have to use a uninstaller.
    Sometimes you can simply drag and drop the program from the Applicaitons folder to the trash and that will be that, others have other bits in the System/Library/Extension folder (dangerous!) that can be removed by hand IF you know what to look for.
    Usually a program will have it's name or other id info in their files, one can use Easy Find to locate all these named files. However don't go deleting without backing up your data off the machine.
    delete the wrong file and your Mac will refuse to boot up
    I don't advise "app undelete" programs, they tend to make people think that the app undelete program knows the right files to undelete and it doesn't, it just does a simple name search.
    Good Luck

  • How do you create instruction text in a text field that will disappear upon typing in the field?

    I have a form containing a text field.  Can I place instruction text in a text field so that after the end user can see the grayed out instructions?
    What I would like is when he clicks in the field to type text, the instruction text goes away; it is no longer seen or printed.
    Right now I have a tool tip; however I believe the instruction text would be of more value to the end user.
    Does anyone have any ideas on how I can do this?
    Can it be done?
    Thanks,
    Diane

    Hi Diane,
    You can do this by setting a null pattern for the textfield (see the Patterns dialog in the Object > Field palette). There is an example here, have a look at the objects to the right on page 2: http://www.assuredynamics.com/?portfolio=laying-out-form-objects.
    There is script that changes the font style depending on the value of the field.
    There is another example here: http://www.assuredynamics.com/?portfolio=scripting-a-null-display-pattern-for-a-dropdown
    Hope that helps,
    Niall

  • How to calculate sum of the fields that will be reflected for every row entry??

    Probably, the title might not give you the correct view on the question that I want to ask but, I can describe my question. Well, I have an
    Excel sheet for attendance where in I have different columns
    for 3 subjects (subject1, subject2, subject3) and a
    total column. I also have another column named as Student ID.
    I would like to write a formula for the total column where, when I enter the number of classes attended in every subject column for each student present in every row, then the total column is reflected with the sum of no.of classes attended in every subject
    for each student automatically.
    How can I achieve this? I am looking forward for any help. I am a beginner.
    Ex: Excel sheet
    Student ID | Subject1 | Subject2 | Subject3 | Total
    1               
    |     2        
    |       3      
    |       4       |   
    9
    2                |     3        
    |       5      
    |      2       
    |   1
    The total column should be reflected with the sum of values under subject1, subject2, subject3 fields automatically for every row. How to do it?
    Thank you,
    Kaushik.

    In the first empty cell of the row of Student 1, enter a formula like
    =SUM(B2:D2)
    where column B is headed Subject 1 and column D is headed Subject 3, then copy down to match your student list.
    Then below the last row of column B, enter the formula
    =SUM(B2:BXXX)
    where 2 is the row of Student 1, and XXX is the row number of the row above the formula, then copy across to match.

  • How to make form field that will highlight text

    I have a calendar with several lines of text in each days box (yoga classes with class name and time). I need to create an interactive pdf which I can send to my teachers so they can highlight their availability to teach. I would like for them to be able to click on class times and have those times become highlighted. They could then save this form and send back to me. Please help... seems like it should be fairly easy but I've messed around for two days trying to make it happen with no luck!!

    The problem is that form fields don't have an opacity setting, so they're
    not very suitable for highlighting text.
    Your options are to use a form field (like a button) with a transparent
    fill color and a colored border, and then have the border become
    transparent when clicked, or back to the color when clicked again, or you
    could use a combination of an annotation and a button field. The button
    will show/hide the annotation when clicked. The latter will look nicer but
    is more complicated to implement.
    On Thu, Jul 3, 2014 at 11:00 PM, jaspertrout1 <[email protected]>

  • How can I edit an Address Book Distribution List that will not display in Lion?

    The option to edit an Address Book Distribution List (to select preferred emails for certain contacts) only appears as light print and does not respond to selection.  I have a number of Address Groups that display and funtion properly in Mail, but since installing Lion, the problem described occurs.  Any fix?  Thanks.

    The key is that the Contact List is now being kept in the Cloud & you cannot edit the Distribution List in your Mac's Address Book.
    The fix is:
    Quit your Address Book
    Go to  Menu --> Sys Preferences --> iCloud
    Uncheck the CONTACTS icon
    Close Sys Pref
    Open Address Book - Edit your Distribution Lists (No longer Greyed out)
    Quit Address Book
    Go to  Menu --> Sys Preferences --> iCloud
    Check the CONTACTS icon
    You should be good to go!
    Hope this helps!
    ...John

  • How do you create PDF Form Fields that will expand to contain their content?

    I use Acrobat XI and so far as I know LiveCycle Manager taken away.
    1. Is there a way one can do it directly in Acrobat?
    2. Or is there a simple Javascript i can use?

    I know, but it should be possible to make it so that all items were moved forexample down if an item over was extended

  • How to outline fields that are blank?

    Hi,
    I am creating a report that has fields outlines. I have noticed if the field is empty the outline does not display. What can I do to make even the empty fields show the outline?
    Thanks,
    Trish

    Hi Trish,
    I'm not sure how you're applying the outline however in Crystal Report,  you can create a conditional formula to check if the value of the field isnull or blank.  For example if you were applying a line style around the field you can test with the following condition:
    1.  Right-click on the field.
    2.  Select Format Field.
    3.  Select the Border tab.
    4.  In the Line Style section,  click on the "X+2" icon and enter the following condition.
    if isnull({YOUR.FIELD}) or ({YOUR.FIELD}) = "" then 1 else 1
    Regards,
    Wallie

Maybe you are looking for

  • Selection screen control for a field in the report painter report

    Hi, Could you please advice me as to how we can add exclude selection functionality for a field on the selection screen of a report made by trhough report painter report. Your prompt reply will be really appreciated. Thanks, Ramesh.

  • Has anyone upgraded CPS from NW 7.0 to 7.01, 7.1 or 7.2 ?

    We had a recent "Health Check" conducted by Redwood, and an upgrade of the Netweaver Stack was one recommendation.  The predicted improvements were better use of memory resources (better Java Garbage Collection), and general performance improvements.

  • Reporting Fault Problems

    Hi All, I'm trying to report a fault with my phone line using the Internet but everytime I enter my phone number it just says "Please enter your full phone number, including area code." even though I am putting the number in properly...any help?

  • Benefits of SCAN

    I want to find all benefits of using SCAN listeners over using VIP's without SCAN. The following is my summary, along with some comments. I'd like to hear your comments, and please add anything I missed. Thanks. * Less typing in a TNS entry. * If you

  • Is a Slideshow viewable on Windows PC ?

    I guess that a regular Slideshow burned to a CD will be viewable on a Windows PC. Are there any special points ? Thanks!