[progress Communities] [progress Openedge Abl] Forum Post: Jsrecord Not Returning Field

  • Thread starter Thread starter mflanegan
  • Start date Start date
Status
Not open for further replies.
M

mflanegan

Guest
Hi there, I am currently trying to access an individual field from from the dataset file that was returned by the appserver. The following is an example from my code: var dataSet = new progress.data.JSDO('beLogin'); dataSet.fill(btoa(userfilter),"").done ( function(jsdo, success, request) { jsdo.foreach( function(jsrecord) { console.log("username: " + JSON.stringify(jsrecord.data.username)); }); console.log("Login Success!"); }) Each time this is run, it returns undefined. If i just message out: console.log("username: " + JSON.stringify(jsrecord.data)); The full dataset is returned, consisting of the temp table and all its fields. How can I access a specific field? Thanks in advance.

Continue reading...
 
Status
Not open for further replies.
Back
Top