APPENDIX
Länkfrågor (Link syntax)
Värden & funktioner
14 min
värdedelen av frågan är den enda obligatoriska delen och identifierar den specifika informationen som söks det finns många typer av värden som kan hämtas och alla kan ha ett prefix eller ett suffix prefixtecken är applikationsspecifika och används för att plocka ut olika typer av data suffixtecken används för att dela på värden start §relation{filter} \[prefix]värde\[suffix] \[prefix]värde\[suffix] fält fält är individuella databasfält som kan hittas direkt i databasen fält är av standardvärdetypen så vad som än skrivs in som värde behandlas som ett enda värde om det inte finns något id tecken före det fältnamn skiljer heller inte på gemener och versaler för att ta reda på ett fältnamn, hovra med muspekaren över fältet för att visa information om fältet för en urvalslista är det textfält som gäller, för övriga fält datafält konstanter konstanter används för att tvinga specifika värden till länkade detaljer i ritningar utan att informationen finns lagrad i någon tabell i databasen språk specifika värden kan hanteras på det här sättet så att mallarna inte måste ändras för varje projekt konstanter ska omgärdas av tecknen " " samt utelämna start och relation från länksyntaxen när konstanter används det är också möjligt att kombinera en konstant med innehållet i ett fält genom att sätta ihop en formel parameter värde i sitebase resultat kommentar "kulventil" kulventil ="kulventil" & "\[posp]" 402hv0412 kulventil 402hv0412 se avsnitt om formler egenskaper egenskapsvärden inleds med ett prefix, utropstecken (!), det talar om för sitebase att det är en egenskap som ska hittas efter tecknet anges egenskapsvärdet eller dess kod egenskapskoden hittas i egenskapsformuläret parameter värde i sitebase resultat kommentar !23 57 m 57 m komplett egenskapsvärde !height 57 m 57 m egenskapskod istället för värde specialfunktioner (#) funktioner som kan används för att hämta värden efter ett speciellt regelverk några av dessa funktioner är även språkkänsliga och returnerar den korrekta informationen beroende på språkinställningarna (rapport ändelse) en specialfunktion har prefixet # 143,489,111 true unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type områdesuppdelning (splittning) ofta finns behov av att dela upp innehåll från ett fält, de kan exempelvis vara flerradiga textfält, sammansatta egenskaper osv allmänna allmänna syntax för att dela upp uppgifter parameter värde i sitebase resultat kommentar descriptiona\@2| textrad 1 textrad 2 textrad 2 2\ a raden i ett textfält descriptiona@! | text 1 text 2 text 1 text 2 ersätter radbrytning med ett mellanslag posp@# 12 ab 34 12 första numeriska värdet posp@+? 12 ab 34 12 ab alla tecken till och med sista alfanumeriska tecknet posp\@ ? 12 ab 34 ab 34 alla tecken från och med första alfanumeriska tecknet egenskaper syntax för att dela upp egenskapsvärden och enheter parameter värde i sitebase resultat kommentar !23 27 m 27 m komplett värde !<23 27 m 27 endast värde !>23 27 m m endast enhet !4013 165 / 170 / 185 m³/h 165 / 170 / 185 m³/h komplett värde !4013#1 165 / 170 / 185 m³/h 165 °c 1\ a värde + enhet !4013#2 165 / 170 / 185 m³/h 170 °c 2\ a värde + enhet !<4013#3 165 / 170 / 185 m³/h 185 3\ e värde utan enhet formler (visual basic script) egna funktioner som utnyttjar visual basic script (vbs) kan utnyttjas formeln inleds med ett "=" tecken och värdereferensen omgärdas med tecknen \[ ] en värdereferens kan vara någon av dem som beskrivs i detta avsnitt resultatet av utvärderingen av värdereferenser måste följa vbs syntax ska resultatet av en värdereferens behandlas som en text måste det också omgärdas av " " tecken syntax \=\[värde] operator \[värde] (kan formeln inte utvärderas returneras #error#) funktioner 278,466 true unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type allmänna funktioner allmänna funktioner för att slå samman fält osv 100,274,100,269 true unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type formatering (format) formatering av värden är användbara vid länkning av exempelvis datumuppgifter i ritningshuvud se https //learn microsoft com/en us/office/vba/language/reference/user interface help/format function visual basic for applications 132,283,100,228 true unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type villkor (iif) villkor är ofta användbara vid formler för pos och dokumentnumrering 279,464 true unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type systemparametrar systemparametrar är nyckelord omgärdade av $ tecken, dessa är fördefinierade i sitebase parameter exempel beskrivning $opt$ description$opt$ en språkparameter som anges i sitebase appserver kan normalt vara a (alternativt språk) eller s (standard språk) resultatet i exemplet blir descriptiona eller descriptions beroende på språkinställning $opt$ pos$opt$ posnummer posp eller poss beroende på språkinställning

