Newbies PTraub Posted September 14, 2004 Newbies Posted September 14, 2004 Hi, I am toggling a container field within a portal which changes from a 'tick' to a 'cross'. This consists of 2 jpg images of 10.7K in size. The script works perfectly on the host computer but shows "Ran out of memory while trying to translate the file". This occurs on ALL guest computers! TIA Paul The script is as follows: Toggle Tick If [ Upper(Job Items::Valid Symbol) = "Cross" ] Go to Field [ Job Items::In Stock Tick ] Insert Picture [ Filename: "Tick.jpg" ] Set Field [ Job Items::Valid Symbol, "Tick" ] Set Field [ Job Items::Sort, "0" ] Exit Record/Request Else If [ Upper(Job Items::Valid Symbol) = "Tick" ] Go to Field [ Job Items::In Stock Tick ] Insert Picture [ Filename: "Cross.JPG" ] Set Field [ Job Items::Valid Symbol, "Cross" ] Set Field [ Job Items::Sort, "1" ] Exit Record/Request End If End If
Balder Posted September 14, 2004 Posted September 14, 2004 Maybe a workaround : Use a text-field instead of a container... Format this textfield (font etc.) in such a way that it resembles your original solution. Just put in the the correct character. Is this an option for you?
Newbies PTraub Posted September 21, 2004 Author Newbies Posted September 21, 2004 Thanks for the suggestion, but one cannot insert a graphic into a text field - only into a container.
Recommended Posts
This topic is 7371 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 accountSign in
Already have an account? Sign in here.
Sign In Now