I'd tried that but it wouldn't return 0 if non-blank and not numeric ie something like ABC in the field also. It failed with an error.
I assume that test only works if there's a numeric value or nothing.
I'm on v29 btw
Need more, need help now?
- - - - - - - - - - - - - - - - - - pay-as-you-go support - no contract - tenth of an hour billing - expert help - fast service - no call queues
Need integration?
- - - - - - - - - - - - - - - - - - with your shipping system - website - invoicing system - crm - cms - manufacturing - order import - back to back orders..
Need a report?
- - - - - - - - - - - - - - - - - - Excel reporting that pulls data from Sage - custom layouts - layouts that change adapt to your brands and/or for drop shipping.
Want web hosting?
- - - - - - - - - - - - - - - - - - Your own domain name - email - a shop - wordpress - woo commerce - ticket systems - help desks - forums - portals
- - - - - - - - - - - - - - - - - - pay-as-you-go support - no contract - tenth of an hour billing - expert help - fast service - no call queues
Need integration?
- - - - - - - - - - - - - - - - - - with your shipping system - website - invoicing system - crm - cms - manufacturing - order import - back to back orders..
Need a report?
- - - - - - - - - - - - - - - - - - Excel reporting that pulls data from Sage - custom layouts - layouts that change adapt to your brands and/or for drop shipping.
Want web hosting?
- - - - - - - - - - - - - - - - - - Your own domain name - email - a shop - wordpress - woo commerce - ticket systems - help desks - forums - portals
Search found 6 matches
- 28 Apr 2026, 15:26
- Forum: Sage 50 Report Designer
- Topic: Test a text field for numeric values
- Replies: 4
- Views: 3383
- 28 Apr 2026, 12:02
- Forum: Sage 50 Report Designer
- Topic: Test a text field for numeric values
- Replies: 4
- Views: 3383
Re: Test a text field for numeric values
Thanks Bruce
I ended up with 2 Expressions
Expr3 = Length(PURCHASE_ORDER.ANALYSIS_1) <> 0 ? Substring(PURCHASE_ORDER.ANALYSIS_1,0,1):"-"
Expr2 = Expr3 <> "-" ? Expr3 <= "9" ? StringToInteger(PURCHASE_ORDER.ANALYSIS_1) : 0 :0
Could I have done this more efficiently ?
I ended up with 2 Expressions
Expr3 = Length(PURCHASE_ORDER.ANALYSIS_1) <> 0 ? Substring(PURCHASE_ORDER.ANALYSIS_1,0,1):"-"
Expr2 = Expr3 <> "-" ? Expr3 <= "9" ? StringToInteger(PURCHASE_ORDER.ANALYSIS_1) : 0 :0
Could I have done this more efficiently ?
- 24 Apr 2026, 12:45
- Forum: Sage 50 Report Designer
- Topic: Test a text field for numeric values
- Replies: 4
- Views: 3383
Test a text field for numeric values
Hi
Is there any way in RW you can test a field for numeric values ?
A PO analysis field is being used under certain circumstances for a numeric identifier but can also be text or blank.
I've got a check based on length of the field <> 0 to see if it has any data in it but if it's numeric I'd like ...
Is there any way in RW you can test a field for numeric values ?
A PO analysis field is being used under certain circumstances for a numeric identifier but can also be text or blank.
I've got a check based on length of the field <> 0 to see if it has any data in it but if it's numeric I'd like ...
- 21 Feb 2023, 15:43
- Forum: Sage 50 UK version General Help
- Topic: Project Activity - what files do I need to access for actual costs
- Replies: 1
- Views: 22322
Project Activity - what files do I need to access for actual costs
Feel free to move this question to the correct section.
I'm trying to accumulate actual material costs for a project to give me a one line actual v budget report .but cant fathom out where that data comes from when you look at the Project Activity screen. Any help gratefully received
I'm trying to accumulate actual material costs for a project to give me a one line actual v budget report .but cant fathom out where that data comes from when you look at the Project Activity screen. Any help gratefully received
- 19 Jul 2013, 15:48
- Forum: Sage 50 UK version General Help
- Topic: BOM ON GDN
- Replies: 10
- Views: 13683
Re: BOM ON GDN
I just about understand what Sections are all about but I don't understand using them within an existing section. (They seem to need some form of grouping which I don't really need and I wouldnt know where to start as I only need the Despatch Note in the default order for invoices).
I think I'll ...
I think I'll ...
- 16 Jul 2013, 11:16
- Forum: Sage 50 UK version General Help
- Topic: BOM ON GDN
- Replies: 10
- Views: 13683
Re: BOM ON GDN
I have a similar issue trying to print despatch notes from invoice data. I would like to print the BOM where a product has one and suppress the printing when it doesnt.
I can almost do it but get a lot of blank lines because a line of underscores remains even though I'm using the same criteria to ...
I can almost do it but get a lot of blank lines because a line of underscores remains even though I'm using the same criteria to ...