Hi all,
Just a few added clues... maybe it will trigger an "AHA"
somewhere.
If I set scratch specifically the app will not get as far as the first
menu. Also; with scratch set to C:\windows\temp, RBase will leave
a $$$ file behind, but always 0 bytes in size.
If I don't set scratch specifically, I get the error "Can't create
temporary file (2964)" but the app starts. "Sho Scratch" says
scratch files will placed in the database directory. Today I uploaded
my source files rather than the APX and _seemed_ to get a little
further. I could run a couple of the routines, but at some point the
app goes into some kind of loop... I'm guessing as the result of not
being able to create a scratch file. Pressing [esc] let me out. There
were no $$$ files left behind.
And, again, my other app running under RBW6.1a on this same
computer runs just fine. I guess I could run both under 6.1a, but
had hoped to start progressing along the upgrade path with this
app.
Thanks,
Ben Petersen
On 7 Feb 2003, at 17:55, A. Razzak Memon wrote:
> Ben,
>
> ALWAYS use SET SCRATCH command before CONNecting the database!
>
> Example:
>
> SET VAR vTemp = (ENVVAL('TEMP'))
> IF vTemp IS NOT NULL THEN
> SET SCRATCH .vTemp
> ENDIF
> CONNECT DBname
>
> Have Fun!
>
> Very Best Regards,
>
> Razzak.
>
> At 02:58 PM 2/7/2003 +0000, Ben Petersen wrote:
> >This _must_ be a big duh.
> >
> >I'm setting up a new install for RBW 6.5+ runtime on a Win98
> >machine. The first time out I got a message "Can't create
> >temporary file..." just as the app starts. I can make menu choices,
> >but none of the code behind the choice executes.
> >
> >So, slap forehead, and add "set scratch..." commands to the start up
> >file. At which point, RBASE.DAT connects to the database OK, there's
> >a quick screen flash like the APX tried to execute, and then I'm back
> >to the C:> prompt.
> >
> >So with Scratch set the APX won't go so far as the first menu,
> >without scratch set the apx displays the opening menu, I can
> >highlight and make a choice, but nothing happens.
> >
> >Here is rbase.dat that serves as the startup file:
> >--------------------------------------------------------------------
> >SET STATICDB OFF SET MULTI ON
> >
> >CONNECT \btw\tc
> >
> >SET NULL ' '
> >SET ERROR VAR ErrVal
> >SET MESSAGES OFF
> >SET ERROR MESSAGES OFF
> >
> >SET V TempDir Text = (FINDFILE(ENVVAL('TEMP')))
> >
> >If TempDir Is Not Null Then
> > Set Scratch .TempDir
> >EndIf
> >
> >SET V MICRORIM_FULLOPT = 7
> >SET v MICRORIM_F2MAXBLK = 64
> >SET v MICRORIM_F3MAXBLK = 256
> >
> >Set v Microrim_TMPmaxblk = 64
> >Set v Microrim_BTmaxblk = 64
> >
> >SET FILES 20
> >SET BELL OFF
> >SET WHILEOPT OFF
> >
> >Run Cloud in Cloud.apx
> >
> >Exit
>