Hi,
There's a calculated field (input type: number) in a subform. The expected output should be 193.2. What's going wrong?
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Calculated Field - weird format
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
Calculated Field - weird format
You do not have the required permissions to view the files attached to this post.
Re: Calculated Field - weird format
toms,
I can't think why.
If you uploaded a stripped down copy of your db (with just the problem bits in it) I could take a look for you.
Steven
I can't think why.
If you uploaded a stripped down copy of your db (with just the problem bits in it) I could take a look for you.
Steven
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
Re: Calculated Field - weird format
Steve, thank you for offering your help. Let me just give you some more details first. I noticed that there is a N| prefix. When I remove it in the developer console, the format of the calculated field will look alright.
You do not have the required permissions to view the files attached to this post.
Re: Calculated Field - weird format
toms,
That N| is supposed to be there (N| is for numbers, D| is for date formats).
Have you created any of your own Formats and tried them?
http://wiki.nubuilder.net/nubuilderfort ... at_Builder
I cannot reproduce the problem.
I'm happy to look at your db.
Steven
That N| is supposed to be there (N| is for numbers, D| is for date formats).
Have you created any of your own Formats and tried them?
http://wiki.nubuilder.net/nubuilderfort ... at_Builder
I cannot reproduce the problem.
I'm happy to look at your db.
Steven
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
Re: Calculated Field - weird format
Yes, I created my own format. It looks like this: This is what's happening behind the scenes. The variable m = "1000 13i000" and this is exactly what I see in the calculated field. The subform and calculated field:admin wrote:Have you created any of your own Formats and tried them?
http://wiki.nubuilder.net/nubuilderfort ... at_Builder
You do not have the required permissions to view the files attached to this post.
Re: Calculated Field - weird format
toms,
Try putting a sign in front of your formats (you can arrow up and down to choose from some defaults).
It's a bug that needs fixing but try that.
Steven
Try putting a sign in front of your formats (you can arrow up and down to choose from some defaults).
It's a bug that needs fixing but try that.
Steven
You do not have the required permissions to view the files attached to this post.
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
Re: Calculated Field - weird format
Adding a sign doesn't help either.
You do not have the required permissions to view the files attached to this post.
Re: Calculated Field - weird format
toms,
You have changed the Format but you may need to reselect it in the Edit Form.
The 2 things are not automatically linked.
I will fix the dodgy field position problem in Format too sometime.
Steven
You have changed the Format but you may need to reselect it in the Edit Form.
The 2 things are not automatically linked.
I will fix the dodgy field position problem in Format too sometime.
Steven
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
Re: Calculated Field - weird format
This is what I did. For now, I just set no format at all since this works.admin wrote:You have changed the Format but you may need to reselect it in the Edit Form.
The 2 things are not automatically linked.
Re: Calculated Field - weird format
toms,
I believe I have fixed the problem you were having now - latest Github.
Steven
I believe I have fixed the problem you were having now - latest Github.
Steven