Accessing recordset field values using labview Active X

dear friends,
i have opened recordset using labview active X Refenum opening dbengine,workspace ,opendatabase,openrecordset
i need to access the field value from the record
but labview doesnot show any propery or methods that r related to fields ,except count.
in short i am looking for a code statemant in labview which is equivalent to VB
Recordset.Fields("Name").Value or Recordset.Fields(Index).Value
can anybody help
thanks in advance
regards
shridhar joshi

try something like this .
"shridharjosh" wrote in message
news:[email protected]..
> dear Ben Schulte
> i am using MS Access Database and i opened
> Acitve X class and necessary database connection parameters
>
> thing is Fields is a collection in VB and
> has a two default properties 1-Count 2-Index
>
> I am Able to get count property but un succesfull in accessing index
> this is important inorder to acces the value of a individual field in
> a recordset
> i am attaching data vi with this please ahve a look at it
>
> thanks in advance
[Attachment Fields.PDF, see below]
Attachments:
Fields.PDF ‏175 KB

Similar Messages

  • Check list field values using LINQ

    I have to check if the CURRENT USER is already in the list USERS by comparing his AccountName to the list field ACCOUNTNAME.
    If the USER is on the list I have to check if the field IsFollower is YES or NO and change it according to some conditions.
    I think LINQ would be the correct way of doing this but I have no clue how to do that.
    Any ideas pls, thanks

    Hi,
    Yes, you can query the list using LINQ.
    You need to get the SPList Object firstly, and then you can query list item value using LINQ.
    More information about how to check list field value using LINQ:
    http://msdn.microsoft.com/en-us/library/office/ee538250(v=office.14).aspx
    http://www.wolfsys.net/query-sharepoint-lists-with-linq/
    http://geekswithblogs.net/TanviBlog/archive/2013/06/06/linq-in-sharepoint-and-querying-list-items.aspx
    More information about how to use Server Object Model in SharePoint lists:
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.aspx
    http://msdn.microsoft.com/en-us/library/office/ms456030(v=office.14).aspx
    Best regards

  • Accessing the field values in different fields for calculation

    Hi,
    I am creating a report in which I have used breaks for grouping the  customers by their category. I have used summary on the amount field to calculate the sum in the individual category and also for total amount.
    Now, I also want to add an column which could display the percentages of individual contributions.
    So, its like I have to write a query accessing the total percentage, categorized percentage and individual amount.
    My question: How can I access the various fields values in the query of some other field specifically sum and total sum( because it shows the sum([Amount]) for category sum and total sum both)
    -BOBJuser

    Hmmm, I assume you are talking about WebIntelligence here...
    Ok, so let's go: you can access every "object" in the report simply by it's name. Every cell contains either a constant value (e.g. some text) or a formula, the simplest one can be just the value of an "object" from the query.
    There is a formula bar on top which you can activate, where you can easily see the content of a specific cell and also copy/paste the formula from the cell, as well as access all the built-in functions.
    WebI has a built-in calculator which works very similar to a "micro" olap engine, so you can access every sort of aggregate (of a measure) via a correspondig formula, irrelevant in which cell you are using it.
    Nevertheless, there is a "computation context" which depends on the place where you put the formula, e.g. summary row, detail row, etc.
    for more info: see the manual )
    hth, Walter

  • How to access screen field value in a module pool programming?

    Hi Experts,
       I have create a module pool program SAPMYDLG. It contains two screens 100 and 200.
       The first screen contains Employee_ID field. This field is not a dictionary field.
       In the second screen 200, I want to access the value of Employee_ID field from first screen.
       For this I created a global variable v_empid in TOP include.
       Then in the PAI of the screen 100 I have assigned the screen field value to global variable.
       v_empid = Employee_ID.
       But this gives an error saying " Field  Employee_ID not defined".
       What am I doing wrong? How can I access the screen field value?
    Thanks
    Gopal

    Hi,
    Employee_ID field also must u define in the top include when u define that 100 screen and 200 screen will access.
    regards,
    muralii

  • Accessing the "outcome"  value used in the navigation case

    I would like to dynamically create a view based on the outcome value used in the navigation case.
    How can I reference the outcome value from a backing bean?
    For example assume that a page (mypage.faces) can be accessed via outcomeA and outcomeB. I want to know which outcome was used in the navigation case.

    Not without implementing a custom navigationhandler.
    Alternatively you can also set the known outcome in a bean property and use it instead.
    public String submit() {
        this.outcome = "foo";
        return this.outcome;
    <h:outputText value="Outcome was: #{bean.outcome}" />

  • Issue facing : Deletion of Qualified Look up field value : Using Import Map

    Hi All,
    We are having qualified multi-valued look up field in the main table. Using import map for the main table record update, we are trying to delete the qualified look up field value. But it is not working.
    Please guide on how you have achieved this.
    One approach is to supply NULL value, though I am not sure or have tried this.
    Regards,
    Ganga

    Hi Ganga,
    I assume that you are trying to delete the Qualifier values for the Qualified look up table. The only possibility is to pass the Null values to the already Existing records in the Main table. Please note that if you are passing one Null value only one record will get deleted. So you will have to pass the Null values equivalent to the number of values for the Multi Valued Qualified table.
    Kind Regards,
    Thamizharasi N

  • Reading deleted field values using change pointer

    hi
    i am triggering DEBMAS06 using change pointer technique for XD01/02/05/06 transactions.
    now when i delete data(make nulll values) in partner functions the generated IDOC is not showing the complete field itself.when i am deleting the field value and making it null the IDOC must send the fields with null values.but unable to trace out how to do this.
    can anyone let me know how to handle this situation?
    and i have extended DEBMAS06 with customer hierarchy data i.e. KNVH.i have written change pointers.now how can i populate these fields into my extension?

    Hello Moorthy,
    1. This message function in the Idoc is populated as 005 then it should replace the entrire values while posting,
    2. To populate KNVH extension you have to populate this only if you have KNVV data.. so you can either create enhance menti perfrom FILL_SEGMENT_E1KNVVM i(nf Function moduler MASTERIDOC_CREATE_DEBMAS) inclduer LVV01F01. or you can write the logic in BAdi CUSTOMER_ADD_DATA->FILL_ALE_SEGMENTS_OWN_D or in user eixt EXIT_SAPLVV01_001.
    Regards
    Naresh

  • How to Set Field value using javascript?

    I have a Field in First Page called 'SO'. I want to populate this field from the field value of SD_ITEMS.DATA.VBELN first row in the each page. Please help me with javascript to set this value.
    Thank you.
    Ranji

    I have a Field in First Page called 'SO'. I want to populate this field from the field value of SD_ITEMS.DATA.VBELN first row in the each page. Please help me with javascript to set this value.
    Thank you.
    Ranji

  • Accessing field values using property names

    Hi all,
    I have the following problem:
    I have several hundred simple beans which act as value holders:
    public class MyBean1 {
    private String field1;
    private String field2;
    Getters
    Setters etc.
    Now I have a class which receives the MyBean1 class encapsulated in an Object. I also have access to a list of propertynames i.e. field1, field2 etc.
    Having that info is it possible for me to retrieve the values from the bean without actually instantiating it in my implemantation class.
    I was thinking in the direction of something like a Factory helper class or so but wasn't quite able to figure out how to go about it.
    Any help would be appreciated.
    Regards
    Michael

    >
    Having that info is it possible for me to retrieve the
    values from the bean without actually instantiating it
    in my implemantation class.
    This does not make sense to me. If an object is not instantiated, then it does not exist nor do any of its fields. The operation of obtaining values that do not exist is undefined.
    I think you must mean something else but you need to explain it better.

  • Accessing html field value from pl/sql code, in the same package

    hi friends,
    my pl/sql web application is working fine. but now i need a small requirment.
    ie, basicaly i need to access the user entered value of an element in html based form from pl/sql code, which is developed using pl/sql toolkit.
    Here is the scenario:-
    User entered a value in field1, then navigate to field2, and click a button for list of values,
    when he clicks the button, internaly it is opening a cursor, where i want to pass field1's value to my cursor as a parameter. So in my pls/sql code , i want to access the value of field1. If you know, please help.
    see the snippet of code.
    htp.p('
    function f1()
    if (parseInt(learnIdx) ==1 )
    for i in dev_Need('1')/*here i want to pass html form element value as a parameter */
    loop
    htp.p('content += "<option value='''||a.version_name||'''>'||a.version_name
    ||'</option>''"; ');
    end loop;
    thanks in advance.
    Zameer.N.A

    Hi,
    Here's my suggestion
    If you wanna access the dll check out "external procedures", you can search it everywhere in OTN.
    However it's easier to use Heterogenous Services to connect database with other sources.
    Check out http://asktom.oracle.com/pls/ask/f?p=4950:8:13454621522426176943::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:4406709207206,
    Tak Tang answer on May, 25, 2004 rules!

  • Get form field value using an offset

    I have a Form created using Perl that has a table with a row for each invoice in a large table. I display all the rows in a table and allow the user to edit some info for each record:
    for ($item_cntr = 0; $cntr < $record_cnt; ++$item_cntr)
    { print qq(<tr>
    <td><input type="text" name="c_freight_$item_cntr" value="$i_freight[$item_cntr]" onBlur="linetotal($item_cntr)" ></td>
    <td><input type="text" name="c_miscamt_$item_cntr" value="$i_miscamt[$item_cntr]" ></td>
    <td><input type="text" name="c_price_$item_cntr" value="$i_price[$item_cntr]" ></td>
    </tr>);
    I want to create a Function that is called when they change the Freight value and that causes the rows total Price (freight + miscamt = price) to be calculated again (without hitting a Submit button on the Form).
    I created a Function:
    function linetotal(whatline) {
         var fixed_freight = "document.editform.c_freight_" + whatline;
         var fixed_misc = "document.editform.c_miscamt_" + whatline;
    var linetotal = parseFloat(fixed_freight.value) + parseFloat(fixed_misc.value);
    document.editform.c_price_whatline.value = linetotal; } }
    So, if the first row in the table is 0, then the Function is passed "0" and should get the value of the form fields:
    'c_freight_0' and 'c_miscamt_0' and set 'c_price_0' to a new value in the form.
    The fixed_freight is showing that the string it has is correct, but it does not get the value from the form. Any ideas?

    DrClap wrote:
    DrLaszloJamf wrote:
    DrClap wrote:
    Although there are [Java sites|http://www.javaranch.com/] which do have an [HTML and Javascript forum|http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&f=20].
    Don't forget the free hugs forum there, too!
    You must mean [this one|http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&f=44].
    Oh yeah. Are you a JavaRanch regular, Dr.C? I was for a while, but not recently.

  • Scripting - is it possible to access a field value not exposed in IAPI?

    Hi!
    I have a scripting issue that I need some help with please - in a version 7.0 system.
    The scenario is a contract pre-phase change script, where I need to check that there is a value in the Renewal Reminder Date on the parent Master Agreement / Agreement document, if certain conditions are met in the contract.
    The problem is that:
    1.  There is no method to get this property.
    2.  The Renewal Reminder Date property is not listed in IAPI so I don't think retrieving the metadata for the field will work either.
    3.  I have tried reading the value via SQL using the following code, but this returns no value, so either this approach is flawed or my coding is just wrong...
    renewal_date = dbHandler.executeIsolatedQuery("SELECT T1.RENEWAL_REMINDER_DATE FROM FCI_CONTRACT T1 WHERE T1.OBJECTID = "+parentObjId);
    The parentObjId reference above seems valid because it is used successfully else where.
    Any thoughts / comments / feedback would be much appreciated!
    Regards,
    Stuart

    Hi Stuart,
    I can see in Reference Guide that there is API available for RENEWAL_REMINDER which is getRenewalReminder().
    In case you are not able to find the API for RENEWAL_REMINDER can you please try this way:
    String masterAgreementBeanName = doc.getDisplayName();
    String masterAgreeRenewal="select fci_contract.renewal_reminder_date" +
      " from fci_contract where fci_contract.display_name="+"'"+masterAgreementBeanName+"'";
    //print String  you will get date in string
      if(masterAgreeRenewal!=null)
      Date masterAgreeRenewalReminder=(Date) dbHandle.executeIsolatedQuery(masterAgreeRenewal);
      Calendar cal2=Calendar.getInstance();
      cal2.setTime(masterAgreeRenewalReminder);
    renewalReminderDate= TypeFactory.createSysDate(cal2.getTime());
    //print the object renewalReminderDate. It should give you date
    Hope this helps.
    Regards,
    Kumud

  • Set a tabular field value using getElementById().value

    Hi
    I have tried everything and now I hope some of you can help me.!!!
    I have made a tabular report based on a query:
    and I want to copy the value of one field into another field on the same record when clicking on a edit-link field I have made.
    SELECT-statement:
    select rownum ,
    HTMLDB_ITEM.HIDDEN(10, a.itf_tab_col_id ) ||
    htmldb_item.POPUP_FROM_QUERY(11,TRANSFORM_VALUE,
    'SELECT itf_column_name disp,itf_column_name ret
    FROM om_itf_tab_col where itf_table_id=:P73_itf_table' ) TRANSFORM_VALUE,
    HTMLDB_ITEM.TEXT(12,nvl(MAP_ITF_TARGET_ID,-99)) MAP_ITF_TARGET_ID,
    HTMLDB_ITEM.TEXT(13, a.itf_table_id ) itf_table_id,
    HTMLDB_ITEM.TEXT(14, a.itf_column_name ) itf_column_name,
    a.itf_COL_DESCR itf_col_descr,
    HTMLDB_ITEM.TEXT(16,'' ) dummy
    FROM om_itf_tab_col a,
    om_map_itf_target c
    where a.itf_TAB_COL_ID=c.itf_TAB_COL_ID (+)
    I have made this Column-link on the column itf_table_id
    javascript:setValues('#ITF_COLUMN_NAME#','#ROWNUM#');
    function setValues(col, rownum){
    rownum='0002';
    document.getElementById('f16_'+rownum).value = col;
    If I change it like this, It copy the value to the correct field but always to rownumer 1.
    function setValues(col, rownum){
    rownum='0002';
    document.getElementById('f16').value = col;
    }

    Thank you very much for answering me !!!
    I got response but the value always show 'N' even i change it to 'Y'
    I changed the function like this:
    function displayValue(FieldVal)
    alert('Rownum ='+FieldVal+' value=' + document.wwv_flow.f30[FieldVal].value)
    and I get this result when I e.g. changes the value from N to Y on row 3:
    Rownum =3 Value=N
    what do I miss?
    Evelyn

  • When I get a date field value using the Oracle thin (type 4) JDBC driver...

    ....in 'DD-MMM-YY' format from an Oracle 8i database and pass it in to the java.util.Date() constructor, I get a IllegalArgumentException. This error doesn't occur when I use the type 2 driver, so it is apparently a driver-specific thing. It happens on both Win32 and Linux.
    Has anyone seen this before? Is there a newer version of the Oracle thin (i.e., type 4) driver than is listed here?
    http://web77-02.us.oracle.com/software/tech/java/sqlj_jdbc/content.html
    Thanks,
    Tom
    [email protected]

    Yup, that original post didn't make much sense, did it? Let's try again.
    I've got an EJB app that runs on WebLogic 6.0 (on Solaris in production, on Win2K for development) and accesses an Oracle 8i database. This app currently uses the Oracle type 2 JDBC drivers. All is well.
    So I wanted to see how it would run on Linux. I've got a Redhat 7.1 box handy, so I installed the JDK and WL6.0 and slapped the ear file on there. Problem! Can't deploy because there are no Oracle drivers on this machine!
    Makes sense. So I started looking around, and it seems installing Oracle on a RH 7.1 box involves patching glibc and other such nastiness. So let's just try the type 4 JDBC driver - no glibc patch, no shared object libraries, just good 'ol pure Java talking to Oracle on port 1521.
    Once I had the URLs and whatnot set up, the app connected to the DB just fine, created the connection pool, read some data, etc. But when my app read a date from the DB and instantiates a new java.util.Date object, I got an IllegalArgumentException - i.e., the date can't be parsed.
    "Hmm... that's odd", I thought, so back I went to my trusty Win2K machine, modified my configuration files to use the type 4 driver and - same error! So I switched back to the type 2 driver - and everything works fine, Dates and all. Hmmm.....
    As you correctly state, that Date constructor is deprecated and I should use DateFormats and GregorianCalendars and whatnot instead.
    But has anyone seen this weird behavior before - code that works fine on a type 2 driver starts throwing exceptions when used with a type 4 driver? Anyone have any solutions?
    Thanks much,
    Tom

  • Deleting field value using bapi

    Hi all,
    I want to delete a field VBAP-FIXMG from a report because it is wrong fixed.
    but i want to delete it using a bapi.
    can any one help me out which bapi to use and how to use it.
    thanks.

    Hi,
    Use the BAPI " BAPI_SALESORDER_CHANGE". U can check the docuemntation of it and also where used list to see if we can use the bapi.
    Regards,
    Nagaraj

Maybe you are looking for

  • ECC to SRM Issue

    Hi experts, we are doing ECC to SRM Integartion using SAP XI. ECC to XI - IDOC XI to SRM - ABAP Proxies Scenario : VEndor data migaration We are transfering vendor data to SRM using SAP XI using BD14 T.code in ECC. IDOC generated in ECC and transfere

  • My Nano is dead... PLEASE HELP

    Since I bought it I have been having a lot of troubles. Sometimes iTunes wouldn't find it. Sometimes it did but all the songs got erased. Sometimes only some songs got erased. Just now I was trying to put some more songs on and my iTunes stopped read

  • Possibility to abort the execution from within the PreUUT and MainSequence

    Hello, This is probably a TS newbie question that most of you can answer right away! I'm using the sequential model to develop my test. I cannot figure out how to do terminate the execution from within the PreUUTLoop or MainSequence callback. In the

  • Display only part of the STRING field, but search ALL field

    Hi all, I have a field VARCHAR2(4000) that holds a lot of text. When I make a report in APEX, it shows in each row, ALL text, so the report is very "ugly". I want to limit the display of that column for only the first 60 characters. I tried to use th

  • Problem in availability check

    Hi guys, WE have the following requirement.  At the time of creation of production order, we have to activate the availability check before save.  We could configure such a way that, availability check is carried out while releasing the production or