Re: Refer to the first row of the table
- From: "samotek via AccessMonster.com" <u15330@uwe>
- Date: Fri, 17 Aug 2007 14:47:52 GMT
Thank you very much indeed ! Ig was a great help !
Dirk Goldgar wrote:
Thank you so much indeed ! Your line of code which i think is very[quoted text clipped - 9 lines]
clever, gives me a syntax error and i must have written something
End Function
You've left off one of the parentheses I had in my original SQL
statement. Try this:
StrSQL = _
"DELETE * FROM TblClients1 WHERE afid > " & _
"(SELECT Min(T.afid) FROM TblClients1 As T)"
Also, don't name your function "str". There's a VBA function named
"Str", and giving your function the same name will interfere with its
use.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-modules/200708/1
.
- References:
- Refer to the first row of the table
- From: samotek via AccessMonster.com
- Re: Refer to the first row of the table
- From: Dirk Goldgar
- Re: Refer to the first row of the table
- From: samotek via AccessMonster.com
- Re: Refer to the first row of the table
- From: Dirk Goldgar
- Re: Refer to the first row of the table
- From: samotek via AccessMonster.com
- Re: Refer to the first row of the table
- From: Dirk Goldgar
- Re: Refer to the first row of the table
- From: samotek via AccessMonster.com
- Re: Refer to the first row of the table
- From: Dirk Goldgar
- Refer to the first row of the table
- Prev by Date: RE: MS Access 2000 VB HELP!
- Next by Date: Re: save webdata to text file
- Previous by thread: Re: Refer to the first row of the table
- Next by thread: Re: Syntax of quotes?
- Index(es):
Relevant Pages
|