When checking the syntax under flash mx it displays error (see below)
**Error** Scene=Scene 1, layer=AboutPage, frame=353:Line 10: ')' or ',' expectedfor the code below (Windows MDM Zinc 2.5):-
mdm.Database.MSAccess.runQuery("INSERT INTO Results(Name,Results,ResultsDate) VALUES("Rob", 50,'"+Date()+'" )");
Expand|Select|Wrap|Line Numbers
- mdm.Database.MSAccess.runQuery("INSERT INTO Results(Name,Results,ResultsDate) VALUES("Rob", 50,'"+ Date() +'" )");
From what I can see all the brackets and quotes have matching partners and field name and values are correctly seperated.
Note: Name (string), Results (int) and ResultsDate (Date)
Can anyone spot the mistake?
Note: I also posted this on the MDMZinc forum too.
Thanks
Rob