Office 97 does not by default install the VBA help files for Access 97. Begin by starting office setup and under help files select the VBA help file option. I think that is found under Access in Office 97. Anyway, once you have the help files installed, go into help and lookup the functions used. With a C background, this shouldn't be to difficult to figure out.
Also I noticed you changed the space to be 7 spaces instead of 15... That means you need to change the parameter of the right function to 7 as well...
Right$(Space$(7) & Format$([Fieldname],"-###,###,###.##"

,7)
The only other thing I have to add is that putting a dollar sign after a function as was done in this example forces the output to be a string and not a variant. Not all functions have a string version.
RickSpr, BTW that's an interesting way to go about it... I would have used
Space$(7 - Len([Format$([Fieldname],"-###,###,###.##"

)) & Format$([Fieldname],"-###,###,###.##"
I have also written a funtion that accomplishes this sort of thing. I use it to put in leading 0's into things I import from Excel which converts my text containing numerics to a number for import. It is overkill here because the space function works nicely.
Function FillLeft(strin As String, strFillString As String, lngFillLengthTo As Long) As String
Dim lngNumberCharactersNeeded As Long
Dim lngCount As Long
Dim strTemp As String
lngNumberCharactersNeeded = lngFillLengthTo - Len(strin)
lngCount = 0
While lngCount < lngNumberCharactersNeeded
lngCount = lngCount + 1
strTemp = strTemp & strFillString
Wend
FillLeft = strTemp & strin
End Function