Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
My Other Picker is Pickier
Message
 
À
10/05/2005 09:05:51
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01011435
Message ID:
01012688
Vues:
23
Joe,

>This all AGAIN, seems to work when UPDATING records but not when ADDING new records.
>In the code listing at the end of the post, CompanySelected and VisCompanySelected are valued correctly yet any way I try to save the row or dataset fails with CANNOT INSERT NULL INTO COMPANYNAME in Vistors

>Please help me understand what is (or is not) happening correctly!
>
>So... even though I have set the mmPicker to data bind via
>BindingSource: Company
>BindingSourceMember: CompanyName
>BindingValueSource: Visitor
>BindingValueSourceMember: CompanyName

Maybe I don't understand how your picker is being used, but it looks like you should be able to set the properties to the following, since you the value returned from the PickList form is the value you want to store in the Visitor's CompanyName:

BindingSource: Visitor
BindingSourceMember: CompanyName
BindingValueSource:
BindingValueSourceMember:

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform