on ‎2011 Nov 23 1:00 PM
Hi experts,
I'm sitting with an issue with a formatted search currently.
The FMS looks like this:
SELECT $[$38.14.NUMBER] FOR BROWSE
This works for anything under 999 but as soon as it goes over 1,000 i get the error as it says in the title.
It seems that the , in the number is screwing us around. How can i get past this without changing the display options?
Thanks
Reinhardt
Request clarification before answering.
Gordon,
You're right, i just noticed that the field is a rate field. Would this be possible to convert then to numeric?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thx Rahul, but it didn't work.
Awarding Gordon the points as i just did that and it works now.
Thanks Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi........
Just try this.......
Declare @Rate as int
Set @Rate=$[$38.14.Number]
Begin
Select @Rate
EndHope this will help you......
Regards,
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are trying to avoid the "changing of the thousand seperator". I need to do this through SQL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still the same error without the browse.
I think i need to convert the number somehow. For example:
If the price is 1,500 i need to convert it to 1500 (without the comma).
because if i take off the thousand seperator under administration - system initialisation - General - display, it works well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reinhardt,
You do not need for browse here.
Try: SELECT $[$38.14.number\]
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 58 | |
| 29 | |
| 21 | |
| 11 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.