Jump to content









Photo

Delete date that arrives


  • Please log in to reply
2 replies to this topic

#1 bkonnet

bkonnet

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 19 March 2017 - 09:39 PM

Hello everyone
I am collecting data, but I need it when I get a value to erase this value from the base.
For example, whenever a -4 arrives it must be deleted from the database.
First of all, Thanks



#2 Yoleon

Yoleon

    Sugar Master

  • Members
  • PipPipPip
  • 31 posts

Posted 21 March 2017 - 11:43 AM

Hi Bkonnet,

 

I don't understand what it's your issue, please put some code to detect the issue.

 

I wait for your answer,

 

Yoleon



#3 Yoleon

Yoleon

    Sugar Master

  • Members
  • PipPipPip
  • 31 posts

Posted 22 March 2017 - 10:26 AM

Hi Bkonnet,

 

You can do next, send the data streams with the value "persist" in false. Then, with a listener, you can evaluate the value and if it's not -4 you can send a data stream with the value "persist" in true (by default it's true if you don't define the value).

 

I leave you a link to the documentation of data streams in case you want to take a look.

 

I wait for your answer,

 

Yoleon






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users