Hi,

I want all changes doing in InventTable to be proved by a supervisor.
Only proved changes should be written to InventTable.

Therefore I save the inventTable (and dependent records from
InventTableModule and InventItemLocation) in a container.
To change the record I restore it and want to open form InventTable
to display all informations, also informations
for InventTableModule and InventItemLocation.

For displaying I set the records temporary and copy them to the
datasource in InventTable.
This I do from the linkActive Method from InventTable:

inventTableTmp.setTmp();
inventTableTmp.clear();
inventTableTmp.overwriteSystemfields(true);
inventTableTmp.data(_common);
inventTableTmp.doInsert();

dataSource = changeForm.dataSource(#INVENTTABLE_DS);
inventTable = dataSource.cursor();
inventTable.clear();
inventTable.setTmp();
inventTable.data(inventTableTmp);

the same I do with datasource Invent_ds, Purch_ds, Sales_ds and
InventItemlocation_ds.

Although the datasources are filled, the controls are all empty
(nothing is displayed).
In the form SalesTableVoided they do it in a similar way, and there
it works.

I do the same with InventBatch, there it works also. The difference
to INventTable is in my opinion only that there is only one
datasource in the form.

Questions are:
If the cursor from datasources are filled and the controls don't
show the value, what has to be done to make the controls display ?

Method executeQuery only works with permanent data, because it
creates a SQL-Statement and send it to database.
How do I represent complex temporary data which is stretched over
several tables?


Regards

Manfred



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to