Thank you Dennis,
Having incorporated your three suggestions (change start in, change quote
setting, including the Dat file name in start in), brings about the same
results. Adding the name of the file into the start in property of the
shortcut results in a "not valid" error from windows. Whether I start the
shortcut in C:\RBTI\RBG91_64 or in C:\cramdat, the outcome is that RBG9.1
opens with no connection to any database.
BUT - when traced, the same exact files result in the form opening as
expected.
tom
Again, the initial post was...
Good Morning,
All weekend I have been pulling my hair out over simply getting started in
9.1.
I have updated my database and am trying to launch RBase into a menu form
(as I had in earlier editions of the database), with little success.
I am pretty sure it is one of two things - #1 I'm an idiot who is
overlooking something obvious, or #2 this is not a valid option.
When running trace on my dat file with RB9.1 64 already open, the file
executes as expected.
When ran from a shortcut, or directly as a stand alone file, RBase launches,
but doesn't connect to the database or launch my form.
If anyone could see something wrong with the code...and is willing to
suggest what my error is, it'd put Monday off onto a better foot.
For the purposes of working, the database "CRAMData" lives in C:\cramdat
The shortcut on the desktop correctly starts in the folder containing
RBG91_64.exe and specifies to start in "C:\cramdat"
The .dat file (basically the same as used for 7.6) in the folder specifies:
"
CHDRV C:
CHDIR \cramdat
SET QUOTES=''''
SET VAR vtemp TEXT = NULL
SET VAR vtemp = (ENVVAL('TEMP'))
IF vtemp IS NOT NULL THEN
SET SCRATCH .vtemp
ELSE
SET SCRATCH OFF
ENDIF
PROPERTY application TITLE 'CRAM Database'
CONNECT cramdata IDENTIFIED BY NONE
QUIT TO micordstart9.rmd
EXIT
RETURN"
It then quits in micordstart9.rmd which specifies: "
SET VAR vbuild TEXT = (CVAL('BUILD'))
IF vbuild NOT = '9.1.5.20103' THEN
CLS
PAUSE 2 USING 'MUST have current RBG9.1 Update installed to
continue!' +
CAPTION ' County Road Association of Michigan!' ICON stop
EXIT
ENDIF
beep 100,100
IF (CVAL('DATABASE')) <> 'CRAMDATA' OR (CVAL('DATABASE')) IS NULL
THEN
CONNECT CRAMDATA IDENTIFIED BY NONE
ENDIF
PROPERTY RBASE_FORM_ACTION CheckDBConnection ' '
EDIT USING CRAMmain
LABEL done
DISCONNECT
RETURN"
HELP PLEASE!
Thank you
Tom Eldred
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
================================================