Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create a form based object?
Message
 
À
03/08/1998 02:15:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00123464
Message ID:
00123469
Vues:
17
>Hi,
> I have a class "PhoneForm" which is based on Form. It is in class library bclasslib.vcx. When I try to create an object of this class type dynamically in the event handler of command button, Iam getting an error '"field" phrase is not found' on the CREATEOBJECT() statement.

Puri, The most common cause for Field phrase not found, is having a list or combobox that has rowsourcetype as fields and rowsource uses the alias on all fields. For example, I have two fields I want in the list. The first is Name and the second is city. If I set up the list or combo like this;

RowSourceType Fields
RowSource Customer.Name,Customer.City

I'll get that error. The RowSource should only refer to the alias once on the first field like below;

RowSource Customer.Name,City
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform