??? ????????? ?? ?????? ???????? ( ??????? ???????? ?????????? , Development ) ??? ????????????? ???????????? ?????????? ??? ?????? ? ?????? , ?????? ? ???? ?????? Vb ????? ???????????? ????? ?????????? ????? ????? ???????? . ????? ????????? ???????? ? ???????? ??????? ?????????? ?????? ?????? , ???????????? ??? ???????? ???????? ??????? ??? ??????????? ??? ?????? ???? ????????? , ? ????????, ????????? ???????? ????? ????????????? ????? ??????? ????? . ????? ????????? ??? ??????? ??????????? ?????? ? ???????? , ????? ??? ???? ????????, ???????? ?? , ????? ??????? ???? , ???? ??????????? ???????????? ??????????? ?????? ??????????? ????? ????????. ?????? ??????? ??????? ???????? , ? ????? ????????? ????????????? ???????? , ?????????? ??????? ???????????? ??????????? , ?????????? ??????? ??????????????? . ? ????? ???? , ? ???????????? ? ?? ?????????? ????????????? ????? , ?????????? ????????? ???? ???????? ??????? ????????? ??????? ??????: ?????
?????? , ?????????? ????????? ??????????? ??????? ???????? . ??????? ??????? , ????????? ????? ????? ???????? ?????????? ???????? ???????? ???????????? ??????????? , ????? ????? ????????? ?????????? ???????? ?????? , ???, ???????, ?????? ?????????? ?????????? ?????????? ?? ??????? , ? ??? ??????, ??? ????? . ??????? ???????? ???????????? ?????, ????? ???????????? , ?????????? ????????? ?????????? ???????????? , ?????????? ???????????? ???? ????????? . ????? ????, ????????? ??????? ????????? , ??????? ??????? ???????? ????? ????? ???????? ? ???????? ????????????? ?? ???????????? ????? ?????? .
?? - ??????, ???????? ???????????? ??????? . ???????????? ?????? ? ???????? ?????????? , ?? ??????? ??????? ???, ??? ??? ???????? ????? ?????? , ???? ( patch ) ??????? ????? ??????.
? - ???????, ???????? ????? ???????????? . ??????? ?? ???????? ????????? ????????? , ??????????? ????????? ???????? ?????????? ? ????????????? ?????? ????????, ????? , ? ?????? ?????? ????????????? ??? ????? ???????? ?????? ????????. ???? ?????????? ??????? ???????? ????????? ????? ???????? ????? ?????????????? ??? ??????. ?????? : ????? ???? ???????? ????? ?????????? ??????? ?????????? ????? ???????? ? ???? ?????? , ?? ??????? ??????????????? ? ????????? , ???????? , ??????? , ??????? ?????????????? , runtime ???? ????? ?????????????? ??? ????????????? ???? ?????? , ????? ?????????????? ??? ????????? ?????? , ???? ??? ?????????????? ?????? , ?????????? ?????????? ???????? ???????? , ??? ??????? ?????? ???????? ???? . ??? ???????? ???? , ? ?????? ? ?????, ??????, ??????? ???????? ??????????? ???????????? ????????????? " ??????????? ??? ??????? ??????????" ???????????? ?????????? ? ????? ??????. ? ?????? ????? ?????? , ? ?????? ??? ???? ????????, ??? ??????????? ??? ??? GrdHardComp . ? ?????? ????????????? , ?????? , ?? - ??????, ? ???? , ??? ???????? ?? ??????? ???? ????????? ? ???? ???? ????? ??????????? , ???????? ???? ?????? , ?????? ?????? , ?????? ?????????? , ????? ? ?????? ??????????????. ?????, ????? ??????????? ?????? ??? ???????? ??????:
GrdHardComp.ColWidth(0) = GrdHardComp.Width * 1 / 6 GrdHardComp.ColWidth(1) = GrdHardComp.Width * 5 / 24 GrdHardComp.ColWidth(2) = GrdHardComp.Width * 1 / 6 GrdHardComp.ColWidth(3) = GrdHardComp.Width * 1 / 6 GrdHardComp.ColWidth(4) = GrdHardComp.Width * 3 / 24 GrdHardComp.ColWidth(5) = GrdHardComp.Width * 1 / 6 GrdHardComp.ColWidth(6) = GrdHardComp.Width * 1 / 6 Private Hards() As M_Hard ???????? GrdHardComp.Row = 0 ' GrdHardComp.Col = 0 GrdHardComp.FixedAlignment(GrdHardComp.Col) = 2 GrdHardComp.Text = "????" GrdHardComp.Col = 1 GrdHardComp.FixedAlignment(GrdHardComp.Col) = 2 GrdHardComp.Text = "??????"? … … ????Grid??????????????????????????????????????????? Type M_Hard Number As String OrderNum As String MachKind As String MachKindName As String … … End Type ???Number???????????? Private Hards() As M_Hard Hards()????????????????Grid?TextBox???????? ?????????? If HardComp.RecordCount > 0 Then HardComp.MoveFirst Do Until HardComp.EOF ReDim Preserve Hards(H%)// H%?????? Hards(H%).OrderNum = HardComp![ OrderNum//???? Hards(H%).MachKind = HardComp![ MachKind//?? Hards(H%).MachKindName = HardComp![ MachKindName//??? Hards(H%).MachName = HardComp![ MachName//?? … … loop HardComp.MoveFirst ?????Grid?????? GrdHardComp.Row = H% + 1//????? GrdHardComp.Col = 0 GrdHardComp.Text = " " %26 Hards(H%).OrderNum GrdHardComp.Col = 1 GrdHardComp.Text = " " %26 Hards(H%).MachKind GrdHardComp.Col = 2 GrdHardComp.Text = " " %26 Hards(H%).MachKindName GrdHardComp.Col = 3 GrdHardComp.Text = " " %26 Hards(H%).MachName GrdHardComp.Col = 4 … … GrdHardComp.Text = " " %26 Hards(H%).HardLastDate GrdHardComp.Rows = GrdHardComp.Rows + 1//???1 HardComp.MoveNext H% = H% + 1 ???????, ???? ????????????? ?????? ?????? ?????? ???? ?????? , ????? ????????? ???? ?????? ???????? ?????? ? ?????? . ????? ?????? ???????????? ???????? ?????? ??????? , ????? ???????? . ????? ?? ???? ???????????? ? ??????? ?? ????????????? , ????? ???????, ??? ????? ??????? ?????????? ?????? ? ???? ?????? ???????? , ? ????? ?????????? ???? ?????? ??????????????? ?? ???????? , ????????? ???????????? ????????????? ???? ?????? , ???????? ??? ???? , ????? ??????. ? ???? ???????? Vb ? ?????? ?????? ? ????????, ?????? ? ?????????????, ????????????, ? ?????? Vb ? ???????? ????????, ????????????? ???????? ?????? . ?? ?????? ? ?????? ????????? ??????? ???????? ? ????????? ?????????? . ??????????? ???????? ??????: ??????????? ??? ???????????????? ???? ?????? ???? ???????? ???????????? ????????, ????? ???? ??????? ? ???????? ?????? , ????? ?? ????? ?????? ??? ????? ???? ?????? ??? ??????????? ?????? , ???????? , ??????? ??? ???????? ?????? ? OnAddNew , BeforeDelete , ??????????? ?????????? ????? ???????, ??? ? ????? ?????? , ????? ???????, ???????? ??? ????? ???????? ????????????? ?????? , ??? ????????????? ??????? ????????? ?????????? . ??????????? ?????????????? ????? ????? ????? ??? ?????????? ??????? ??????????? ????? ? ?.?. , ????????? ? ??????? , ????????? ?? ?????????? ????????? , SelBookmarks ?????? , ? ?.?. , ??? ????? ???????? ??????????? ??????????? ? ??????????? ?????? . ??? ????? ???????? ? ???????? ???????? , ??? ????? ????????????? ???????? " ???????? - ??????? ??????????? " , ???????? . ????????? Data4 ???????? ? ???? ?????? ? ??????????? ??????????????? ??????? ??????? , ??????????? ????????? ??????? ? ???? ??????? , ????? ?? ??????????????? ??? ???????. ??? ????????????? ?????? , ?????? ??????? ?????????? ????? ???????? ?????????? ???? ?????? , ? ????? ????? ??????????? ????????? .
??????? Sql = "SELECT * FROM ??" //SQL?? Set Data4.Recordset = MyDB2.OpenRecordset(sSql, dbOpenSnapshot) Data4.Refresh ???? DatMonthPlan.RecordSource = "SELECT * FROM ??WHERE (((???)='" %26 Key %26 "')); ????DBGrid?????????????????? Data4.Recordset.AddNew Data4.Recordset![ ??? = Key//?????
Data4.Recordset![??= DBGrid.Columns(0).CellValue(DBGrid.GetBookmark(0))//??? Data4.Recordset[??=DBGrid.Columns(1).CellValue(DBGrid.GetBookmark(0))// ??? Data4.Recordset![??=DBGrid.Columns(2).CellValue(DBGrid.GetBookmark(0))//??? Data4.Recordset.Update Data4.Refresh//????? DBGrid.Refresh// DBGrid?? ??????DBGrid????????????????????? i = 1 //??????? Data4.MoveFirst Do Until Data4.EOF DBGrid1.Columns(i).Width = 1600 //???? DBGrid1.Columns(i).Caption = "??" //?? DBGrid1.Columns(i).DataField = "%26 ????? %26" DBGrid1.Columns(i).Visible = True //??? DBGrid1.Columns(i).Alignment = 1 //DBGrid ??????????? Data4.MoveNext i = i + 1 If i > 8 Then Exit Do//?????8 Loop ?????????????????????DBGrid?????????????????DBGrid?????????????????????????????????????????????? True DBGrid??? DBGrid?Apex????????????Apex?True DBGrid????????????????????DBGrid???????????????????????DBGrid??????????????True DBGrid????????????DBGrid?????True DBGrid??????ListBox?Image?????????????????????????????? SSDBGrid?????
??????? SSDBGrid ?? ??????? ???????????? ??????????? ???????? ( http : //www.shersoft.com ?????? ) , ? ?????? ???????? ??????? , ??? ???????? ????????? ??? 3D ???????, SSDBGrid ????? ????? ? ?????? ???? ??????, ???????? , ?????, ??? SSDBData , SSDBCombo , ???????????? ????????? ???????? ??? ????????????? ?????? , ????????? , ??????? ???? ????? ????????? , ????? ??? ????? ????????? ???????????? ????????? , ???????? ??????? ?????. ????? ???? SSDBGrid ????? ????? ???????????? ?????????? ??????? ( virtual data management ) ?????????? , ? ?????? ???????? ????? ?????????? ?????? ? ????????? ? ?????? , ??? ????? , ????? ? ?????????? ????????? ?????? ?? ??????? ??????? ?? ???????????????? ??????? ? ???????? . SSDBGrid ?????????? ? ????????? ??????? ?????? ????? ???????? ????? ????????? ????????? ???????? , ?? ?????????? ????????? ????????? ?????? ????? ?????? . ?????? : ???????? ??? ?????? ? ??? ?????? ? vsFlexArray ??????????? ?????? ??????? ???? ????? ?????????????? , ? ???????? ?????????????? ????? ????? ????? ? ?????? ??????? ??????? , ??????????? ??????????? ?????? , ????? ??????????? ? ?.?. VsFlexArray ???????? ???????? VideoSoft ????????? ???????? , ??? ?????? ????? ?????????? ????? ?? ???? ????????. VaSpread ???????? ??????:
VaSpread ???????? ? ??????? ????????? ?????? ????? ??????? ???????? , ??? ???????????? ?????????? ?????? , ?????????? ??????????? ?????????? ??????? , ?? ? ????? ??????? ?????????????? ??????? ? ????? ?????? , ????? ???????????? , ????? ???????? ??? ?????????? ?????? ????????????? ?????? ? ?????? , ????? ????? ???????? ? ??????? ??????? ? ??????? ??????????????? , ????????? ( Spread's Calc ????????? ) ??? ??????? ?????? ????????. ??????????????? ???????? ????? ?????? ?????????? ??????? ? ???????, ? ?????? ???????? ?????? , ??????????, ?????????? ?????? , ??????????? ?????? ????? ?????? ????? ? ???????? ??????? ? ???????? ??? ?????????? ?????? . ???? ?? ?????? ???????? ??????? ????????? , vaSpread ??????? ?????? ????? ??????????????? ??????? ????????? ? ?????? , ? ?? ????????? ???????? ?????? ????? ??????????? ?????? . VaSpread ???????? FarPointTechnologies ????????? ???????? , ?? ????? http : //www.fpoint.com ?????? . ??????? One ???????? ??????: ??????? One ????? ??????? ????????? ?????? , ???????? ? Excel ??????????? ??????????? ????? ???????? , ????? ???????????? ? PowerBuilder , ??? ??????????? ?? visual components ???????? sybase , ??? - ???? http : //www.visualcomp.com ?????? . L ????? ????, PowerBuilder , ?????? ???????? ???? --Database Windows ????? ??? ??????????? ?????? . ??? ???????? ???? , ? ????????????? ?????? , ????? ?? ???? ????????? ? ??????????? .
?????? : ??????
1. Microsoft "Vb ?????? ???????????? " , ? 1997 ???? ???????
2. true ??????????? 4.0d " Hondo " ( ??????? 4.0.0130 , ?????????? 10/16/96 ) .
3. " PowerBuilder6.0 ?????????? ? ???????? " , ???????????? ???????????? ??????