the code is written in the vb editor, Darren. since you've got the 07 version, to get there simply push Alt+F11 or go to database tools tab > visual basic.
all the code is written there for stand alone, and split apps that don't source to a server somewhere. but that's not all you need to do if you want the code to function with other objects.
for instance, if you write a procedure that needs to execute when a form loads, you cannot simply write:
Code:
private sub form_load()
'do something here
end sub
in the form's module in the vb editor. It won't happen until you go into the property sheet and click those little elipsis (...) beside that event name to link that code to the object specifically.
it's much different than php or js, as access has a separate resource and screen for scripting.