April 30, 200817 yr Newbies 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 May 1, 200817 yr by Guest
April 30, 200817 yr 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.
May 1, 200817 yr Author Newbies 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.
May 1, 200817 yr 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.
May 1, 200817 yr Author Newbies 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..
May 1, 200817 yr You can post your file here. Preferably a copy with all non-essential parts deleted.
Create an account or sign in to comment