1、怎样用SQL实现对数据库的备份与恢复?
2、怎样才能使DBIMAGE正常显示*。JPG格式的图片?(数据库为BDE)请不要回答   为在其显示格式中加入*。JPG,我已试过,没用。
3、怎样才能把DATETIMEPICKER的日期值写入相对应字段的的数据库?(在一个数据录入界面中)
4、怎样实现把阿拉伯数据字转换为人民币大写?(要求加入自动识别功能,如用户输入18。00元,程序则自动转换为拾捌元,以此类推);
5、TREEFREE控件有没有CLICK事件?
6、
 FORM1 BUTTON1 DBEDIT1 TABLE1(含字段“材料名称”)
 FORM2 BUTTON2 DBGRID1 TABLE2(含字段“材料名称”)
注:FORM以后的控件未位于FORM上
问题:
   当在FORM1中录入DBEDIT1数据时,单击BUTTON1则FORM2显示,在FORM2的DBGRID1中选择相对应的记录并单击BUTTON2则FORM2隐藏并显示FORM1,FORM1的DBEDIT1数据内容为FORM2的DBGRID1记录(即一个数据表的内容引用另外一个数据表,强调没有用到LOOKUP);
7、在MDI应用程序中,怎样才能使同一个CHILFORM在主界面中只显示一个(即当用户调用相对应的窗体时,程序首先会判断此窗体是否已经打开,如已经打开则不执行任何动作,如没有打开则打开该窗体)
-----------------------------------
男儿不展风云志,空负天生八尺躯!
-----------------------------------
QQ:123128772
E-MAIL:[email protected]

解决方案 »

  1.   

    no3: datetimepicker_onchange:
    qry.fieldbyname('yourdatetimefield').asdatetime:=datetimepicker.datetime;no4:you must define const datetype whitch include up numeric words. u also can find procedure in internet.There are so many ways to this question.no7 :
    childformload:
     write followed code in your mainform's menu:
         If (child_frm=Nil) or (Not Assigned(child_frm)) then
            Application.CreateForm(Tchild_frm,child_frm);
         If child_frm.Visible then begin
            child_frm.BringToFront
         end Else
            child_frm.Visible:=True;
         If child_frm.WindowState=wsMinimized then
            child_frm.WindowState:=wsNormal;
     write followd code in your child form:
       onclose:  action:=caFree;
       Ondestory:  child_frm:=nil;