Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No Database Open or Set
Message
 
To
20/07/2000 01:42:08
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00394608
Message ID:
00395803
Views:
9
Jim,
In the code you show I don't see any place where you have opened the view or table you're indexing, in either snippet. And what exactly to you want the DBSetProp() command to do?

You might want to design a simple view with the view designer, setting fields to update etc., and then run GenDBC() to see exactly how the code should look. Then use this as a model for your code.

Barbara

>Hi Barbara,
>
>In the form I'm working on I have the following in the Load Event:
>
>SET PATH TO ('C:\DiamondAcct\Data\')
>OPEN DATABASE Tomparco SHARED
>SET EXCLUSIVE OFF
>INDEX ON stocknum TAG stocknum
>
>I have an "append mode" button which when pressed runs this code:
>
>DBSETPROP("intrancust", "view", "Tables", "inventory")
>INDEX ON stocknum TAG stocknum
>=CURSORSETPROP("Buffering", 3, "intrancust") &&<--Debugger says problem here
>
>APPEND BLANK
>
>On CURSORSETPROP() I'm getting the error "No update tables are specified. Use the Tables property of the cursor (Error 1491)". What in the world have I done wrong?
>
>Thanks again for your advice
>JD
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform