xoomaster Posted June 6, 2007 Posted June 6, 2007 I am trying to get the next serial value as : GetNextSerialValue ( Get(FileName) ; Billing cases::Case ) But no value is returned ?? Also SetNextSerialValue is not seting the value either ? Anyone has this problem with FMP 8.5 Advance ??
Fenton Posted June 6, 2007 Posted June 6, 2007 (edited) You need to put the name of the field in quotes. The GetNextSerialValue() is a Design function, and most of those functions only accept a text value. Edited June 7, 2007 by Guest Deleted Quote()
xoomaster Posted June 7, 2007 Author Posted June 7, 2007 Thank you for your responses. This is driving me crazy. I have tried to change the field type to Text and back to number with no help. Also I used : Quote( Tabel1::serial) with no help. The function just returns nothing !!
comment Posted June 7, 2007 Posted June 7, 2007 The field name must be enclosed in quotation marks: GetNextSerialValue ( Get ( FileName ) ; "YourTable::SerialField" ) Using the Quote() function is NOT the same as enclosing the field name in quotation marks: Quote ( YourTable::SerialField ) returns the CONTENT of the field enclosed in quotation marks.
Recommended Posts
This topic is 6381 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now