Jump to content

This topic is 8004 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi folks

I have tackled my project, and thought I'd cracked it! hmmmm

I have made some buttons (6) that take you to a layout, call "item 1 entry" through to "item 6 entry". I've made these as the users need to see what they are entering in a certain way!

Once they have entered their data, they click the print button that links to "print item 1 entry label" layout.

everything is fine until, maybe hours, days later someone needs to print a label that has already been input.

If the user is on "item 4 entry", and clicks print, they get the data from the original layout ie "item 1 entry" but in the "print item 4 entry label" layout....

...arrhh

how can I make a relationship to the original layout(s) "item x entry" or straigh to "print item x entry label"

I've spent a whole day with "if this" and "if that" global here calculation there.... I haven't anymore hair to pull out!

Can anyone please help?

I'll beg if it helps wink.gif

Az

Posted

Hi Wilse smile.gif

I'm a bit unclear on the difference between "item 1 entry" and "print item 4 entry." Are they simply different layouts with different fields placed on them? If so, have your Print script check which layout the User is currently on and ask the User if they want to print your Layout 1 or the current Layout, something like:

If [status(CurrentLayoutName) <> Layout 1

Show Message ["Which Layout do you want to print?" "Layout 1", "This Layout"

Go To Layout 1

Print

End If

Else

Print

End If

You'll need to modify it to fit in with your specific print script needs, of course. You could also use Status(CurrentLayoutNumber) but then you would have to be sure to place your layouts in order (which I assume they currently are).

If I'm off the mark, explain a bit more and we'll be happy to help you!

LaRetta

Posted

Hi,

You could create a number field "nprintlayout" and a "firstdateprint" date field when the record is first printed.

The script will go

If IsEmpty(Firstdateprint)

Set field (nprintlayout, your layout n

This topic is 8004 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.