Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursorgetprop('Fields')
Message
 
 
To
03/04/2002 12:57:17
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00640440
Message ID:
00641188
Views:
18
Bill,

Are you still having a problem with this?

CURSORGETPROP('UpdatableFieldList') only returns fields that are checked for update.

CURSORGETPROP('UpdateNameList') returns all fields of a view

check this rudimentary code fragment
create database billtest1

create table bill1 ( i1 i, c1 c(10) )

create table bill2 ( i2 i, c2 c(10) )

create sql view viewbill1and2 as ;
   select c1, c2 ;
      from bill1 ;
      inner join bill2 ;
         on bill1.i1 = bill2.i2 

select 0
use viewbill1and2

cursorsetprop( "UpdatableFieldList", "c1", "viewbill1and2" )

? cursorgetprop("UpdatableFieldList")
? cursorgetprop("UpdateNameList")
>Can any one think of a way to get a list of the fields that have a check mark next to them in the "Update Criteria" tab of the view designer?
>CURSORGETPROP('UpdatableFieldList') and ('UpdateNameList') provide lists of all the fields.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform