用VB6編寫的應用程序。 DB是Pervasive v9.5。 現任職: Public Sub Save()
if rs.State = adStateOpen Then
rs.AddNew
SetFields rs
rs.Update
End If
end sub
Public Sub SetFields(rs as ADODB.Re
我想在Pervasive中使用case語句,因爲它也缺少對Coalesce的支持。但似乎Pervasive 8也缺乏對Case語句的支持。 所以我想檢查是否有一個替代解決方案,我的問題。 SELECT top 100
STOCKTR.PHEADPR,
'' as tom
,case Pheadpr.BLNO when <> '' then Pheadpr.BLNO else STOCKTR.