|
-
Mar 27th, 2010, 01:19 AM
#1
Thread Starter
Lively Member
If statement problem
This should be easy but, I have a shipping system, where the user picks a shipment method, and a shipment weight must be based off the shipment method chosen. i.e If the user chooses 'Standard Air', which is on a drop down list in a combo box, the consignment weight must be =>1 and <1000.
I have made a variable, dConsignWeight as Double, and converted the textbox to a double with Cdbl(txtConsignWeight.Text).
Then I try to create the If statement.
If cmbShipmentMethod.Text = "Standard Air" Then
dConsignWeight >=1
This is where I get an error? What am I doing wrong? thanks.
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
|