Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6073077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:13:52+00:00 2026-05-23T10:13:52+00:00

Hi all i have declared a global vriable with 2 repetition, set variable [$$arr[2];value:9557878322]

  • 0

Hi all i have declared a global vriable with 2 repetition,

set variable [$$arr[2];value:”9557878322″]

as i know i have declared it with 2 repetition so that it should store maximum two value but i dont know how to insert multiple value when we declare global variable with more then 1 repetition.

what i want : declare global variable with repetition 2
it will look like $$arr[2]
i want to insert two values so that arr1 refer first value and arr[2] refer 2nd value……

Here i have entered a snap where u can see thet i have declared repetition 2..

Thanks in advance.enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:13:53+00:00Added an answer on May 23, 2026 at 10:13 am

    If you’re happy using valuelists, then you don’t need a 2 repetition variable. Instead once you’ve set your $arr as you’ve shown in the screen shot, just use

    MiddleValues ( $$arr ; index ; 1 )

    to retrieve the the value at [index] (remembering that it will have a return attached), and

    $$arr = $newValue & ¶ & RightValues ( $$arr ; 1 )

    to set the first value, or

    $$arr = LeftValues ( $$arr ; 1 ) & ¶ & $newValue

    to set the second value.

    HOWEVER, I suspect you might be better off altogether taking a look at Passing Named Parameters and Dictionary Functions which outline some useful tricks for storing values in dictionaries – there are a whole slew of custom functions that you’ll probably find useful for working with associative arrays in FileMaker.

    You’re assignment in your dialog box might look something like:

    Name: $arr
    Value: #(“1” , 9557878322 ) & #(“2” , 8430695900 )

    and the values could be retrieved as

    #?($arr , “1”)

    or

    #?($arr , “2”)

    or reset using

    #c($arr, “1” , 1234 )

    The syntax of these new custom functions ( # , #? and #c ) takes a bit to get used to, but it may be the sort of things that you could use for this task, but which would also broaden how you use calcs in FileMaker in the future too. Or not 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a header file variable.h where i declare all my global variable.Then i
Is it possible to have the Bluetooth RFCOMM socket declared as a global variable,
I have declared a variable NSString sessionId; in app delegate file for global usage.
I have a VB application, that uses some global variables to store data that
I have three classes that all have a static function called 'create'. I would
I'm sure we all have received the wonderfully vague Object reference not set to
I have a bunch of projects in parallel subdirectories that all have etc/lighttpd.conf files.
I have a MFC dialog with 32 CComboBoxes on it that all have the
I have a database with Points of Interest that all have an address. I
So I have a form with lots of controls that all have a tab

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.