When you use a label to cross reference a float, in fact it is only used
to identify the float you want to use. The reference will by default be
printed as the number associated with the float ( figure number, table
number ... ).
Remember that those numbers are generated by LaTeX and not known when
you enter your text.
Hope it helps.
Siegfried.