Attachment Syntax Trouble

KPLEE
New Member

Getting wound up with my inability to see what MUST be a syntax error. Please help.

Table named - MASTER
Key Column is named - UNIQUEID
Trigger Column to fire a Workflow - CREATE PROPOSAL? (This is a YES/NO type)

Goal: When user entry clicks โ€œYESโ€ on Create Proposal a workflow will see it and dump an excel spreadsheet.

I have tried <<start: SELECT(, etc and <<start: FILTER(, etc, and all โ€œfailingโ€.

Consistent errors are invalid structures, invalid subaddresses, missing parenthes and of course the failure to generate REF values. I have it producing the spreadsheet empty, or, dumping ALL rows and columns but not JUST ye old โ€œYโ€ in its Column rows. .

Example of latest Failures include:
<<start: SELECT(โ€œMaster DBโ€ [UNIQUEID], AND([Create Proposal?] = โ€œTRUEโ€))>
<<start: Filter(Master DB [UNIQUEID], [Create Proposal?] = โ€œTRUEโ€)>>

All help appreciated. .

Solved Solved
0 2 158
1 ACCEPTED SOLUTION

Steve
Platinum 4
Platinum 4

This:

SELECT(โ€œMaster DBโ€ [UNIQUEID], AND([Create Proposal?] = โ€œTRUEโ€))

should be:

SELECT(Master DB[UNIQUEID], ([Create Proposal?] = โ€œTRUEโ€))

No quotes around table name when adjacent to column designation. AND() is superfluous. Note that = "TRUE" is unneeded when testing a Yes/No value for truth.

This:

Filter(Master DB [UNIQUEID], [Create Proposal?] = โ€œTRUEโ€)

should be:

Filter("Master DB", [Create Proposal?] = โ€œTRUEโ€)

Bare table name should be quoted. First argument of FILTER() should be a table name only, not a table column specification. And again, the = "TRUE" is not strictly needed.

See also:



View solution in original post

2 REPLIES 2

Steve
Platinum 4
Platinum 4

This:

SELECT(โ€œMaster DBโ€ [UNIQUEID], AND([Create Proposal?] = โ€œTRUEโ€))

should be:

SELECT(Master DB[UNIQUEID], ([Create Proposal?] = โ€œTRUEโ€))

No quotes around table name when adjacent to column designation. AND() is superfluous. Note that = "TRUE" is unneeded when testing a Yes/No value for truth.

This:

Filter(Master DB [UNIQUEID], [Create Proposal?] = โ€œTRUEโ€)

should be:

Filter("Master DB", [Create Proposal?] = โ€œTRUEโ€)

Bare table name should be quoted. First argument of FILTER() should be a table name only, not a table column specification. And again, the = "TRUE" is not strictly needed.

See also:



KPLEE
New Member

Bueno!! A salute of thanks!

Working!

Top Labels in this Space