PC Review


Reply
 
 
Chris
Guest
Posts: n/a
 
      21st Aug 2004
Alright

I am just about to start development on a new app and could do with a
bit of help I've got two ideas and just wondering which people
think is the best or quickest.

1:
I have a table (2 columns), it is used as a "lookup" table i.e.
Item Code
crisps 1
coke 2

etc...

My main table which stores my data has a field called "ItemCode" which
holds the code. I want to have a combobox that shows the "Item" field
from the lookup table but is bound to Item in my other table.

2:
combo box shows fields but isnt bound and then when the save button is
pressed an sql statement is executed which updates the row with the
new value. I think this method maybe slower when moving records
because ill have to set the values of all controls where as with
method 1 they will be bound.

Thanks

Chris
 
Reply With Quote
 
 
 
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      22nd Aug 2004
Use #2. IMHO binding has always been a waste of resources.

-Chris


"Chris" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Alright
>
> I am just about to start development on a new app and could do with a
> bit of help I've got two ideas and just wondering which people
> think is the best or quickest.
>
> 1:
> I have a table (2 columns), it is used as a "lookup" table i.e.
> Item Code
> crisps 1
> coke 2
>
> etc...
>
> My main table which stores my data has a field called "ItemCode" which
> holds the code. I want to have a combobox that shows the "Item" field
> from the lookup table but is bound to Item in my other table.
>
> 2:
> combo box shows fields but isnt bound and then when the save button is
> pressed an sql statement is executed which updates the row with the
> new value. I think this method maybe slower when moving records
> because ill have to set the values of all controls where as with
> method 1 they will be bound.
>
> Thanks
>
> Chris



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with binding to binding source on base form in VS 2005 =?Utf-8?B?SmltIFRpbHNvbg==?= Microsoft Dot NET Framework Forms 3 17th Oct 2006 12:19 PM
Trouble with binding navigator and/or associated binding source Mike Microsoft ADO .NET 0 29th Jul 2006 04:17 PM
>> Early binding and late binding with attachment =?Utf-8?B?Sm9uYXRoYW4=?= Microsoft Outlook VBA Programming 2 9th Jun 2006 02:24 AM
Late Binding examples of binding excel application =?Utf-8?B?SGVhdGhlck8=?= Microsoft Excel Programming 14 17th Mar 2005 08:19 AM
Re: Data Binding - using inline code vs. functions vs. straight binding Alvin Bruney [MVP] Microsoft ASP .NET 0 9th Mar 2004 01:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:56 AM.