Hi

Sorry, my bad, I meant for testing pourposes only remove the Iid field.

I do it this way;
.....
nFields = ALEN(laFields,1)
FOR i=1 TO nFields
  cField = cView+"."+laFields[i,1]
  DBSETPROP(cField,'FIELD','KEYFIELD',laFields[i,4])
  IF !EMPTY(laFields[i,5])
    DBSETPROP(cField,'FIELD','UPDATENAME',laFields[i,5])
  ENDIF
  DBSETPROP(cField,'FIELD','UPDATABLE', laFields[i,6] )
  IF !EMPTY(laFields[i,2])
    DBSetProp(cField,'Field','DefaultValue',laFields[i,2])
  ENDIF
  DBSETPROP(cField,'Field','DataType',laFields[i,3])
NEXT
USE (cView) ALIAS (lcViewName) IN 0 NODATA
CURSORSETPROP("Buffering",5,lcViewName )
......
E.

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.15.30/1125 - Release Date: 11-Nov-07
21:50





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to