NetTalk Central

Author Topic: Web39 Message Log - How to get MAI:MailBoxName in message log?  (Read 2727 times)

dcpeders

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
I am experimenting with WebApp 39 MessageBox, using clarion 6.3 and Nettalk 7.10

In the embed for the mailboxes browse control "Call clicked    routine", I am adding: message(MAI:MailBoxName), but it comes up blank in the log file.

Is there a formatting issue in the message or do I need to some how load the session values first?

Thanks,

Dave Pederson

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Web39 Message Log - How to get MAI:MailBoxName in message log?
« Reply #1 on: June 20, 2013, 07:43:08 AM »
Hi Dave,

when the user clicks on a row the rowID is sent to the server, and the server sets the session value of that ID. At that point it does not fetch the record from the disk, and it does not prime any of the other fields (session value or not.)

In other words;
message(p_web.GetSessionValue('MAI:MailBoxNumber'))
will work, but if you want any other part of the MAI record, you'll need to open the table, and read the record yourself.

cheers
Bruce


dcpeders

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Re: Web39 Message Log - How to get MAI:MailBoxName in message log?
« Reply #2 on: June 20, 2013, 07:46:01 AM »
Thanks again Bruce, getting my head around the web is taking some time.

I like the message box log.

Dave