473,405 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

System design in .net

For my company's vfp application. I need to perform same event in .net
1) E.g the user inputs the companycode, system check the companycode,
setfocus to that field if the code is invalid, HOWEVER, user can press
'Unsave' button to cancel this invoice or press 'upper arrow' to pass away
that field.
Question, in .net if i set .focus .the cursor must stay on that field until
I input valid companycode.
2) In my vfp, every textbox's valid event will call the method
"FieldValidation" and pass its type to that method e.g
"FieldValidation('txtCompanyCode')', e.g
"FieldValidation('txtInvoiceDate')'. if the user press "SAVE", it will pass
"ALL" as parameter

For this method , the following code is
PARAMETER pField

If pField = "txtCompanyCode" .OR. pField = "ALL"
'check........
endif
If pField = "txtDate" .OR. pField = "ALL"
'check........
endif

So, I will do twice field validation. Now, for .net new design. I am wonder
is this a good design to do that ???
Someone suggest that I should do' field validation' as the user press 'save'
only. <-- However, it is rejectable by my boss. MY BOSS insist the back-end
design must according to the vfp design or should better than b4.
I am headache about it ~~~
Any Suggestion ~~~ ???
Nov 20 '05 #1
3 1270
How come everyone in the world seems to be struggling to build .NET
applications, and no offence, but an awful lot of them are newbies and
asking very basic questions. How come I'm spending 3 hours a day trying to
apply for jobs as a VB programmer, which I've been doing professionally for
years (on and off).

S'not fair :(
__________________________
The Very Grim Reaper

"Agnes" <ag***@dynamictech.com.hk> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
For my company's vfp application. I need to perform same event in .net
1) E.g the user inputs the companycode, system check the companycode,
setfocus to that field if the code is invalid, HOWEVER, user can press
'Unsave' button to cancel this invoice or press 'upper arrow' to pass away
that field.
Question, in .net if i set .focus .the cursor must stay on that field until I input valid companycode.
2) In my vfp, every textbox's valid event will call the method
"FieldValidation" and pass its type to that method e.g
"FieldValidation('txtCompanyCode')', e.g
"FieldValidation('txtInvoiceDate')'. if the user press "SAVE", it will pass "ALL" as parameter

For this method , the following code is
PARAMETER pField

If pField = "txtCompanyCode" .OR. pField = "ALL"
'check........
endif
If pField = "txtDate" .OR. pField = "ALL"
'check........
endif

So, I will do twice field validation. Now, for .net new design. I am wonder is this a good design to do that ???
Someone suggest that I should do' field validation' as the user press 'save' only. <-- However, it is rejectable by my boss. MY BOSS insist the back-end design must according to the vfp design or should better than b4.
I am headache about it ~~~
Any Suggestion ~~~ ???

Nov 20 '05 #2
I feel your pain. I really enjoy helping people out, but so many times
I have wanted to make the same comment.
Especially when I read things like:
"Full xxx application needed with source code for FREE!!!"
"My company has tasked me with xxx and I'm still trying to figure out how to
install VS."

I'm constantly amazed how some clearly excellent programmers do actually provide
things for free. Kudos to them.
However, I haven't been able to find a steady job or paycheck for almost a year.

Sorry Agnes, I know this doesn't answer your question in any way.
I sure one of the very helpful people here will provide you an answer.
Tell your boss to hire a programmer with experience.
There are a lot of us out of work at the moment.

Will work for food.
Gerald

"The Grim Reaper" <gr*********@btopenworld.com> wrote in message
news:cc**********@hercules.btinternet.com...
How come everyone in the world seems to be struggling to build .NET
applications, and no offence, but an awful lot of them are newbies and
asking very basic questions. How come I'm spending 3 hours a day trying to
apply for jobs as a VB programmer, which I've been doing professionally for
years (on and off).

S'not fair :(
__________________________
The Very Grim Reaper

"Agnes" <ag***@dynamictech.com.hk> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
For my company's vfp application. I need to perform same event in .net
1) E.g the user inputs the companycode, system check the companycode,
setfocus to that field if the code is invalid, HOWEVER, user can press
'Unsave' button to cancel this invoice or press 'upper arrow' to pass away
that field.
Question, in .net if i set .focus .the cursor must stay on that field

until
I input valid companycode.
2) In my vfp, every textbox's valid event will call the method
"FieldValidation" and pass its type to that method e.g
"FieldValidation('txtCompanyCode')', e.g
"FieldValidation('txtInvoiceDate')'. if the user press "SAVE", it will

pass
"ALL" as parameter

For this method , the following code is
PARAMETER pField

If pField = "txtCompanyCode" .OR. pField = "ALL"
'check........
endif
If pField = "txtDate" .OR. pField = "ALL"
'check........
endif

So, I will do twice field validation. Now, for .net new design. I am

wonder
is this a good design to do that ???
Someone suggest that I should do' field validation' as the user press

'save'
only. <-- However, it is rejectable by my boss. MY BOSS insist the

back-end
design must according to the vfp design or should better than b4.
I am headache about it ~~~
Any Suggestion ~~~ ???


Nov 20 '05 #3
Hi Agnes,

What your boss has to do is not so important for us, I do not completly
understand your message.

However did you already look at the e.cancel in the validate event?

When this does not answer your question, reply your answer?
Howevr (some) code will be fine to give us an idea.

Cor
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: jenniferyiu | last post by:
IMHO, simply NO. False actually, practically.
1
by: C | last post by:
Hi, I have a C# Web Application. I am Referencing System.Web In teh code behind of one of my pages I have below imports- using System.Web.UI;
4
by: emma middlebrook | last post by:
Hi Straight to the point - I don't understand why System.Array derives from IList (given the methods/properties actually on IList). When designing an interface you specify a contract. Deriving...
3
by: Michael Bøcker-Larsen | last post by:
Hi I'v been stuck on this problem for ages now. I have found that I'm not the only one with this problem, by looking through the different newsgroups. Hope you can help me! I know there is a...
1
by: nic | last post by:
I have been reading about creating custom controls and many of them use the System.Web.UI.Design namespace. I don't have access to it. How do I add the System.Web.UI.Design to my project? (It...
2
by: Nad | last post by:
Hi everyone, When I compile my code with "using System.Web.UI.Design;" I get a compile error. I don't think I'm missing a reference as I can use System.Web.UI.HtmlControls and...
2
by: antonyliu2002 | last post by:
I am testing AJAX. I've downloaded the AJAX Extension and the CTP December package and installed on BOTH my development machine and the production server. Then I created a very very simple web...
2
by: jmDesktop | last post by:
I'm using C#, but I don't know that it matters for this question. I know that many experienced folks are on here, so sorry for being off topic. I am finally at a point where I want to and I think...
30
by: Yorian | last post by:
Hey, Although I've been using classes and object for quite a while now I've never actually programmed proper OO code yet. It ofcourse depends on what you call proper OO code. I have been...
0
by: 703designs | last post by:
I'm with FutureShock, both of you guys got a little too heated. But it livened up my midday a bit, for what it's worth. Thomas On Nov 10, 10:02 pm, FutureShock <futuresho...@att.netwrote:
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.