Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SELECT * ;
FROM MyTable;
WHERE <whatever>;
[b][u]ORDER BY <whatever>[/u][/b];
INTO TABLE/CURSOR Results
pcwaleed said:data siplit just to 2 feilde by 1 or 2 exactly like this report
SELECT IIF(ID=1, TRANSFORM(Amount,"999999"), REPLICATE(" ",6)) AS Field1,;
[indent]IIF(ID=2, TRANSFORM(Amount,"999999"), REPLICATE(" ",6)) AS Field2,;[/indent]
[indent]ID;[/indent]
[indent]FROM MyTable;[/indent]
[indent]INTO CURSOR Results READWRITE[/indent]
SELECT IIF(ID=1, Amount, 0) AS Field1, ;
IIF(ID=2, Amount, 0) AS Field2, ;
ID;
FROM MyTable ;
ORDER BY ID ;
INTO CURSOR Results READWRITE
SELECT CAST(IIF(ID=1, Amount, 0) as int) AS Field1, ;
CAST(IIF(ID=2, Amount, 0) as int) AS Field2, ;
ID;
FROM MyTable ;
ORDER BY ID ;
INTO CURSOR Results READWRITE
the second iif statement return star like this