If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Multiple Variable

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-26-04, 12:45
jwman jwman is offline
Registered User
 
Join Date: Aug 2004
Posts: 82
Exclamation Multiple Variable

This time is more simple.

I want to create a program which tells the user which sex their baby is. (Don't ask it's a project that would definately benifit the family) SO:
___________
| TXTAGE | INPUT AGE IN HERE
|___________ |
___________
| TXTMONTH | AND THE MONTH OF CONCEIVING HERE
|___________|

If txtage = "18" and txtmonth = "Janurary" and here i want to put March as weli have I tried "or" and "/" how can i use "MULTIPLE VARIABLES"

THANKS AGAIN
Reply With Quote
  #2 (permalink)  
Old 08-26-04, 15:24
loquin loquin is offline
Super Moderator
 
Join Date: Jun 2004
Location: Arizona, USA
Posts: 1,797
Try

If txtage = "18" and (txtmonth = "Janurary" or txtmonth = "March") then
__________________
Lou
使大吃一惊
"Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
"I have my standards. They may be low, but I have them!" - Bette Middler
"It's a book about a Spanish guy named Manual. You should read it." - Dilbert

Reply With Quote
  #3 (permalink)  
Old 09-02-04, 18:03
jwman jwman is offline
Registered User
 
Join Date: Aug 2004
Posts: 82
Thanx for that it working perfectly and the program is complete
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On