gvirden
Jan 18th, 2000, 02:10 AM
Can anyone tell me what is wrong here.
Dim rs As ADODB.Recordset
Dim sSQL As String
sSQL = "SELECT FeedGrowth.Batch, FeedGrowth.[Current Hd], FeedGrowth.CurrentLbs, FeedGrowth.Size From FeedGrowth " & _
"WHERE (((FeedGrowth.Batch) Like ('*" & lblPondFrom.Caption & "*'))) " & _
"ORDER BY FeedGrowth.Size DESC"
Set rs = GetRecordSet(sSQL)
Set hfgPondFrom.DataSource = rs
My grid doesn't load.
Dim rs As ADODB.Recordset
Dim sSQL As String
sSQL = "SELECT FeedGrowth.Batch, FeedGrowth.[Current Hd], FeedGrowth.CurrentLbs, FeedGrowth.Size From FeedGrowth " & _
"WHERE (((FeedGrowth.Batch) Like ('*" & lblPondFrom.Caption & "*'))) " & _
"ORDER BY FeedGrowth.Size DESC"
Set rs = GetRecordSet(sSQL)
Set hfgPondFrom.DataSource = rs
My grid doesn't load.