VoxCommando Forum

Help and Support (Using VoxCommando) => VoxCommando Basics and Core Features => Topic started by: Haddood on May 28, 2015, 05:26:27 PM

Title: Map delete key
Post by: Haddood on May 28, 2015, 05:26:27 PM
is there a way to delete a map entry ? maybe using Map.Query with SQL delete ... if so some examples will be great help (been more than 5 years since i last wrote sql queries)
Title: Re: Map delete key
Post by: PegLegTV on May 28, 2015, 05:41:19 PM
in the example below where it says "PTVL" (without the "") is the map name

in between the "" where it says Map Key is where you will put the key that you want to delete


<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.4.5-->
<command id="1184" name="Delete map entry" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Map.Query</cmdType>
    <params>
      <param>delete from PTVL where fromKey="Map Key"</param>
    </params>
    <cmdRepeat>{#M}</cmdRepeat>
  </action>
</command>


hope this is what you are looking for

Note: Post by Jitterjames on deleting map key's  http://voxcommando.com/forum/index.php?topic=1649.msg14354#msg14354 (http://voxcommando.com/forum/index.php?topic=1649.msg14354#msg14354)
Title: Re: Map delete key
Post by: Haddood on May 28, 2015, 06:27:57 PM
Quote from: PegLegTV on May 28, 2015, 05:41:19 PM

hope this is what you are looking for


Bulls Eye ... and sorry for re-posting I did search the forum ... for some reason I did not find the mentioned post
Title: Re: Map delete key
Post by: PegLegTV on May 28, 2015, 06:49:40 PM
I did the same thing a couple months back with the same thing  :bonk lol