Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My Other Picker is Pickier
Message
 
To
10/05/2005 09:05:51
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01011435
Message ID:
01012688
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform