Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Having trouble with BUFFERING and TABLEUPDATE
Message
From
01/07/2004 11:43:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Having trouble with BUFFERING and TABLEUPDATE
Miscellaneous
Thread ID:
00919663
Message ID:
00919663
Views:
72
Hi there,

I'm using VFP 7.0 and am getting "There is not enough memory to complete this operation" error message after setting a couple of tables to BUFFER. This is my buffer code:

select instance
=cursorsetprop('buffering',5)
select results
=cursorsetprop('buffering',5)

After making my multiple INSERTS, here's my commit code:

begin transaction
select instance
llupdate = tableupdate(.t.,.t.,'instance')
select results
llupdate2 = tableupdate(.t.,.t.,'results')
if llupdate and llupdate2
end transaction
else
rollback
tablerevert(.t.,'instance')
tablerevert(.t.,'results')
endif

I'm seeing LLUPDATE2 equalling FALSE, when all other times I've been using this code (many years now, and has always been stable), LLUPDATE2 has equalled TRUE.

What's really confusing is that other times when there are many more rows buffered, the code works fine. I'm seeing my problem today on only about 35 buffered rows. I have 2 tables open, 2 temp tables, and 3 cursors. I also have several varibles (about 30 or so), but nothing outrageous.

Any ideas on what's going on?

Thanks!

Joe
Next
Reply
Map
View

Click here to load this message in the networking platform