Jump to content

create record on FM8-Server


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

Recommended Posts

Hi!

I have the following problem:

This Script works fine on a local database.

If the same database is running on an Server (fm8v2), then the same filemaker client has on access to the record ids and got an error:

tell application "FileMaker Pro Advanced"

tell database "Programm_Import"

show layout "Programme_zum_Einspielen"

tell table "Programme_zum_Einspielen"

set newrecord to create new record

save

set cell "Programmname" of newrecord to "test"

end tell

end tell

end tell

I have tested this on 2 different machines with the same result.

Does anybody have a solution for this?

best regards,

karo.

Link to comment
Share on other sites

Hi!

Now I have found myself a solution.

If the database is running on the server, it seems that this thing works:

set newRec to create new record at table xy

Then I get the right ID with full access.

Don’t ask me why there is a different behaivor...

best regards,

karo.

Link to comment
Share on other sites

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