I'm querying a db for a particular invoice and given the date of that invoice I only want the lines which fit the date range from the above table.
At the moment I've got the following on a formula field:
IF
{SINVOICE.ACCDAT_0} in currentdate
THEN
ToText ({TABVAT.VATRAT_0}) + "%"
ELSE IF {SINVOICE.ACCDAT_0} in Date({TMPRATE.STRDAT_0}) to Date({TMPRATE.EndDate})
THEN
ToText ({TMPRATE.Rate}) + "%"
This however is bringing up three lines for each record on my invoice lines.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum