Information générale
Catégorie:
Codage, syntaxe et commandes
>I did a SQL select command like below,
>
>SELECT YELLOWPAGE.NAME, YELLOWPAGE.HOME, YELLOWPAGE.OFFICE,;
> YELLOWPAGE.BEEPER;
>FROM DATA1!YELLOWPAGE ;
>WHERE YELLOWPAGE.NAME = example ;
>ORDER BY YELLOWPAGE.NAME, YELLOWPAGE.HOME)
>
>and wanted to display it's output not by default style,
>But by the Form which contains grid class that I made.
>but I found it's very difficult.
>Is there any way to do it?
If I understand you correctly, I usually SQL-Select to a cursor and then use the cursor as the control source for the grid components.
SELECT YELLOWPAGE.NAME, YELLOWPAGE.HOME, YELLOWPAGE.OFFICE,;
YELLOWPAGE.BEEPER;
FROM DATA1!YELLOWPAGE ;
WHERE YELLOWPAGE.NAME = example ;
ORDER BY YELLOWPAGE.NAME, YELLOWPAGE.HOME) ;
INTO CURSOR yellowpage
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement