Hi Tore,
I haven't used that way of assigning values for form properties. I always use '()' instead, so your example would be like this:
Caption = (date())
I have a lot of optiongroups that have like these in the properties:
Option2.BackColor = (Option1.BackColor)
Option2.ForeColor = (Option1.ForeColor)
Solved the problem BTW. See my reply to David.
Thanks,
Arriyel
>The only reason that I can think of, is a change other people also has told you about. If a label has caption starting with an equal sign, like Caption=DATE(), you get an error in VFP8, the workaround is to manually put a space before the equal sign. You can
>Use yourform.scx
>Browse FIELDS properties for Upper(class)='LABEL' and 'CAPTION = "='$Upper(properties)
>You must put a space after the
" in the line with
Caption = " in all the records. If the original was
Caption = "=date()" you change it to
Caption = "(space)=date()">
>>Hi,
>>
>>I have a VFP form that I can't open in VFP8. I was able to open and edit it just last Friday but today it keeps giving me the 'Syntax error' message whenever I try to open the form. I can open and edit it in VFP7 but not in VFP8.
>>
>>Any help is greatly appreciated.
>>
>>TIA,
>>Arriyel
Speak using soft and sweet words in case you have to eat them later.