Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble with Ruletext, View Designer
Message
De
22/12/1998 09:44:17
 
 
À
22/12/1998 00:43:29
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00169374
Message ID:
00169621
Vues:
19
Hey, that was the problem. Doesn't seem consistent that text properties like caption and comment don't need quotes, but ruletext does. Thanks for the help.


>Erik,
>This may be really a dumb suggestion but did you include the quotes in the string? IOW, this gives me the same error you get:
>
>dbsetprop('temp','view', 'ruletext', 'Goobers!' )
>
>
>But with the inner quotes...
>
>dbsetprop('temp','view', 'ruletext', '"Goobers!"' )
>
>
>...all is well.
>
>HTH.
>
>>
>>Thanks, Nancy. I looked at the article, and it s indeed documenting the behavior I found, but it doesn't do much to tell me what I have done wrong. The article basically says that this error stems from illegal values being entered in the Ruletext, RuleExpression, or DefaultValue properties. This makes sense, but what I don't understand is how a regular string can be an illegal value for the RuleText property.
>>
>>So I still don't know how to get around it. I am in the middle of (almost finished actually) building a view editor to replace the one that comes with VFP. This error came up while testing, but I then found that the native View Designer causes this error too. hmmm.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform