Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timing Issues
Message
From
30/04/2003 12:03:51
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
30/04/2003 12:00:36
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00783211
Message ID:
00783213
Views:
17
>All,
>
> I have a table with 43,000 records in it. One of the fields calls a stored procedure to get it's default value when a record is appended. If I append a record from either the data session or code I get a "Cannot write to record because it's in use." The stored procedure code uses a calculate command to find the max value for the field. If I remove the stored procedure from the default value I can append a new record. Is there something I am doing wrong? Has anyone else run into this problem? Is there a way to get around it?

Try SQL max to get value instead of calculate (moves pointer).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform