Creating a DBE for Attributes.

Hello,

I have a code with DB and DBE to display all modules of a Database. When a specific module is selected, it displays all its views in another frame of the DB.

In the same way, is it possible to display all attributes for a selected module ? Does a simmilar function as "DBE listView(DB box, int options, int width, int lines, string items[ ]) exist for attributes ?

 


Estebell - Thu Oct 24 09:41:15 EDT 2013

Re: Creating a DBE for Attributes.
Tony_Goodman - Thu Oct 24 10:21:26 EDT 2013

The listView() DBE can be used to display anything you wish, just pass it the attribute names.

An example of a listView displaying attributes can be found at http://www.smartdxl.com/content/?p=757

Re: Creating a DBE for Attributes.
lgudipati - Fri Nov 15 11:18:03 EST 2013

Tony_Goodman - Thu Oct 24 10:21:26 EDT 2013

The listView() DBE can be used to display anything you wish, just pass it the attribute names.

An example of a listView displaying attributes can be found at http://www.smartdxl.com/content/?p=757

When I tried this script from Smart dxl website, I get an error for this line below from the code. Can someone help with this?

"resBuf += "\"" (string key attrValues)  "\" (" count ")\n""

error msgs:

-E- DXL: <Line:70> incorrect arguments for (&)

-E- DXL: <Line:70> incorrect arguments for (+=)

-E- DXL: <Line:70> undeclared variable (nbsp)

-I- DXL: all done with 3 errors and 0 warnings

Re: Creating a DBE for Attributes.
GregM_dxler - Fri Nov 15 12:37:32 EST 2013

lgudipati - Fri Nov 15 11:18:03 EST 2013

When I tried this script from Smart dxl website, I get an error for this line below from the code. Can someone help with this?

"resBuf += "\"" (string key attrValues) &nbsp;"\" (" count ")\n""

error msgs:

-E- DXL: <Line:70> incorrect arguments for (&)

-E- DXL: <Line:70> incorrect arguments for (+=)

-E- DXL: <Line:70> undeclared variable (nbsp)

-I- DXL: all done with 3 errors and 0 warnings

Hi,

Delete the &nbsp;

Copying and pasting sometimes doesn't work right.

Hope this helps,

Greg