Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toiling into the night - Syntax error - IUnique set to .
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00461687
Message ID:
00461786
Vues:
10
>I have created a Mere Mortals Quick Start project and setup multiple databases in the MetaDBC and set the properties in App. A new class was created from CBizObjMaintenance (only two fields), this was added to the menu and tested. All works fine (Add/Edit/Delete). The only thing changed was the lUnique property for textbox on page2. Now when the UniqueValue method is run I get error #10.
>
>Message: Syntax Error
>Line: 68
>Code: STORE This.TextBox.Value TO (This.cViewParameter)
>
>Method: uniquevalue
>Object: gltypeform1.pgfbizobj.page2.txtgltypeid
>
>
>Obviously I'm missing something, I believe on the settings for lUnique or is it related to the multiple databases. Not sure. But some help or insight would be greatly appreciated.
>
>Thanks
>Jon

The lUnique property uses a lookup view and a parameter to test for uniqueness. Read the section "Specifying a Control to Contain Unique Values" in the manual. It's pretty straight forward.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform