Aussie John Posted March 18, 2004 Posted March 18, 2004 Hi, I have a portal with a delete graphic (a global) in the portal row. Unfortunately the graphic shows in the new entry row at the base of the portal (background formatting to the other fields shows too). I can see people trying to delete what seems like an empty record. Can I get the last portal row to not show any formatting? thanks Version: v6.x Platform: Mac OS X Panther
-Queue- Posted March 19, 2004 Posted March 19, 2004 Have you tried using a global from the related file?
Aussie John Posted March 19, 2004 Author Posted March 19, 2004 -Queue- said: Have you tried using a global from the related file? Yes queue, that is where the global came from Version: v6.x Platform: Mac OS X Panther
-Queue- Posted March 19, 2004 Posted March 19, 2004 Interesting, I don't have any problem with this on 5.5. The global doesn't show until at least one related field has a value. Is it an issue with 6?
Vaughan Posted March 19, 2004 Posted March 19, 2004 I leave the graphic there, but trap for the empty row in the delete script... If [ IsEmpty(relationship::keyfield) = 0 ] Delete Record Request [] End If So if it's clicked on nothing happens.
Aussie John Posted March 19, 2004 Author Posted March 19, 2004 -Queue- said: Interesting, I don't have any problem with this on 5.5. The global doesn't show until at least one related field has a value. Is it an issue with 6? Well actually it was in the trial v7 Version: v6.x Platform: Mac OS X Panther
-Queue- Posted March 19, 2004 Posted March 19, 2004 You're right! They screwed that up for us in the new version. Now you have to create a container calculation, such as Case(Length(serial); gContainer), to make it work. It sounds stupid, because obviously if you don't have a serial, then no record exists. But since the 'record' at the bottom of the portal doesn't exist yet either, it works.
Recommended Posts
This topic is 7555 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