V4RB Client Problems

Deane Venske deane.venske at eduss.com
Fri Dec 5 10:05:53 CST 2003


Hi Mike,

Have you checked to see if there is a lock on that table? If you do a 
SELECT query without destroying the cursor instance then you'll have 
trouble writing to it (UPDATE, DELETE or INSERT). That was one thing that 
caught me when I started.

Deane

On Thu, 4 Dec 2003 17:55:10 -0600, Michael Krugman <admin at ktinet.net> 
wrote:

> Rusian:
>
> I tried everything you said, from scratch and I did everything by your 
> instructions and, based on these instructions you're 
> right.....however....if you try to add a SINGLE record, update or 
> delete, these buttons do not work...on the main window or the query 
> window.  Single Table will not add or delete single records.  If you 
> look in the Populate Panes method and the Collect Panes method, you will 
> see them commented out.  I uncommented them just to see if it would work 
> and the Single Table app crashes....so does my app..this is what the 
> problem is.
>
> Mike
>
>
>
>
> Hi Mike,
>
> I have check more
> Everything works for me!
>
>
> I have open example "Single TAble" in RB 5.2.4
>
> I have run vserver
>
> Run example.
>
> Do NewDatabase
> See that server show in log: connection established
>
> Do Menu Add 100000 records
>
> Press button query.
>
> In the new window press button Execute, and see found records.
>
>
> All works!
>
>
> So please try again from scratch.
>
>
>
> On Dec 4, 2003, at 5:03 PM, Michael Krugman wrote:
>
>> Rusian:
>>
>> OK...I've got the right one...this is the one with RB2 example in it 
>> called Single Table.  Single Table sample opens fine, just like my app 
>> does, but Single Table cannot add records, which is the problem I'm 
>> still having.  I can create the database OK, except for one time the 
>> database was created with NO table in it.  That hasn't happened since, 
>> but every time I try to add a record, my app crashes.  Single Table had 
>> the two Panes methods commented out.  I uncommented them and tried to 
>> add a record.  This crashes too with a Bus error.
>>
>> Mike
>> On Dec 4, 2003, at 4:25 PM, Michael Krugman wrote:
>>
>>> Rusian:
>>>
>>> I'm working on Mac, with Panther 10.3.2,  RB 5.22, Valentina Server 
>>> and V4RB Client.
>>>
>>> Mike
>>> On Dec 4, 2003, at 4:00 PM, Michael Krugman wrote:
>>>
>>>> Rusian:
>>>>
>>>> I am using RB 5.2.2 with all of this.  I just noticed that the sample 
>>>> Single Table that does open is a RB2 file.  So I used the plugin from 
>>>> RB5, but I'm still having the same problem.  I want to try it with 
>>>> the Single Table sample that's in the folder, but I can't get it 
>>>> open, not through the Finder or any other way.  This was the one that 
>>>> was .zip, so something must have happened when zipping it up.  I know 
>>>> you did it that way for Windows users....how can I get Single Table 
>>>> (for RB5) opened?
>>>>
>>>> Mike
>>>>
>>>> Begin forwarded message:
>>>>
>>>>> From: Michael Krugman <admin at ktinet.net>
>>>>> Date: December 4, 2003 3:16:37 PM CST
>>>>> To: Michael Krugman <admin at ktinet.net>
>>>>> Subject: Re: V4RB Client Problems
>>>>>
>>>>> Hi Rusian:
>>>>>
>>>>> There is only one sample in the V4RB folder, which is called Single 
>>>>> Table.  I have run that.  Single Table doesn't add records 
>>>>> either....all of the methods for adding records are commented out.  
>>>>> This sample also creates several files.  The server does run, and 
>>>>> Single Table sample does connect to it.  There are two different 
>>>>> versions of V4RB client...I've downloaded them both, but one 
>>>>> version's sample will not run.  I got these from the beta section.  
>>>>> I'm wondering if I'm using the wrong plugin.  At any rate, the one I 
>>>>> am using, with the Single Table sample that does run, does exactly 
>>>>> the same thing as my app.  I did a test add and it appeared that 100 
>>>>> records were added.  Any time I attempted to add another record, 
>>>>> Single Table crashed with "Bus Error".
>>>>>
>>>>> Mike
>>>>> On Dec 4, 2003, at 12:14 PM, Michael Krugman wrote:
>>>>>
>>>>>> Hi List:
>>>>>>
>>>>>> I'm working on a migration to Valentina from RBDB.  I have 
>>>>>> downloaded and installed Valentina Server, made sure I have the 
>>>>>> right plugin for V4RB client, etc.  I am able to verify connection 
>>>>>> to the server, as I am starting the server with Terminal and 
>>>>>> watching the logs develop, so I think all of that is OK.  I 
>>>>>> originally migrated to V4RB without the client plugin (I just used 
>>>>>> the V4RB standard plugin) when I rewrote the code to work with 
>>>>>> Valentina.  Before I changed plugins, I was able to create, open, 
>>>>>> add records to and search the database, all with no problem.  Since 
>>>>>> switching plugins and connecting to server, the database was 
>>>>>> created WITHOUT the table.  This is a single table database.  I 
>>>>>> deleted the database without the table, then created another one.  
>>>>>> This time, it had a table, but my app crashed any time I wanted to 
>>>>>> add a record. The log showed that as a sudden close.   Another 
>>>>>> thing that was not happening before I switched plugins is that 
>>>>>> several other files are being created with the original database.  
>>>>>> The database name is Clients.  Files called clients.dat, clients 
>>>>>> ind.dat, and clients.ind.ind are being created.  Can someone point 
>>>>>> me in the right direction as to what went wrong here?
>>>>>>
>>>>>> Thank you.
>>>>>>
>>>>>> Mike
>>>>>>
>>>>>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina



-- 
Deane Venske
Senior Programmer
Eduss Ltd.
+61 7 5597 4600

-------------
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
**If you don't have it you're missing out!**
-------------


More information about the Valentina mailing list