Skip to Content
author's profile photo Former Member
Former Member

Record Selection in find mode..

Hi..

See the image1

These values are i had posted through the sdk program ..

it has some fields like doc entry , manager, and year

in database allso i am able to see the records..

But my problem is if is choose the records ( all ready posted records in find mode)

every field is getting it's own value but year is not behaving currectly

it is accepting the values of the doc entry (see the image2)

if i press add menu immediately bad value error is comming..( from menus)

i had set if any body press add menu some values are comming into the respected fields including year field all so

may i know why this error

find2.JPG (96.1 kB)
find1.JPG (111.8 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2012 at 06:15 AM

    Hi Seenu,

    Can you post yout code on how you retrieve the year in your matrix.

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      please check your choose from list event. You can access the value for example with:

      string val1 = Convert.ToString(oDataTable.GetValue("U_Year", 0);

      depending on the UDF name in the database.

      Then you can write it to the edittext, but you better use a UserDataSource for it. Because if not, CFL events could throw exceptions.

      For example:

      oForm.DataSources.UserDataSources.Item("udsYear").ValueEx = val1;

      Regards

      Sebastian

  • Posted on Jul 24, 2012 at 06:15 AM

    Hi Seenu,

    If I am not wrong, you have not set DataBind on your 'Year' field.

    Check what alias, you have given on this field. And set the databind property correctly for this 'Year' textbox.

    Hope it helps

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.