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 MyTable
COPY TO laSomeArray FIELDS Name, Address, Phone, ....
SELECT * FROM MyTable INTO ARRAY laSomeArray
I need only one row not entire table.
SELECT TOP 1 * FROM MyTable ORDER BY 1 ;
INTO ARRAY laSomeArray
HE NEEDS ONE ROW!
Paco75 said:i was not clear on my post. I need only one row not entire table.
SELECT * ;
FROM MyTable;
WHERE ThisFldVal = 25;
ORDER BY 1 ;
INTO ARRAY laSomeArray
* physical order, no tagname used:
SELECT tablealias
GOTO N
lnSkip = N-1
SELECT tablealias
SET ORDER TO tagname && optionally ASCENDING/DESCENDING
GO TOP
SKIP lnSkip
lnSkip = N-1
SELECT tablealias
SET ORDER TO tagname &&optional for physical record order
LOCATE FOR somecondition
Do While FOUND() And lnSkip>0
CONTINUE
lnSkip = lnSkip -1
EndDo
IF FOUND()
* nth record found
ENDIF
IF SEEK(primary key value,"tablealias","tagname")
*found record
ENDIF
Select tablealias
GOTO 3
SCATTER NAME loRecord1 MEMO
GOTO 5
SCATTER NAME loRecord2 MEMO
GATHER NAME loRecord1 MEMO
GOTO 3
GATHER NAME loRecord2 MEMO