>>I have a label that I use to report how many records are returned from a search. The initial caption is 'Label to report to the user the total Records Found and of them how many are delinqunent', the alignment is center, the autosize is true, and the label is centered on the form to begin with. Now during the execution of the app the caption is changed to reflect the data I want it to say:
>>THIS.PARENT.C40lblRecordsFound.CAPTION = 'Your query found '+ALLTRIM(TRANSFORM(lnTally,'999,999,999'))+' records, of which '+ALLTRIM(TRANSFORM(lnDelinquentCount,'999,999,999'))+' have been found to be delinquent.'
>>
>>When the query runs once the label looks ok, but when I go back and run another query with new criteria the label then becomes off centered.
>>
>>Any ideas why?
>
>Have you tried resetting the Alignment and AutoSize properties along with the Caption?
Will that a go and let you know...
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope