Solved

Copy fx/btn (Ctrl + Alt ++): copy all fields but one


Userlevel 2

With every new to add item our field BookingNr is auto set by for example Last high BookingNr + 1.

This works fine when using the Add button (Ctrl ++), however, this does not work for the Copy button (Ctrl + Alt ++).

A very tedious workaround could be to create a ‘copy’ task which copies all fields from an existing row, except for the one we wish to set separately, but this is far from ideal.

 

Furthermore, we can refer to ‘Add new’ by verifying with

@import_mode

but this only separates ‘Add new’ from ‘Update’ - of course Copy would be same as Add new.

 

I would like to know if there is a quick and simple way to do what we need without above mentioned workaround?

Please advise.

 

Thank you,

Paul

icon

Best answer by Mark Jongeling 26 May 2021, 15:14

View original

2 replies

Userlevel 7
Badge +23

Hi,

When using the Copy button the GUI supplies, the GUI will copy the column values of the selected row of which the setting "Include in copy” is set to True:

Software Factory → Subjects → Columns

To exclude columns from obtaining a predetermined value from the copied row, deselect this setting. Would that suffice?

Userlevel 2

This did the trick!!

 

thank you Mark.

 

 

Reply