Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

application behaves differently than project code

Status
Not open for further replies.

tazardous

Programmer
Aug 22, 2002
58
US
I have developed an application that during development testing (by running the main code from the project view) works wonderfully well and without error. However, when I create an application from it and test it, I get 'cannot update the cursor' when ever I try to add a new record.

I open the tables shared,
and I use lock() before I attempt to append blank.
the Lock() function returns .T., yet the append blank fails.
The exact code succeeds when running from the project window.

Does anyone have any suggestions?

Thanks,

Taz
 
Hi ya,

This sounds familiar...have you tried the INSERT INTO command rather than the append blank?

imac (ian)
 
Have you checked your access rights?
Your 'live' environment may be placing the temp files in a different directory than your developement environment.
Check specifically the Sys(2023) directory for starters.
Dave S.
[cheers]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top