Jump to content
Sign in to follow this  
SharkFin85

Insert calculated result

Recommended Posts

If for example i a field and i don't want it to appear in a layer but i want to use the "Insert Calculated Result" Script to put some data into this field, the field doesn't accept this data from the script....

Do someone know why??

Sorry for my English...

Share this post


Link to post
Share on other sites

Hi, and welcomd to the Forum.

What is the result of the field itself.

in other words, is it a calculation field, date, text, number, time, etc.

What is the calculation you are trying to insert into that field.

Are there any relationships involved.

Lee

Share this post


Link to post
Share on other sites

It's just a number field (not a calculation field).

The calculation is made by the "Insert Calculated Result" script step and the target is a number field and the calculation=1, the script start with a button from an other layout. It's all simple. The strange thing is that if i put the field in the layout everything is working, but if i delete the field from the layout (but not from the "define database>fields") its not working.

Edited by Guest

Share this post


Link to post
Share on other sites

If I'm understanding you correctly, you only want to insert a 1 into a number field? Try using the Set Field Script step instead. The Set Field doesn't require the field to be on a layout.

HTH

Lee

Share this post


Link to post
Share on other sites

Hi

use the script step:

Set field[ yourField ; 1 ]

P.S.:) pardon Lee, where do you came from ?

I didn't see you "On Line" ! ???

Share this post


Link to post
Share on other sites

Hi Danielle,

I'm a ghost. LOL

As a Moderator, I can hide from View.

I'm usually log in all day, lurking in The Shadow(s) (excuse me Shawn) ???:giggle:

Lee

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.