# Transaction Block Group Item Pattern Wildcards

**URL:** <https://forum.inductiveautomation.com/t/transaction-block-group-item-pattern-wildcards/4073>\
**Category:** Ignition\
**Created:** [February 27, 2012, 10:29pm UTC](https://forum.inductiveautomation.com/t/transaction-block-group-item-pattern-wildcards/4073 "2012-02-27T22:29:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![0sm0](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/0sm0/32/15228_2.png) [@0sm0](https://forum.inductiveautomation.com/u/0sm0)\
**Post date:** [February 27, 2012, 10:29pm UTC](https://forum.inductiveautomation.com/t/transaction-block-group-item-pattern-wildcards/4073/1 "2012-02-27T22:29:00Z")

</div>

Hi Guys,

I was wondering if there was any way to allow for multiple wildcard entries into the Group Item Pattern Address template?

I have `[test]Global.PC_DL{??}.PC_DL00[0]` with range 0 - 100

But I would like to be able to increment further with `[test]Global.PC_DL{??}.PC_DL{??}[0]`

Both to have same or different ranges.

Is this possible?

Cheers

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [February 27, 2012, 11:42pm UTC](https://forum.inductiveautomation.com/t/transaction-block-group-item-pattern-wildcards/4073/2 "2012-02-27T23:42:48Z")

</div>

Sorry, it’s not currently possible. It’s conceivable that for the next major version of the SQL Bridge module we could make this more dynamic, where it detects any number of patterns, and then displays editors for each below.

In the mean time, I would do the following:

1. Make the block item list based instead of range.
2. Add a few values.
3. Export to XML, and find the line that defines one of the values.
4. Parameterize that line, and use python to print that out a bunch of lines with the values you want.
5. Paste those into the XML and reimport it.

I’ve done stuff like this a number of times inside of Ignition, from the script playground, or by just throwing a button on a screen. Specifically, for your example, this would generate 10 values:

`p = """<String>[test]Global.PC_DL%02d.PC_DD%02d[0]</String>"""
for i in range(0,10):
	print p%(i,i)`

Hope this helps,

---

<div class="post-metadata">

**Author:** ![0sm0](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/0sm0/32/15228_2.png) [@0sm0](https://forum.inductiveautomation.com/u/0sm0)\
**Post date:** [February 28, 2012, 9:11am UTC](https://forum.inductiveautomation.com/t/transaction-block-group-item-pattern-wildcards/4073/3 "2012-02-28T09:11:35Z")

</div>

Cheers Colby,

I exported out and used Excel to rejig.

Yet to get my head around Python… 😕

---

<div class="post-metadata">

**Author:** ![liuwf2139](https://avatars.discourse-cdn.com/v4/letter/l/48db29/32.png) [@liuwf2139](https://forum.inductiveautomation.com/u/liuwf2139)\
**Post date:** [July 14, 2019, 4:35am UTC](https://forum.inductiveautomation.com/t/transaction-block-group-item-pattern-wildcards/4073/4 "2019-07-14T04:35:50Z")

</div>

Hi, @Colby.Clegg , is it possible to use multiple {?} to indicate mutiple placeholder in Version 8.0.2 now?
