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

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

Recommended Posts

  • Newbies
Posted

Hi, Could someone please help me on this..

I have 3 field with a repetitions 1-10, and i want to create a botton that will copy the texts of that 3 field into an other layer/field with a proper format

I tried

Set Field [textbox2; textbox2 & ", " & textbox1]

but the result really messy and and it not work with repetitons 1-10

Posted

Hi

too bad that you haven't the List ( ) function !

The script would be as simple as:

Set Field [ yourDB::field1; Subtitute ( List ( yourDB::rep1 ) ; ¶ ; ", " )

for each repeating field (rep)

  • 2 weeks later...
  • Newbies
Posted

Hi raybaudi

I tried your way but i don't understand it

what i tried to do is save 3 fields into field1 on a different table. and everytime i press the button new data from that 3 fields keep on saving into field1

log.zip

Posted

Try this.

Create a repeating calc field (as many reps as your other repeating fields):P

Case ( not IsEmpty ( description ); Extend ( datefield ) & ", " ) & description

Then create a value list zUtilField and reference the calc field.

Finally set the script to be

Set Field [ save::log; ValueListItems ( Get ( FileName ) ; "zUtilField" ) ]

This topic is 6478 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.