chris_brown Posted June 5, 2002 Posted June 5, 2002 Hi, Iv'e got a database that holds infomation about jobs that we have in the company. What I would like to do if possible is when I open a layout I need a message saying "please enter job number" and a box where I can put the job number in then press OK and it will find the job number. Is this possible and if so has anyone got any ideas of how to do it. Thanks for any help. Chris
andygaunt Posted June 5, 2002 Posted June 5, 2002 Hi, You can do it in a couple of ways. Either create a layout that has the message on it (in text) and the field job number or in your script use the show message dialog, then take them to the field job number. obviously you could pretty this up by duplicating your main layout, set all fields on it to not allow entry and then draw a box on top of all these fields and in it have a piece of text and the job number field and a continue or find button. Then, in your script Go To Layout [new layout] Go to field [job number] Enter find mode [pause] Perform find Go to layout [ main layout ] Obviously this is very simple and does not contain any error capture, but gives you the general idea. So, when the user clicks a button, it looks like a dialog box has appeared where they can enter the job number and click continue (or press return) HTH
SteveB Posted June 5, 2002 Posted June 5, 2002 If you have the need to do this more than a couple of times it becomes a real pain and the number of layouts can really increase. For a rather small charge, get the Troi Dialogs plugin. This plugin is very easy to use and will give you a host of new features with dialogs that can pop up from within scripts. www.troi.com
Recommended Posts
This topic is 8211 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