Re: saving RECNO() at result-sets through sql

From: Rick Bean (rgbean_at_unrealmelange-inc.com)
Date: 07/14/04


Date: Wed, 14 Jul 2004 09:09:24 -0400

Note: Using RECNO() in an SQL SELECT command is only reliable if you are only querying a single table. If you join multiple tables it's unlikely you'll get any meaningful results.

Rick

"Mark" <Mark@discussions.microsoft.com> wrote in message news:65FAADF5-4E2D-419E-AADE-9524D2A7E44E@microsoft.com...
> Hi
>
> SELECT YourFileds, ... , RecNo() AS Number FROM ... INTO
>
> hth
>
> Mark
>
> "Yong Mallare" wrote:
>
> > hi, please enlighten me on the following, thank you very much...
> >
> > 1. is there a way to store the recno() from a lookup file to a result file? i'm using vfp's query designer.
> >
> > 2. how can i add an additional field to the result file to store this recno() through vfp6.0's query designer? i'm planning to add a field to the lookup file just for the result file to have this field accomodate the recno() from the lookup file, is this the only way to address this problem?
> >
> > thanks much



Relevant Pages

  • Re: COBOL stored procedure for DB2
    ... Regarding how you precompile the app, you must specify target mfcob to db2 prep, rather than target ibmcob. ... Have you also confirmed that, prior to executing the CALL statement, the host variables specified within the client app have the appropriate values? ... MODIFIES SQL DATA ... confirm the cob command used for creating the SP module. ...
    (comp.lang.cobol)
  • Re: COBOL stored procedure for DB2
    ... Have you also confirmed that, prior to executing the CALL statement, the ... The DB2 CREATE PROCEDURE statement. ... MODIFIES SQL DATA ... confirm the cob command used for creating the SP module. ...
    (comp.lang.cobol)
  • Re: Can I get Consultancy advice on SQL/Fox in the UK (South East)
    ... My problem is the two Sequel Server tables within one database with which I ... Don't ask me why but the SQL designers have NOT ... command that I can initiate with SQLCONNECT, ... > While you're in the View Designer, right-click and view the SQL code. ...
    (microsoft.public.fox.helpwanted)
  • Re: Optimistic Concurrency on UpdateCommand...
    ... client device, I update that column with a non-null datetime and then try to ... 1!!!If I copy and paste the command ... With the 4th column not allowing nulls, the optimistic concurrency code ... Can I have a nullable datetime column in my Sql ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Select - SQL vs. SUM
    ... If you have to use an earlier version of VFP earlier than 9, ... >> also force VFP to read from the buffer with a new clause in the SQL ... >> The SELECT command doesn't move the record pointer in the grid's record ... >>> I have a grid whose recordsource is a table named _payments. ...
    (microsoft.public.fox.programmer.exchange)