Jump to content

Refreshing Layouts after Find


Silverlake_Gal
 Share

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

Recommended Posts

  • Newbies

Using this script I can't seem to have the report under Layout Y refresh with the new found set. I have tried modify find - use first records - refresh window. It's still holding onto an earlier found set

Go to Layout X

Show all records

Enter Find Mode(user then determines found set)

Pause

Go to Layout Y

Enter browse (pause)

Go to Layout A

Thank you

Link to comment
Share on other sites

Go to Layout [ X ]

Set Error Capture [ On ]

Enter Find Mode [ Pause ]

Perform Find [ ]

If [ not Get ( FoundCount) ]

Show Custom Dialog [ OK; "No records found." ]

Show All Records

Go to Layout [ where you want them if no records found ]

Exit Script

End If

... Go to Layout [Y), sort, preview, print your record set or whatever ...

I'm confused on why you are switching to three layouts. You should switch to the layout which contains the fields the User will type find criteria into. THEN Enter Find Mode (note you don't need to perform a Show All Records first). THEN go to where you want the User to end up with their found set (Layout Y). And I don't know what that Enter Browse Mode [pause] is for ...

Edited by Guest
Added Custom Dialog line
Link to comment
Share on other sites

This topic is 5757 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
 Share

×
×
  • Create New...

Important Information

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