Click here to Skip to main content
15,890,043 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Vb . net 2003 mod function Pin
Dave Kreskowiak14-Feb-05 7:05
mveDave Kreskowiak14-Feb-05 7:05 
GeneralRe: Vb . net 2003 mod function Pin
Anonymous14-Feb-05 8:43
Anonymous14-Feb-05 8:43 
GeneralRe: Vb . net 2003 mod function Pin
Dave Kreskowiak15-Feb-05 3:43
mveDave Kreskowiak15-Feb-05 3:43 
Generalget string array length Pin
Stephan Wright14-Feb-05 2:37
Stephan Wright14-Feb-05 2:37 
GeneralRe: get string array length Pin
Fawxes14-Feb-05 3:26
Fawxes14-Feb-05 3:26 
GeneralRe: get string array length Pin
Stephan Wright14-Feb-05 6:32
Stephan Wright14-Feb-05 6:32 
GeneralRe: get string array length Pin
Scott Serl14-Feb-05 8:44
Scott Serl14-Feb-05 8:44 
GeneralData Table or Business Object Pin
Fawxes13-Feb-05 23:58
Fawxes13-Feb-05 23:58 
I'm a novice at code writing (newbie is something my kids would call it) and need some advice.

I need to write some code that enables me to access and manipulate data from a database object. This code has to validate the data away from the database. I would personally like to use an object that has methods that read and write to the database and properties that manage validation. This would make life easier when using the properties or field values with other objects. The problem with business objects is the time it takes to create the object.

If I want to run a datagrid based on a collection of business objects it takes too long to create the object collection (for example sales orders). Linking the datagrid to a dataview and using a datatable to hold the values is far quicker. The business objects method appears to provide a better method of creating sales orders without access to the database using a localised copy of any necessary data (part codes, etc).

One other point, the database is provided by a third party and I'm writing an additional interface (this is allowed and part of the software contract) that provides additional facilities. So that the interface isn't restricted by hard coding I have created configuration files that identify table field names, label descriptions, table column headers, table widths, column orders and properties used to create a tab control interface such as top,left,width (for the placement of text boxes) and group properties (used to create different tab pages). I've done this because I'm just a little concerned that if I leave the company they won't be able to change any of the intferface.

I know I can't avoid hard coding validation but the data screens can be configured without hard coding. I currently use a tab deliminated file (so we can use commas in field names or sql commands) but will propbably change to xml as excel is rubbish for tab deliminated (places double quatation marks without asking) and I wan't a columned interface for users to read/write to the configuration files.

What is everyone's thoughts on this. Time to retrieve and refresh data is important. The ability to travel half way around the world and create a 'dummy' sales order to enter into the database is also equally as important.

Any advice would be gratefully appreciated.

Fawxes

An optimist's glass is half full.
A pesimist's glass is half empty.
An engineer goes and gets the right size glass.
GeneralInsufficient system resources Pin
sayhigh13-Feb-05 22:32
sayhigh13-Feb-05 22:32 
GeneralRe: Insufficient system resources Pin
Dave Kreskowiak14-Feb-05 1:28
mveDave Kreskowiak14-Feb-05 1:28 
GeneralRe: Insufficient system resources Pin
sayhigh14-Feb-05 1:34
sayhigh14-Feb-05 1:34 
GeneralRe: Insufficient system resources Pin
Dave Kreskowiak14-Feb-05 5:34
mveDave Kreskowiak14-Feb-05 5:34 
GeneralRe: Insufficient system resources Pin
Kirk Quinbar15-Apr-09 10:54
Kirk Quinbar15-Apr-09 10:54 
GeneralVB.NET Datasets Pin
Mahesh167913-Feb-05 22:11
Mahesh167913-Feb-05 22:11 
GeneralRe: VB.NET Datasets Pin
Dave Kreskowiak14-Feb-05 1:26
mveDave Kreskowiak14-Feb-05 1:26 
GeneralRe: VB.NET Datasets Pin
Virus Detecter16-Feb-05 0:28
Virus Detecter16-Feb-05 0:28 
GeneralTriggering Event - Access Form Pin
FuzMic13-Feb-05 19:29
FuzMic13-Feb-05 19:29 
GeneralRe: Triggering Event - Access Form Pin
Dave Kreskowiak14-Feb-05 5:18
mveDave Kreskowiak14-Feb-05 5:18 
GeneralRe: Triggering Event - Access Form Pin
Mike the Red14-Feb-05 8:22
Mike the Red14-Feb-05 8:22 
GeneralHi Mike Red & Dave Pin
FuzMic14-Feb-05 19:30
FuzMic14-Feb-05 19:30 
GeneralVb Reading from Excel Pin
greg 77713-Feb-05 18:58
greg 77713-Feb-05 18:58 
GeneralRich Text Field - Background Pin
TomVerkaaik13-Feb-05 17:26
TomVerkaaik13-Feb-05 17:26 
GeneralConnecting scanner Pin
Avanti Dharkar13-Feb-05 0:52
Avanti Dharkar13-Feb-05 0:52 
GeneralRe: Connecting scanner Pin
H@is@here18-Feb-05 10:14
H@is@here18-Feb-05 10:14 
GeneralRe: Connecting scanner Pin
Avanti Dharkar19-Feb-05 3:52
Avanti Dharkar19-Feb-05 3:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.