|
-
Apr 1st, 2004, 10:30 PM
#1
Thread Starter
Junior Member
If Statement problem...
Im really sad....because of the simple problem, i cannot move to the another doc....
im very new in this vb.net...so, im really hoping dat anybody out there will help me...
i make an entry form using txt box and date..
i need the user to key in the name of document,date and payment...
for the beginning, i list 10 entry...
my problem is, if the user only fill until the third textbox, then i print it, the value of the default date will be print also...
im using this statement:
if txtD1.text <> " " or txtP1.text <> 0 then
'print the name of document
'print the date selected
'print the payment
end if
but, i dont know y the compiler will ignore the txtD1.text that equal to blank, and then print the 3 item,,,the problem is with the default date..it will appear until the list of 10 eventhough i'm only insert 3 entry....
plzzzz....someone help me....
the date line is close but i'm stuck if the simple if statement....
i dont know to make it no print the default date....for information, i'm using datetime picker.....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|