Hi All,
I'm Using SBO Version 2004 and Form designed by screen painter.
DBDataSource query sourcecode:
Set oCondition = oConditions.Add
oCondition.BracketOpenNum = 1
oCondition.Alias = "U_ECRNO"
oCondition.Operation = co_EQUAL
oCondition.CondVal = sEcrNo
oCondition.BracketCloseNum = 1
Set oDBDataSource = oForm.DataSources.DBDataSources.Item("@ECRD")
Set oMatrix = oForm.Items("13").Specific
oMatrix.Clear
oDBDataSource.Query oConditions
For i = 0 To oDBDataSource.Size - 1
If oDBDataSource.Size > i Then
oDBDataSource.Offset = i
oMatrix.AddRow
End If
Next i
End If
Problem : To update the data which is inquired in the MATRIX how?
Sorry for my bad english.
I need your help.
Thanks.
I've ever tried using DBDataSource to query data to Matrix but I think using DBDataSource isn't more flexible tha we're using UserDataSource that value generated from Recordset . I think it's more flexible to generate many output based on our requirement that we use condition since there're so many limitation using DBDataSource.But using UserDataSource + Recordset we'll spend more code line that we use DBDatasource.But using UserDataSource we can use "update" to user table object.I dont even try SDK 2004 but in 6.5 DBDataSource Limited to Add Mode Only.
Add a comment