x++


Table: PrintMgmtSettings Field: Printjobsettings(Blob)


how can i convert the blob in the Field PrintJobSettings to String ?
PrintMgmtSettings rst;
container con = connull();
str vcon;
;
while select rst
{
con = rst.PrintJobSettings;
if (conlen(con)==1)
{
print conlen(con);
print conpeek(con,1);
...
}
...
}
You should be more specific with your needs. This container is probably a serialized (packed) instance of a PrintJobSettings class that you can unpack to instantiate a PrintJobSettings object that you can use in your code.
If you can specify what is your whole problem will be easier to find a solution.
To convert a container to string use con2str:
info(con2str(rst.PrintJobSettings));
This is unlikely to be of any practical use.

Related Links

What is “old sys” exactly and why would I receive errors in 2012 because of a missing Macro?
How to filter records in line grid based on selected record in header grid?
Dynamic linking gets cleared when inserting new records
Box::info showing “refreshEx”
How to filter lookup values on a dialogfield in Report Dialog based on another dialogfield in AX 2012 AOT reports?
Adding scrollbar to a Group in AX 2012 form
Table query inconsistent
AX2012 Sales Order Creation through AX Classes
How can I loop over Tables which contain specific characters in their AOT name and delete the data?
Having button that runs code, but doesn't submit data to (or validates against) table
Where are Duties (table name) stored in AX?
Advanced query range
How to read from an Excel file?
group by clause in X++
Determine the number of affected rows by an update_recordset call in Dynamics 4.0?
how to protect the x++ source code

Categories

HOME
fabricjs
linkedin
string
pagination
sitecore
devise
alarm
database-normalization
alsa
permissions
dojo
telegram-bot
ado.net
mapbox
vsm
frontend
google-chrome-app
speech-synthesis
gource
dimensional-modeling
asp.net-mvc-viewmodel
rubymotion
href
event-store
expressionengine3
user-defined-functions
sqsh
custom-controls
zend-debugger
hibernate-validator
spring-security4
xajax
sim-toolkit
watchman
google-earth-engine
z-notation
odroid
gdata
google-data-api
mongoose-schema
p4merge
setup.py
dcmtk
softmax
lpsolve
importerror
uiimage
jboss-4.2.x
netbeans6.8
insight
mongotemplate
lightning
podscms
pair-programming
sundials
cpu-cache
jtree
node-request
webjars
burrows-wheeler-transform
android-wake-lock
data-protection
yajsw
html-to-pdf
database-relations
findfirst
fuelcms
zen-cart
evolus-pencil
branch-and-bound
rdflib
aspectj-maven-plugin
fail2ban
j-security-check
cakephp-2.7
showdialog
crowd
sonarqube-5.0
big-ip
codeplex
live555
memset
authlogic
gtm-oauth2
c++builder-xe5
dajaxice
metaweblog
resharper-6.0
murmurhash
visualj#
unmanagedresources
dsoframer
mathematical-typesetting
pnrp

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App