Peter Fenner Posted February 28, 2002 Posted February 28, 2002 Hi Alison You don't need to write a script. You can use SPECIFY BUTTON to simply GO TO RELATED RECORD (same relationship as your portal) A button placed in the row should pose no problem - a nice way of keeping your portal clean is to make the Executive Name field the button - therefore clicking the name field will take you directly to that record. You only need to place the button in the top row (in Layout Mode) and it will repeat for every portal row in Browse Mode. Cheers! - Pete [ February 28, 2002, 01:06 PM: Message edited by: Peter Fenner ]
Gogargirl Posted February 28, 2002 Posted February 28, 2002 Terrific! All these years and I never saw that before. Thanks very much.
Gogargirl Posted March 1, 2002 Posted March 1, 2002 I have a database where the records are individual executives. I?ve created a self-join so that I can see other executives from the same company in a portal. I want to have a script so that if I click on, say, the third portal row, the script will find the record for that person. I?ve done this: Set Field [gNumberField,Status(CurrentPortalRow)] Go to Field [sameCompany::ExecName] Go to Portal Row [select, gNumberField] Copy [select, SameCompany::ExecName] Enter Find Mode [ ] Paste [select, Exec Name] Perform Find [ ] It works great,the problem is with the button. If I create one huge button that covers the whole portal, it works just fine, but the flashing as you hit the large button doesn?t look great. I tried Freeze Window all over the place and there's no difference. So I created invisible buttons (each linked to the above script) which sit on top of each portal row. With this method, for some reason the script cannot ?see? which portal row the cursor is in. Why is this please?
tomlepk Posted March 14, 2002 Posted March 14, 2002 Yes Thanx! WOW! That helps me too, I've done it the hard way for sooo long. Win_Reg.zip
Recommended Posts
This topic is 8291 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