Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / CASE problems

Author
Message
The Master
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location:
Posted: 7th Jul 2006 14:58 Edited at: 7th Jul 2006 15:00
well i was making a program and used CASE and dbp said command out of place. please help
thanx
P.S the code i use below is an example of how i would do it



No Pain No Gain
DELL 800MHZ 1GB RAM PENTIUM 4 MICROSOFT XP SP2
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 7th Jul 2006 15:02
Where's you SELECT command?



Boo!
The Master
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location:
Posted: 7th Jul 2006 15:03
oh

No Pain No Gain
DELL 800MHZ 1GB RAM PENTIUM 4 MICROSOFT XP SP2
The Master
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location:
Posted: 8th Jul 2006 21:44
okay i changed it but then why did it say CASE needs a literal paremiter?

thanx



No Pain No Gain
DELL 800MHZ 1GB RAM PENTIUM 4 MICROSOFT XP SP2
Daemon
18
Years of Service
User Offline
Joined: 16th Dec 2005
Location: Everywhere
Posted: 8th Jul 2006 23:33
you can't do
"case blah$"
case is used to descibe a specific instance of what a varible might be.

For example-


The Master
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location:
Posted: 10th Jul 2006 21:45
i fixed it. and realized when after CASE any characters have to be in
"". I read the hands on dbp and it didn't say that.figures.

No Pain No Gain
DELL 800MHZ 1GB RAM PENTIUM 4 MICROSOFT XP SP2

Login to post a reply

Server time is: 2024-11-27 15:46:16
Your offset time is: 2024-11-27 15:46:16