Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot update cursor error
Message
From
30/11/2001 10:52:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00587781
Message ID:
00588017
Views:
30
This message has been marked as the solution to the initial question of the thread.
>The code seems to work when I run it after opening the project but when running from the executable it fails and gives the message "Cannot update cursor"
>I have tried re-booting and running the executable first but with no success. My intention in the code was to append a blank record to the table and place whatever text is in the text boxes in the appended row.
>Here is the code the runs from my command button:
>
>IF USED ("login") THEN
> SELECT login
>ELSE
> USE C:\login EXCLUSIVE
>ENDIF
>GO TOP
>IF addrec = .T. THEN
> APPEND BLANK
>ENDIF
>REPLACE login.name WITH thisform.loginname.value
>REPLACE login.passw WITH thisform.passw.value
>addrec = .F.
>
>Thanks again!
>Max

Max,
I suspect you 'included' the tables in the project. If so they're readonly. Exclude tables (right click in project manager and select exclude). When excluded an empty sign appears.
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
Next
Reply
Map
View

Click here to load this message in the networking platform