Next Serial Value

  • Follow


FMP 8.02 or 8.03 ; MacOSX 10.4.7 PPC

I need the Next Serial Value of a field, but I can't get it from
GetNextSerialValue ( Get ( FileName ) ; table::field )

by script or calc

What are the specs of this function ?
-- 
Philippe Manet
0
Reply pmanet (75) 8/15/2006 4:44:44 PM

It's a really stupid, inconsistent thing, but you need to put the 
table::field in quotes.

manet wrote:
> FMP 8.02 or 8.03 ; MacOSX 10.4.7 PPC
> 
> I need the Next Serial Value of a field, but I can't get it from
> GetNextSerialValue ( Get ( FileName ) ; table::field )
> 
> by script or calc
> 
> What are the specs of this function ?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg              (818) 883-2846
FM Professional Solutions, Inc.    Los Angeles

FileMaker 8 Certified Developer
Associate Member, FileMaker Solutions Alliance
0
Reply howard915 (251) 8/15/2006 5:03:13 PM


Do you really mean that business about stupid/inconsistent, or are you just 
trying to help the OP feel better? :) The second parameter must _evaluate_ 
to the table::field you're referencing. That's why you need to put it into 
quotes if it is a constant. The wisdom of this is so you can reference a 
function, field or variable which could contain a dynamic value. I wouldn't 
change it.

"Howard Schlossberg" <howard@antispahm.fmprosolutions.com> wrote in message 
news:12e3vij70moisfe@corp.supernews.com...
> It's a really stupid, inconsistent thing, but you need to put the 
> table::field in quotes.
>
> manet wrote:
>> FMP 8.02 or 8.03 ; MacOSX 10.4.7 PPC
>>
>> I need the Next Serial Value of a field, but I can't get it from
>> GetNextSerialValue ( Get ( FileName ) ; table::field )
>>
>> by script or calc
>>
>> What are the specs of this function ?


0
Reply wjm (450) 8/15/2006 8:14:10 PM

Yeah, okay, I'll accept and buy that reasoning.  My apologies to our 
dear database.

Bill Marriott wrote:
> Do you really mean that business about stupid/inconsistent, or are you just 
> trying to help the OP feel better? :) The second parameter must _evaluate_ 
> to the table::field you're referencing. That's why you need to put it into 
> quotes if it is a constant. The wisdom of this is so you can reference a 
> function, field or variable which could contain a dynamic value. I wouldn't 
> change it.
> 
> "Howard Schlossberg" <howard@antispahm.fmprosolutions.com> wrote in message 
> news:12e3vij70moisfe@corp.supernews.com...
>> It's a really stupid, inconsistent thing, but you need to put the 
>> table::field in quotes.
>>
>> manet wrote:
>>> FMP 8.02 or 8.03 ; MacOSX 10.4.7 PPC
>>>
>>> I need the Next Serial Value of a field, but I can't get it from
>>> GetNextSerialValue ( Get ( FileName ) ; table::field )
>>>
>>> by script or calc
>>>
>>> What are the specs of this function ?
> 
> 

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg              (818) 883-2846
FM Professional Solutions, Inc.    Los Angeles

FileMaker 8 Certified Developer
Associate Member, FileMaker Solutions Alliance
0
Reply howard915 (251) 8/15/2006 8:18:01 PM

Howard Schlossberg <howard@antispahm.fmprosolutions.com> wrote:

> It's a really stupid, inconsistent thing, but you need to put the 
> table::field in quotes.

thanks, it works

the stupid thing is that FMP autocompletion don't put quotes...
-- 
Philippe Manet
0
Reply pmanet (75) 8/22/2006 9:49:09 PM

4 Replies
72 Views

(page loaded in 0.099 seconds)

Similiar Articles:













7/23/2012 1:38:54 PM


Reply: