كيف يمكن إدراج أحد الحقول بماسك محدد عن طريق أحد مسارات الكيان؟

Viewed 0

عند استخدام مسار كيان مثل EAFieldsValuesCalculator، كيف يمكن إدراج القيم بالحقل بشكل (Mask) محدد؟


Originally posted at https://answers.namasoft.com/question/856/ on 2019-04-09.

1 Answers

يمكن تحديد القيمة التالية في المدخل 1 لمسار الكيان:

altCode=mask(code,XXX.XXX.XXX)

مع ملاحظة أن X هنا تعبر عن حرف في الكود الأصلي، أي حرف سوى X سيتم إضافته إلى الناتج.

أمثلة:

The number 111222333 with the mask XX.XXXX.XX will be 11.1222.333

The number 1122 with the mask XXxXX will be 11x22


Originally posted at https://answers.namasoft.com/question/856/ on 2019-04-09.