Skip to main content
Solved

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


pauloportu
Apprentice

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

Best answer by Mark Jongeling

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?

View original
This topic has been closed for comments

Mark Jongeling
Administrator
Forum|alt.badge.img+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?


pauloportu
Apprentice

This did the trick!!

 

thank you Mark.

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings