I need to be able to access a queryresult in Visual Basic. The purpose is to update one field with the values of others. In this case it has to be done by code, because an update query is useless in this case (trust me).<br>Please help!!!! I am desperate
Match - Table<br>ID Autonum<br>Number number<br>Time Date/Time (short time) - time for match<br>Date Number - date for match<br>ETime Date/Time (short time) - ekstra time after match<br>KampNavn Number<br><br>TurnDate - Table<br>ID Autonum<br>Date Date/Time (short date)<br>STime Date/Time (short time) - time for fist mact on date<br><br>MatchName - Table<br>ID Autonum<br>HalfTime Date/Time (short time) - duration of half<br>TimeB Date/Time (short time) - time between halves<br>TimeA Date/Time (short time) - time after macth<br><br>Query<br>TurnDate.Date Asc<br>Match.Number Asc<br>Match.Time<br>Match.ETime<br>TurnDate.STime<br>MatchName.HalfTime<br>MatchName.TimeB<br>MatchName.TimeA<br><br>Now, I want to calculate Match.Time for every date, by adding all the time fields, but the first macth should have Match.Time=TurnDate.STime, the next should be STime+HalfTime*2+timeB+timeA+ETime. But of course these parameters should be those of the first match.<br>Any suggestions?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.