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
Printed Date: 13-December-2019 at 11:58pm
Software Version: Web Wiz Forums 11.01 -

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



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

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!


Posted By: Martijnke
Date Posted: 22-November-2011 at 11:53pm
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

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


I think it could be 64 bit as this is the output tnsping gives us :
TNS Ping Utility for 64-bit Windows: Version - 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 ?

Posted By: Martijnke
Date Posted: 26-November-2011 at 8:12am
any progress on this ?

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 -
Copyright ©2001-2014 Web Wiz Ltd. -