Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record pointers on empty cursors/tables
Message
De
02/02/2004 09:46:08
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00872917
Message ID:
00872929
Vues:
24
>It's not going to work because RECNO() = 1 for empty table/cursor.
>
Hi Sergey;

Is there anything wrong with this code ?
cAlias = ALIAS()

nRecNo = RECNO()


*Do Something


if  empty(cAlias)
else
    SELE (cAlias)
    if  nRecNo <> 0 .and. nRecNo =< reccount()
        GOTO nRecNo
    endif
endif
I'm asking you because.. IMO, this is the right stuff for Jay.. Don't you thing so ?

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform