|
| |
|
|
Topic Starter
Posts: 49 From: Canada, eh? Status: offline
|
My SQL - 4/9/2001 20:42:00
Why am I getting a syntax error for this?UPDATE Results SET Title='::Title::', Date=': ate::', Author='::Author::', Lead_In='::Lead_In::', Rest_Of_Article='::Rest_Of_Article::' WHERE ID=::ID:: My ID field is AutoNumber, Title, Date, and Author are Text, Lead_In and Rest_Of_Article are memo fields.. Thanks!!
|
|
|
|
Vince from Spain
Posts: 658 From: Madrid Spain Status: offline
|
RE: My SQL - 4/9/2001 23:15:00
At a guess because Date is an ASP function that displays todays date. Try changing it to . . . myDate='::myDate::', . . . and changing the database field accordingly. Also, while you are in the database, why have you used memo fields for everything apart from the id? Where possible use text fields as they will be more efficient.All the best Vince ------------------ Internet Business Solutions S.L.(Spain)
|
|
|
|
Topic Starter
Posts: 49 From: Canada, eh? Status: offline
|
RE: My SQL - 4/9/2001 23:34:00
Darn!! Thanks Vince!! As for the memo fields some of the articles are pretty long, longer than th 250 maximum set by a text field....
|
|
|
|
Vince from Spain
Posts: 658 From: Madrid Spain Status: offline
|
RE: My SQL - 4/10/2001 20:58:00
Oooops, I read it as . . . Title, Date, Author, Lead_In and Rest_Of_Article are memo fields..Even with my new 19" monitor I am still completely blind. New glasses maybe  Vince
------------------ Internet Business Solutions S.L.(Spain)
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|