Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

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

Posted

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.

Posted (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 by Guest
Posted

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.

Posted

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?

Posted (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 :B and if you ever get around Atlanta my wife and I will buy you a steak dinner.

Edited by Guest
Posted

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.

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 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.