SmartObjects !

raghooveer

New Member
I am progress programmer have worked with basic objects
and now working on V9.1B - smartobjects.
I tried to use smartbrowser and viewer provided by
progress (amd2/templates). Created SDO for customer table
from sports DB. I encountered couple of errors when
i put smartbrowser on smartwindow.
1) I get error msg like setdatacolumn dynamically invoked...
2) Function function given invalid or unknown context to run IN (5105)
3) unable to assign unknown value to attribute MAX-DATA-Guess
on browse br_table (4083) - Warning msg

and when i put smartviewer on window the fields are not enabled
for input, i check the property sheet but the checkbox for enabled
was truned on. Not sure what other settings that i have to look in
while working with Smartobjects.

Please help me !!!

Thanks
 
????

Slightly confused here, do you mean a Smart Dataviewer or a Smart Data Object or a Smart Object. Do you need database access, or are you just trying to have widgets? If you wish to display information from the database / data, you will need a Smart Data Object, wich will in turn require a Smart Query as the data source. In ADM 2 - ONLY a Smart Database Query (SDO) can access the database. If you require just simply widgets then a Smart Data Viewer will be fine.
The error messages that you report sound just like confusion between Windows and Prowin 32. Try the M$ way reboot!!
 
Hi Lord,

I have smartdata viewer and smartdatabase query, when i put the smart viewer on smart window i dont see the DB fields in Smart viewer enabled for data input.
I want to make them enable for data entry.

Thanks for reply.

Raghuveer
 
Hi,

The easiest way to create it...

Create a 'smart window' , add the 'smart data object', add a 'smart browser', add a 'navigator' and a 'smart viewer'.

hope that helps,
 
I followed the method u suggested and it did work for smartdata viewer, but still have problem with smartdata browsers, i am getting couple of errors which am unable to understand.

steps followed to create smartdatabrowser.
1) Created smartdataobject (SDO) - to query the DB.

2) Created smartdatabrowse and linked SDO to smartdatabrowse

3) When i try to put the smartdata browse on smartwindow i get error msgs

* User-defined function 'setDataColumns' invoked dynamically but could not be found (5639)

* Function function given invalid or unknown context to run IN (5705)

* Unable to assign Unknown value to attribute MAX-DATA-Guess on browse br_table (4083) (warning msg)

I am using sports DB and V9.1B on win2k professional.

???????
 
Hi,

When you link anything, link it within a smartwindow. So basically,
create sdo, smartwindow, drop sdo, create smartbrowser and link them.

That should help,
 
Smart object ?

Hi,

Yes, i am doing the same way u have suggested. The data is also populated but i get the error msgs that i mentioned in my previous msg. Thanks for all your help.

Raghuveer
 
Back
Top