PRB: ????? KeyField ??? ????? ?????? ?????? ??????? ???????

?????? ????????? ?????? ?????????
???? ???????: 195408 - ??? ???????? ???? ????? ????? ??? ???????.
??? ????? ??? ???????. ????? "??? ??" ??? ??? ??????? ??? ????.
????? ???? | ?? ????

?? ??? ??????

???????

????? keyfield ????? ??? ????? ???? ?????? ????? ????? ??????? ? ??? ????? ?? ??? ?? ??? ????? ?????? ????? ????? ??????? ???? ????.

????

?????? ??? DBSETPROP() ?????? ??? ??? ???? ?????? ?? ????? ????? ???? ???? ?? ???? ????? ???????:
   DBSETPROP("TstVw.Fld1","Field","Updatable",.F.)
				
????? ? ????? ??? ????? ????? ?? "????" ??? "?? ?? ?????? ????? ?????? ???? ?? ???? ?? ???? ????? ??????? ?? ????? ???????" ?????? ??????? ".

?????

Microsoft ?? researching ??? ?????? ??? ???? ??? ???? ????????? ??? ?? "????? ??????? ?? Microsoft ??? ?? ???? ??????.

??????? ????

????? ????? ????? ??????

????? ?? ????? ?????? ???? ???????? ???????? ???????:
   CLOSE DATA ALL
   CREATE DATA TstDBC
   CREATE TABLE Tbl1 (Fld1 c(10),Fld2 d, Fld3 n(4))
   FOR i = 1 TO 4
      INSERT INTO Tbl1 VALUES (STR(i),DATE(),1234)
   ENDFOR
   CREATE SQL VIEW TstVw AS SELECT * FROM Tbl1
   USE TstVw
   =DBSETPROP("TstVw.Fld1","Field","KeyField",.T.)
   ? DBGETPROP("TstVw.Fld2","Field","Updatable")
   ? DBGETPROP("TstVw.Fld3","Field","Updatable")
				
??? ??? ?????? ??? ???? ????? ????? ????? ???? ????? ??? ????? ????? ?? ??? ????? ??? ????? ??? keyfield ???????? ??? ????? ????? ?????. ??? ?????? reproduces ???????? ???????? ???????:
   CLOSE DATA ALL
   CREATE DATA TstDBC
   CREATE TABLE Tbl1 (fld1 c(10) PRIMARY KEY,fld2 d, fld3 n(4))
   FOR i = 1 TO 4
      INSERT INTO Tbl1 VALUES (STR(i),DATE(),1234)
   ENDFOR
   CREATE SQL VIEW TstVw AS SELECT * FROM tbl1
   USE TstVw
   ? DBGETPROP("TstVw.Fld2","Field","Updatable")
   ? DBGETPROP("TstVw.Fld3","Field","Updatable")
				
?????? ?? ???? DBGETPROP() ????? ???????. T. ??? ???? ?? ?? ?? ?????? ??????? ???????.

???????

???? ???????: 195408 - ????? ??? ??????: 23/???? ??????/1435 - ??????: 2.1
????? ???
  • Microsoft Visual FoxPro 3.0 Standard Edition
  • Microsoft Visual FoxPro 3.0b Standard Edition
  • Microsoft Visual FoxPro 5.0 Standard Edition
  • Microsoft Visual FoxPro 5.0a
  • Microsoft Visual FoxPro 6.0 Professional Edition
  • Microsoft Visual FoxPro 3.0b ?? Macintosh
????? ??????: 
kbnosurvey kbarchive kbmt kbdatabase kbpending kbprb KB195408 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????195408

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com