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

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

Recommended Posts

  • Newbies
Posted (edited)

I have a seemingly simple problem with an insert file script not functioning. When I click the button the OS browse file dialogue doesn't pop up. I guess you could say - nothing happens.

One important note is that the container field is tied to a related table. For example I have a form from one table called publishers. On that form is a container field from another properly related table called Documents. Using this setup the context ( right click ) dialogue doesn't even show the typical "insert" options.

As a test I added the field to the "publisher" table directly and altered the script to insert into the publisher field and it works fine.

I'm a relatively new developer but I have no idea why something as simple of this wouldn't be working. I've got an export file script that is working perfectly - dialogue pops up no problem. Ideas?

Edited by Guest
Posted

Nothing is going to happen, unless you either specify the target field in the script step, or put your cursor in a container field before calling the script.

  • Newbies
Posted

One important note is that the container field is tied to a related table. For example I have a form from one table called publishers. On that form is a container field from another properly related table called Documents. Using this setup the context ( right click ) dialogue doesn't even show the typical "insert" options.

As a test I added the field to the "publisher" table directly and altered the script to insert into the publisher field and it works fine.

Posted

I don't think it should matter if the container field is related or local - as long as it is on the current layout and activated. The context menu works for me equally well for both.

  • Newbies
Posted

I may need to send my solution to you to see what I'm seeing because it is very definitely not allowing for selection if it is a related table.. strange. I'm sure it's a simple fix, though I don't know what it is. I've temporarily added the file container field to the native table so I can move on but would be very interested in why I ran into the problem..

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