Options

"Temporary" Edits to Item Record

bhalpinbhalpin Member Posts: 309
The situation is an Item card with mods to it and the item table to print price labels on demand. Besides the price, the labels contain some other text (custom fields) from the item card.

The requirement is to allow certin staff members the ability to 'temporarily' modify the text fields one the item card and print the labels - but then the changes are discarded as soon as they move to another record or close the form.

Can anyone suggest a way to implement this in a relatively 'transparent' way?

Thanks in advance!

Comments

  • DenSterDenSter Member Posts: 8,307
    Put some textboxes on the Item Card with global variables as their SourceExpr, and clear them in OnOpenForm and OnAfterGetRecord. Then add some logic to whatever you need to print to accept the values of those variables.
  • bhalpinbhalpin Member Posts: 309
    Thanks - that could do it.

    I was thinking of some sleight-of-hand to 'slip' a temporary record under the item card, but this could work.

    Bob
  • DenSterDenSter Member Posts: 8,307
    You could also add a couple of fields to the table, and add some code to OnModify to clear their values.
Sign In or Register to comment.