Accessosaurusrex
Registered User.
- Local time
- Today, 03:35
- Joined
- Oct 18, 2010
- Messages
- 28
I have a database that has been working fine but one field was listed as text. As it turns out the field is used strictly for numbers and we would like the reports generated to be grouped by a sequential list of numbering from that field. I simply converted the field to a number type rather than a text field. Looked good until I noticed many of the barcoded reports started failing. On the barcode reports I have a text box with the following data:
=("*"+[AllQueryNoNS.Element]+"-"+[AllQueryNoNS.Mark]+"-"+[AllQueryNoNS.Weld]+Nz([AllQueryNoNS.RorRR])+"/T/"+[AllQueryNoNS.Root]+"*")
This results in a barcode which states for example *23A-65-6R/T/X*
Now that I have converted the "Weld" field to a number only, I get errors. Is there another way to handle a numerical field value in this report to achieve the end result? All other fields are text fields. The 6 just before the "R" in the above example is the field for weld.
If not is there a way to tell Access to sort the text field in a numerical fashion instead of text? For example 1, 2, 3, 10, 11, 20 instead of 1, 10, 11, 2, 20, 3? If so I can reconvert that field to text.
Thanks for your time.
=("*"+[AllQueryNoNS.Element]+"-"+[AllQueryNoNS.Mark]+"-"+[AllQueryNoNS.Weld]+Nz([AllQueryNoNS.RorRR])+"/T/"+[AllQueryNoNS.Root]+"*")
This results in a barcode which states for example *23A-65-6R/T/X*
Now that I have converted the "Weld" field to a number only, I get errors. Is there another way to handle a numerical field value in this report to achieve the end result? All other fields are text fields. The 6 just before the "R" in the above example is the field for weld.
If not is there a way to tell Access to sort the text field in a numerical fashion instead of text? For example 1, 2, 3, 10, 11, 20 instead of 1, 10, 11, 2, 20, 3? If so I can reconvert that field to text.
Thanks for your time.