Jump to content
Server Maintenance This Week. ×

hiding a graphic at base of portal


Aussie John

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

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

-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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 7342 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.