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 > Database Server Software > Informix > Segmentation fault

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-14-09, 03:50
Felix M Mutale Felix M Mutale is offline
Registered User
 
Join Date: Sep 2006
Posts: 17
Segmentation fault

Hello All Forum members,

I am in dire need of help please. Can some one help me solve this segmentation problem ?

I have part of the code like this. I have tried to put displays around to track down the flow as follows:

LET GetInput = TRUE
WHILE GetInput
display " Inside infield manno 1 "
display "GetInput = ", GetInput
sleep 5
INPUT w_manno,
w_surname
WITHOUT DEFAULTS
FROM manno,
surname

AFTER FIELD manno
display " Inside infield manno 2 "
sleep 5
IF w_manno <> " "
AND w_manno IS NOT NULL
THEN
SELECT COUNT(*)
INTO w_cnt

The second display is not coming. I can't put a display just after the INPUT command or as I am getting a syntax error.

I have also tried the following:

LET GetInput = TRUE
WHILE GetInput
display " Inside infield manno 1 "
display "GetInput = ", GetInput
sleep 5
INPUT BY NAME manno,
surname
WITHOUT DEFAULTS

But still I don't seem to get what is going on. How do control the cursor to placed in the input field ?

Thanking you in advance.


Felix Mwango Mutale
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