MySQL help

This is a discussion about MySQL help in the Windows Software category; i am still new at SQL. . . having a problem with this do command. . rs. Open SELECT * FROM ;, CurrentProject. Connection, adOpenStatic, adLockOptimistic rc = rs. RecordCount Do While rs. EOF = False DoCmd.

Windows Software 5498 This topic was started by ,


data/avatar/default/avatar26.webp

0 Posts
Location -
Joined 2008-06-27
i am still new at SQL... having a problem with this do command..
 
rs.Open "SELECT * FROM [Weekly Report - Amazon eBay1];", CurrentProject.Connection, adOpenStatic, adLockOptimistic
rc = rs.RecordCount
Do While rs.EOF = False
DoCmd.munSQL "UPDATE [Weekly Report - Amazon eBay2] SET [sales]=" & rs("Sales") & " WHERE ((Site ='" & rs("Site") & "') And ([Dept] ='N 01'))" & "'"
rs.MoveNext
Loop
rs.Close
 
'N 01' is text, not a vairable.

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Jun 27
Created
Jun 27
Last Response
0
Likes
<1 minute
Read Time
User
Users