vVecka = DatePart("w", Date(), 2)
id = vVecka
sql = "select * from veckor, sign Where id = " & vVecka
jag vill att sidan ska visa från tabellerna "veckor" och "sign" men jag får detta felmedelnade:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] The specified field 'ID' could refer to more than one table listed in the FROM clause of your SQL statement.
Den visar sidan om jag bara anger en tabell.
Förslag?
/niclas
------------------
ingenting är omöligt det tar bara lite längre tid..
select * from veckor, sign Where veckor.id = " & vVecka & " AND sign.id = " & vVecka
------------------
------------------- What a waste it is to lose one's mind. Or not to have a mind is being very wasteful. How true that is.
Dan Quayle
------------------
------------------- What a waste it is to lose one's mind. Or not to have a mind is being very wasteful. How true that is.
Dan Quayle