now改为Date
radiogroup1.itemindex改为radiogroup1.items[radiogroup1.itemindex]

解决方案 »

  1.   

    inttostr(radiogroup1.itemindex)
    datetostr(now)/OR formatdatetime()函数
      

  2.   

    应该是radiogroup1.items[n],DateTimeToStr(now)
      

  3.   

    now -> 
      
      sql server:getdate()
      access    :date()
      

  4.   

    试试看
    ssql:='insert into chanage(student_id,change_id,rec_time,description) values ('+''''+edt_studentid.text+''','''+IntToStr(radiogroup1.itemindex)+''','''+FormatDateTime('yyyy-mm-dd',now)+''','''+Mem_descrip.text+''')';
      

  5.   

    谢谢两位前辈了
    不过,bigchg(戴着戒指) 前辈可能现在喜欢富贵了,他的方法不行。
    bluemeteor(挂月)前辈及文人雅士之人,他的方法OK。真是神龙见头不见尾啊
    具体方法如下:
     ssql:='insert into chanage(student_id,change_id,rec_time,description) values ('+''''+edt_studentid.text+''','+inttostr(rag_change.itemindex)+','''+datetostr(now)+''','''+Mem_descrip.text+''')';