Print Page | Close Window

Cannot assign a nil to a TComboBoxStrings

Printed From: ORCL Toolbox
Category: ORCL Toolbox
Forum Name: FormsAPI Master
Forum Description: FormsAPI Master related questions and answers
URL: http://www.orcl-toolbox.com/forums/forum_posts.asp?TID=696
Printed Date: 23-July-2019 at 9:54pm
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Cannot assign a nil to a TComboBoxStrings
Posted By: Martijnke
Subject: Cannot assign a nil to a TComboBoxStrings
Date Posted: 22-November-2011 at 1:42am
Hi all,
 
we have a basic script that contains the following code :
 
  v_pb.addparam ( parDatabaseLogon, 'MYDB', 'Database', '', '' );
    { --
     -- show the parameter screen and wait for inputs
     -- }
    IF v_ps.ShowParamScreen('......') THEN
this causes the following error :
  Cannot assign a nil to a TComboBoxStrings
 
when we put the followng line in comment
   //v_pb.addparam ( parDatabaseLogon, 'MYDB', 'Database', '', '' );
the error disappears but of course now we can no longer logon to a database
the thing is this does not happen on all of our PCs

Any help would be appreciated

Kr

Martin
 



Replies:
Posted By: administrator
Date Posted: 22-November-2011 at 5:04am
Martin,

That sounds like a bug ... i probably look for database-aliases in the TNSNAMES file and show them in the database combobox. If i can't find anything then this error could happen (or at least that would explain it). I will have a look through the code and try to reproduce the problem ... a release fixing this issue should hopefully be out sometime in the next couple of days!

Regards,
Stefan


Posted By: Martijnke
Date Posted: 22-November-2011 at 11:53pm
Stefan,
 
thx for your swift reply, I probably should mention that the machine giving this issue
runs under windows 2008 R2 server (64bit),
I used ProcessMonitor and found the following difference between 32bit and 64bit :
 
in XP SP3 we clearly see formsapimaster reading tnsnames.ora
in win 2008 it does not seem to get to the point where it reads this file, no attempt is made to read tnsnames.ora
maybe this could help you
 
Kr
Martin
ReadlDolmen


Posted By: administrator
Date Posted: 23-November-2011 at 12:06am
the system is 64bit .. but the oracle client is still 32bit, right?


Posted By: Martijnke
Date Posted: 23-November-2011 at 12:34am

Stefan,

 
I think it could be 64 bit as this is the output tnsping gives us :
 
C:\Oracle\Middleware\as_1\bin>tnsping
TNS Ping Utility for 64-bit Windows: Version 11.1.0.7.0 - Production on 23-NOV-2
011 09:30:52
Copyright (c) 1997, 2008, Oracle.  All rights reserved.
 
however the 64 bit also has forms builder 32 bit installed on it
 
how can we be sure how many bits the oracle client is ?
 
 
Kr
Martin
Realdolmen


Posted By: Martijnke
Date Posted: 26-November-2011 at 8:12am
Stefan,
 
any progress on this ?
 
Kr
Martin
realdolmen.com


Posted By: administrator
Date Posted: 27-November-2011 at 7:15pm
fixed in built 418 that is going to be released later today. 


Posted By: Martijnke
Date Posted: 28-November-2011 at 12:00am
thx so much, looking forward to next release



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk