Totes Posted December 11, 2008 Posted December 11, 2008 Hi, When in find mode, on the toolbar at the top there is an "Add New Request" option...is ther a script step that does the same thing, as I can't find one. Thanks, Jim
aldipalo Posted December 11, 2008 Posted December 11, 2008 New Record/Request To go further: Enter Find Mode() Set Field(Field;Criteria) Perform Find() New Record/Request Set Field(Field;Criteria) Perform Find()
comment Posted December 11, 2008 Posted December 11, 2008 Enter Find Mode() Set Field(Field;Criteria) Perform Find() New Record/Request Set Field(Field;Criteria) Perform Find() You should remove that first Perform Find[] step - otherwise your script will create a new RECORD instead of a REQUEST.
aldipalo Posted December 11, 2008 Posted December 11, 2008 Ooops, I missed that. Should have checked it first. :)
Totes Posted December 13, 2008 Author Posted December 13, 2008 (edited) Never Mind...I feel like a dweeb. I guess I was not following your example to the letter...seems I felt the need to add a little somethig extra. Man, I feel dumb. Thanks, I may be missing something as I have tried your solution every way I can. When I enter find mode and enter data to a field I can then press the New Request on the tool bar and in the status area it show how many requests I have and processes them. The solution above seems just to start a new search. I hope I did not mess that up too badly. Jim Edited December 13, 2008 by Guest
comment Posted December 13, 2008 Posted December 13, 2008 If you're already in Find mode, then New Record/Request is all you need to add a new request.
Totes Posted December 13, 2008 Author Posted December 13, 2008 That is exactly where I went wrong. Thanks again.
Totes Posted December 13, 2008 Author Posted December 13, 2008 With that out of the way...is there a way to have the new or second request copy and paste the contents of three fields to the new request? I have 12 fields on the layout which I will start the original search from, when I add the second request I would like to have the data from three of those fields come over with the new request. I have tried the copy and paste but it seems it can only be done on one field.
comment Posted December 13, 2008 Posted December 13, 2008 I don't quite follow. When you are in Find mode, there's no data in fields (except global fields). So you cannot make it work even with one field. Why don't you back up and explain what this is all about?
Totes Posted December 13, 2008 Author Posted December 13, 2008 (edited) If I enter find mode, I have 4 fields that I type text into...lets say field 1: Cat, field 2: Dog, Field 3: Duck. I have another field called Name: In that field I enter Bill. Now this search will be for Bill, cat, dog and duck. I do not execute the search but I add a new request which I want to search for the same animails but for Tom. Is there a way to bring the Cat, Dog and Duck over to the same fields on the new request and of course I would enter Tom in the name and then execute the find for both Tom and Bill and their Cat, Dog and Duck? I can copy and paste (script step) the first field "Cat" but that does not work for the other two fields for Dog and Duck. This is what I attempted and it worked for one field but it will not work for the other two fields. Copy [select;Animals::Field_1] New Record/Request Paste[select;Animals::Field_1] I hope I have explained it, I usually mess the explaination up. If you can assist me with this one, I will leave you alone for a while and if you ever get around Atlanta my wife and I will buy you a steak dinner. Edited December 13, 2008 by Guest
comment Posted December 13, 2008 Posted December 13, 2008 How about: Duplicate Record/Request Set Field [ Name ; "" ] You could add a Go to Field[] step so that it will be ready for you to type "Tom". And you should probably put the whole thing in a If[] block, so that it only works in Find mode. BTW, copy and paste are for users, not for developers. To do this with copy and paste, you would need to go back and forth between the two requests. And you would overwrite whatever the user may have had in their clipboard.
Totes Posted December 13, 2008 Author Posted December 13, 2008 Did not know that about copy and paste...thanks again for all your assistance and time.
Recommended Posts
This topic is 5824 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