ESC from subscreen

View: New views
20 Messages — Rating Filter:   Alert me  

ESC from subscreen

by Woodward, Bob :: Rate this Message:

| View Threaded | Show Only this Message

Hi folks,

 

I hope this is a simple question.  From a main screen, I call a
subscreen with a function key.  The subscreen uses the same @RECORD data
and works as I'm wanting.  If I make a change and use the F2 to save
those changes, the subscreen closes and the main screen now has the new
data values.  My problem comes in if I go to exit the subscreen with the
escape key.  I'm getting prompted with the "Save Changes?" (Cancel, No,
Yes options) message, even if I go into the subscreen then immediately
press ESC.

 

On the function key call, I'm running a procedure that's doing one test
then a direct execute of the subscreen so I don't THINK I'm changing any
data but SB might be.  Anyone have any suggestions?  What am I doing
wrong or where should I be looking?

 

TIA,

 

Bob W.

_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: ESC from subscreen

by Dave Davis-3 :: Rate this Message:

| View Threaded | Show Only this Message

You can suppress the "save changes" prompt on the subscreen with either [S] or [MS] in the "process after escape" slot after the name of the process after escape (if any).

Put in an EXEC "DEBUG" before and after the subscreen call if you want to find out what's changed in the record.

Also make sure the subscreen doesn't have the "write record" flag set to "Y" unless you are actually writing to file.

-----Original Message-----
From: sbsolutions-bounces@... [mailto:sbsolutions-bounces@...] On Behalf Of Woodward, Bob
Sent: Monday, February 06, 2012 4:47 PM
To: SB Solutions
Subject: [SBS] ESC from subscreen

Hi folks,



I hope this is a simple question.  From a main screen, I call a
subscreen with a function key.  The subscreen uses the same @RECORD data
and works as I'm wanting.  If I make a change and use the F2 to save
those changes, the subscreen closes and the main screen now has the new
data values.  My problem comes in if I go to exit the subscreen with the
escape key.  I'm getting prompted with the "Save Changes?" (Cancel, No,
Yes options) message, even if I go into the subscreen then immediately
press ESC.



On the function key call, I'm running a procedure that's doing one test
then a direct execute of the subscreen so I don't THINK I'm changing any
data but SB might be.  Anyone have any suggestions?  What am I doing
wrong or where should I be looking?



TIA,



Bob W.

_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions
________________________________


Dave Davis
Team Lead, R&D

P: 614-875-4910 x108
F: 614-875-4088
E: DDavis@...
        [http://www.harriscomputer.com/images/signatures/HarrisSchools.gif]

[http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]<http://www.harriscomputer.com/>
        6110 Enterprise Parkway
Grove City, OH
43123
www.harris-schoolsolutions.com<http://www.harris-schoolsolutions.com>

This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by e-mail and delete all copies of the message.

_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: ESC from subscreen

by Kevin King :: Rate this Message:

| View Threaded | Show Only this Message

Yeah, I agree with Dave.  Sounds like maybe the Write Record flag is set to
"Y" and maybe the Subscreen option isn't set on the /PD.I?

On Mon, Feb 6, 2012 at 2:54 PM, Dave Davis <DDavis@...>wrote:

> You can suppress the "save changes" prompt on the subscreen with either
> [S] or [MS] in the "process after escape" slot after the name of the
> process after escape (if any).
>
> Put in an EXEC "DEBUG" before and after the subscreen call if you want to
> find out what's changed in the record.
>
> Also make sure the subscreen doesn't have the "write record" flag set to
> "Y" unless you are actually writing to file.
>
> -----Original Message-----
> From: sbsolutions-bounces@... [mailto:
> sbsolutions-bounces@...] On Behalf Of Woodward, Bob
> Sent: Monday, February 06, 2012 4:47 PM
> To: SB Solutions
> Subject: [SBS] ESC from subscreen
>
> Hi folks,
>
>
>
> I hope this is a simple question.  From a main screen, I call a
> subscreen with a function key.  The subscreen uses the same @RECORD data
> and works as I'm wanting.  If I make a change and use the F2 to save
> those changes, the subscreen closes and the main screen now has the new
> data values.  My problem comes in if I go to exit the subscreen with the
> escape key.  I'm getting prompted with the "Save Changes?" (Cancel, No,
> Yes options) message, even if I go into the subscreen then immediately
> press ESC.
>
>
>
> On the function key call, I'm running a procedure that's doing one test
> then a direct execute of the subscreen so I don't THINK I'm changing any
> data but SB might be.  Anyone have any suggestions?  What am I doing
> wrong or where should I be looking?
>
>
>
> TIA,
>
>
>
> Bob W.
>
> _______________________________________________
> SBSolutions mailing list
> SBSolutions@...
> http://listserver.u2ug.org/mailman/listinfo/sbsolutions
> ________________________________
>
>
> Dave Davis
> Team Lead, R&D
>
> P: 614-875-4910 x108
> F: 614-875-4088
> E: DDavis@...
>        [http://www.harriscomputer.com/images/signatures/HarrisSchools.gif]
>
> [http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]<
> http://www.harriscomputer.com/>
>        6110 Enterprise Parkway
> Grove City, OH
> 43123
> www.harris-schoolsolutions.com<http://www.harris-schoolsolutions.com>
>
> This message is intended exclusively for the individual or entity to which
> it is addressed. This communication may contain information that is
> proprietary, privileged or confidential or otherwise legally exempt from
> disclosure. If you are not the named addressee, you are not authorized to
> read, print, retain, copy or disseminate this message or any part of it. If
> you have received this message in error, please notify the sender
> immediately by e-mail and delete all copies of the message.
>
> _______________________________________________
> SBSolutions mailing list
> SBSolutions@...
> http://listserver.u2ug.org/mailman/listinfo/sbsolutions
>
_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: ESC from subscreen

by Woodward, Bob :: Rate this Message:

| View Threaded | Show Only this Message

No on both.  I agree that is what it sounds like so I've quadruple
checked, reentered, resaved them.  The only way I can get out of the
subscreen is by using the F2-save.  I'm going to try making a new copy
of the subscreen with only a couple of fields then see what happens.

I'll send another shout if I can't get past this.

Thanks,
BobW

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of Kevin King
Sent: Monday, February 06, 2012 2:23 PM
To: SB Solutions
Subject: Re: [SBS] ESC from subscreen

Yeah, I agree with Dave.  Sounds like maybe the Write Record flag is set
to
"Y" and maybe the Subscreen option isn't set on the /PD.I?

On Mon, Feb 6, 2012 at 2:54 PM, Dave Davis
<DDavis@...>wrote:

> You can suppress the "save changes" prompt on the subscreen with
either
> [S] or [MS] in the "process after escape" slot after the name of the
> process after escape (if any).
>
> Put in an EXEC "DEBUG" before and after the subscreen call if you want
to
> find out what's changed in the record.
>
> Also make sure the subscreen doesn't have the "write record" flag set
to

> "Y" unless you are actually writing to file.
>
> -----Original Message-----
> From: sbsolutions-bounces@... [mailto:
> sbsolutions-bounces@...] On Behalf Of Woodward, Bob
> Sent: Monday, February 06, 2012 4:47 PM
> To: SB Solutions
> Subject: [SBS] ESC from subscreen
>
> Hi folks,
>
>
>
> I hope this is a simple question.  From a main screen, I call a
> subscreen with a function key.  The subscreen uses the same @RECORD
data
> and works as I'm wanting.  If I make a change and use the F2 to save
> those changes, the subscreen closes and the main screen now has the
new
> data values.  My problem comes in if I go to exit the subscreen with
the
> escape key.  I'm getting prompted with the "Save Changes?" (Cancel,
No,
> Yes options) message, even if I go into the subscreen then immediately
> press ESC.
>
>
>
> On the function key call, I'm running a procedure that's doing one
test
> then a direct execute of the subscreen so I don't THINK I'm changing
any

> data but SB might be.  Anyone have any suggestions?  What am I doing
> wrong or where should I be looking?
>
>
>
> TIA,
>
>
>
> Bob W.
>
> _______________________________________________
> SBSolutions mailing list
> SBSolutions@...
> http://listserver.u2ug.org/mailman/listinfo/sbsolutions
> ________________________________
>
>
> Dave Davis
> Team Lead, R&D
>
> P: 614-875-4910 x108
> F: 614-875-4088
> E: DDavis@...
>
[http://www.harriscomputer.com/images/signatures/HarrisSchools.gif]
>
>
[http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]<
> http://www.harriscomputer.com/>
>        6110 Enterprise Parkway
> Grove City, OH
> 43123
> www.harris-schoolsolutions.com<http://www.harris-schoolsolutions.com>
>
> This message is intended exclusively for the individual or entity to
which
> it is addressed. This communication may contain information that is
> proprietary, privileged or confidential or otherwise legally exempt
from
> disclosure. If you are not the named addressee, you are not authorized
to
> read, print, retain, copy or disseminate this message or any part of
it. If
> you have received this message in error, please notify the sender
> immediately by e-mail and delete all copies of the message.
>
> _______________________________________________
> SBSolutions mailing list
> SBSolutions@...
> http://listserver.u2ug.org/mailman/listinfo/sbsolutions
>
_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions
_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: ESC from subscreen

by Mike Maldon :: Rate this Message:

| View Threaded | Show Only this Message

Bob, is it possible you have some default data populating any fields
on the sub-screen or behind the scenes that is not visible?

Mike Maldon

----- Original Message -----
From: "Woodward, Bob" <Bob_Woodward@...>
To: "SB Solutions" <sbsolutions@...>
Sent: Tuesday, February 07, 2012 10:44 AM
Subject: Re: [SBS] ESC from subscreen


> No on both.  I agree that is what it sounds like so I've quadruple
> checked, reentered, resaved them.  The only way I can get out of the
> subscreen is by using the F2-save.  I'm going to try making a new
> copy
> of the subscreen with only a couple of fields then see what happens.
>
> I'll send another shout if I can't get past this.
>
> Thanks,
> BobW
>
> -----Original Message-----
> From: sbsolutions-bounces@...
> [mailto:sbsolutions-bounces@...] On Behalf Of Kevin
> King
> Sent: Monday, February 06, 2012 2:23 PM
> To: SB Solutions
> Subject: Re: [SBS] ESC from subscreen
>
> Yeah, I agree with Dave.  Sounds like maybe the Write Record flag is
> set
> to
> "Y" and maybe the Subscreen option isn't set on the /PD.I?
>
> On Mon, Feb 6, 2012 at 2:54 PM, Dave Davis
> <DDavis@...>wrote:
>
>> You can suppress the "save changes" prompt on the subscreen with
> either
>> [S] or [MS] in the "process after escape" slot after the name of
>> the
>> process after escape (if any).
>>
>> Put in an EXEC "DEBUG" before and after the subscreen call if you
>> want
> to
>> find out what's changed in the record.
>>
>> Also make sure the subscreen doesn't have the "write record" flag
>> set
> to
>> "Y" unless you are actually writing to file.
>>
>> -----Original Message-----
>> From: sbsolutions-bounces@... [mailto:
>> sbsolutions-bounces@...] On Behalf Of Woodward, Bob
>> Sent: Monday, February 06, 2012 4:47 PM
>> To: SB Solutions
>> Subject: [SBS] ESC from subscreen
>>
>> Hi folks,
>>
>>
>>
>> I hope this is a simple question.  From a main screen, I call a
>> subscreen with a function key.  The subscreen uses the same @RECORD
> data
>> and works as I'm wanting.  If I make a change and use the F2 to
>> save
>> those changes, the subscreen closes and the main screen now has the
> new
>> data values.  My problem comes in if I go to exit the subscreen
>> with
> the
>> escape key.  I'm getting prompted with the "Save Changes?" (Cancel,
> No,
>> Yes options) message, even if I go into the subscreen then
>> immediately
>> press ESC.
>>
>>
>>
>> On the function key call, I'm running a procedure that's doing one
> test
>> then a direct execute of the subscreen so I don't THINK I'm
>> changing
> any
>> data but SB might be.  Anyone have any suggestions?  What am I
>> doing
>> wrong or where should I be looking?
>>
>>
>>
>> TIA,
>>
>>
>>
>> Bob W.
>>
>> _______________________________________________
>> SBSolutions mailing list
>> SBSolutions@...
>> http://listserver.u2ug.org/mailman/listinfo/sbsolutions
>> ________________________________
>>
>>
>> Dave Davis
>> Team Lead, R&D
>>
>> P: 614-875-4910 x108
>> F: 614-875-4088
>> E: DDavis@...
>>
> [http://www.harriscomputer.com/images/signatures/HarrisSchools.gif]
>>
>>
> [http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]<
>> http://www.harriscomputer.com/>
>>        6110 Enterprise Parkway
>> Grove City, OH
>> 43123
>> www.harris-schoolsolutions.com<http://www.harris-schoolsolutions.com>
>>
>> This message is intended exclusively for the individual or entity
>> to
> which
>> it is addressed. This communication may contain information that is
>> proprietary, privileged or confidential or otherwise legally exempt
> from
>> disclosure. If you are not the named addressee, you are not
>> authorized
> to
>> read, print, retain, copy or disseminate this message or any part
>> of
> it. If
>> you have received this message in error, please notify the sender
>> immediately by e-mail and delete all copies of the message.
>>
>> _______________________________________________
>> SBSolutions mailing list
>> SBSolutions@...
>> http://listserver.u2ug.org/mailman/listinfo/sbsolutions
>>
> _______________________________________________
> SBSolutions mailing list
> SBSolutions@...
> http://listserver.u2ug.org/mailman/listinfo/sbsolutions
> _______________________________________________
> SBSolutions mailing list
> SBSolutions@...
> http://listserver.u2ug.org/mailman/listinfo/sbsolutions
>


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: ESC from subscreen

by Woodward, Bob :: Rate this Message:

| View Threaded | Show Only this Message

I wondered about that same thing but I don't think so.  I recreated the
subscreen putting just the data fields on there.  Some of the fields I
switched to non-entry so they are basically just displaying the contents
of RECORD for them, then there is an associated MV group, which is the
core reason for this screen, that are there for entry/update.  I set the
subscreen flag in the process definition and the WRITE RECORD flag to
null.  That's pretty much it but I still get the same results.  The only
way to exit the screen is with the F2-save.

I don't see how but could something in the main screen cause this?
Maybe I'm not saving off a system variable that I should be so it's
doing something like comparing RECORD to ORIG.REC or something like
that?

Obviously, I'm grasping at straws...

Thanks.
BobW

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of Mike
Maldon
Sent: Monday, February 06, 2012 4:53 PM
To: SB Solutions
Subject: Re: [SBS] ESC from subscreen

Bob, is it possible you have some default data populating any fields
on the sub-screen or behind the scenes that is not visible?

Mike Maldon

----- Original Message -----
From: "Woodward, Bob" <Bob_Woodward@...>
To: "SB Solutions" <sbsolutions@...>
Sent: Tuesday, February 07, 2012 10:44 AM
Subject: Re: [SBS] ESC from subscreen


> No on both.  I agree that is what it sounds like so I've quadruple
> checked, reentered, resaved them.  The only way I can get out of the
> subscreen is by using the F2-save.  I'm going to try making a new
> copy
> of the subscreen with only a couple of fields then see what happens.
>
> I'll send another shout if I can't get past this.
>
> Thanks,
> BobW
>
> -----Original Message-----
> From: sbsolutions-bounces@...
> [mailto:sbsolutions-bounces@...] On Behalf Of Kevin
> King
> Sent: Monday, February 06, 2012 2:23 PM
> To: SB Solutions
> Subject: Re: [SBS] ESC from subscreen
>
> Yeah, I agree with Dave.  Sounds like maybe the Write Record flag is
> set
> to
> "Y" and maybe the Subscreen option isn't set on the /PD.I?
>
> On Mon, Feb 6, 2012 at 2:54 PM, Dave Davis
> <DDavis@...>wrote:
>
>> You can suppress the "save changes" prompt on the subscreen with
> either
>> [S] or [MS] in the "process after escape" slot after the name of
>> the
>> process after escape (if any).
>>
>> Put in an EXEC "DEBUG" before and after the subscreen call if you
>> want
> to
>> find out what's changed in the record.
>>
>> Also make sure the subscreen doesn't have the "write record" flag
>> set
> to
>> "Y" unless you are actually writing to file.
>>
>> -----Original Message-----
>> From: sbsolutions-bounces@... [mailto:
>> sbsolutions-bounces@...] On Behalf Of Woodward, Bob
>> Sent: Monday, February 06, 2012 4:47 PM
>> To: SB Solutions
>> Subject: [SBS] ESC from subscreen
>>
>> Hi folks,
>>
>>
>>
>> I hope this is a simple question.  From a main screen, I call a
>> subscreen with a function key.  The subscreen uses the same @RECORD
> data
>> and works as I'm wanting.  If I make a change and use the F2 to
>> save
>> those changes, the subscreen closes and the main screen now has the
> new
>> data values.  My problem comes in if I go to exit the subscreen
>> with
> the
>> escape key.  I'm getting prompted with the "Save Changes?" (Cancel,
> No,
>> Yes options) message, even if I go into the subscreen then
>> immediately
>> press ESC.
>>
>>
>>
>> On the function key call, I'm running a procedure that's doing one
> test
>> then a direct execute of the subscreen so I don't THINK I'm
>> changing
> any
>> data but SB might be.  Anyone have any suggestions?  What am I
>> doing
>> wrong or where should I be looking?
>>
>>
>>
>> TIA,
>>
>>
>>
>> Bob W.
>>
>> _______________________________________________
>> SBSolutions mailing list
>> SBSolutions@...
>> http://listserver.u2ug.org/mailman/listinfo/sbsolutions
>> ________________________________
>>
>>
>> Dave Davis
>> Team Lead, R&D
>>
>> P: 614-875-4910 x108
>> F: 614-875-4088
>> E: DDavis@...
>>
> [http://www.harriscomputer.com/images/signatures/HarrisSchools.gif]
>>
>>
>
[http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]<

>> http://www.harriscomputer.com/>
>>        6110 Enterprise Parkway
>> Grove City, OH
>> 43123
>> www.harris-schoolsolutions.com<http://www.harris-schoolsolutions.com>
>>
>> This message is intended exclusively for the individual or entity
>> to
> which
>> it is addressed. This communication may contain information that is
>> proprietary, privileged or confidential or otherwise legally exempt
> from
>> disclosure. If you are not the named addressee, you are not
>> authorized
> to
>> read, print, retain, copy or disseminate this message or any part
>> of
> it. If
>> you have received this message in error, please notify the sender
>> immediately by e-mail and delete all copies of the message.
>>
>> _______________________________________________
>> SBSolutions mailing list
>> SBSolutions@...
>> http://listserver.u2ug.org/mailman/listinfo/sbsolutions
>>
> _______________________________________________
> SBSolutions mailing list
> SBSolutions@...
> http://listserver.u2ug.org/mailman/listinfo/sbsolutions
> _______________________________________________
> SBSolutions mailing list
> SBSolutions@...
> http://listserver.u2ug.org/mailman/listinfo/sbsolutions
>


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions
_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: ESC from subscreen

by Kevin King :: Rate this Message:

| View Threaded | Show Only this Message

Bob, is this screen character or GUI?
_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: ESC from subscreen

by Woodward, Bob :: Rate this Message:

| View Threaded | Show Only this Message

It's character.  It will eventually be used as GUI but so far, only char
mode.

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of Kevin King
Sent: Monday, February 06, 2012 5:12 PM
To: SB Solutions
Subject: Re: [SBS] ESC from subscreen

Bob, is this screen character or GUI?
_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions
_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: ESC from subscreen

by Mike Maldon :: Rate this Message:

| View Threaded | Show Only this Message

Another thought, Bob. Check the contents of @RECORD with @ORIG.REC to
see if there is a difference. Even a value mark or subvalue mark added
into @RECORD that is not in @ORIG.REC will cause a difference.

Mike Maldon

----- Original Message -----
From: "Woodward, Bob" <Bob_Woodward@...>
To: "SB Solutions" <sbsolutions@...>
Sent: Tuesday, February 07, 2012 12:14 PM
Subject: Re: [SBS] ESC from subscreen


> It's character.  It will eventually be used as GUI but so far, only
> char
> mode.
>
> -----Original Message-----
> From: sbsolutions-bounces@...
> [mailto:sbsolutions-bounces@...] On Behalf Of Kevin
> King
> Sent: Monday, February 06, 2012 5:12 PM
> To: SB Solutions
> Subject: Re: [SBS] ESC from subscreen
>
> Bob, is this screen character or GUI?
> _______________________________________________
> SBSolutions mailing list
> SBSolutions@...
> http://listserver.u2ug.org/mailman/listinfo/sbsolutions
> _______________________________________________
> SBSolutions mailing list
> SBSolutions@...
> http://listserver.u2ug.org/mailman/listinfo/sbsolutions
>


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: ESC from subscreen

by Keith Davison-3 :: Rate this Message:

| View Threaded | Show Only this Message

Bob,

Have you tried the SB+ Control Parameters. DMCONT SB.CONTROL <28,3> (SB+
Control Parameters)
Set it to "N". The default is "Y". Might be the solution for you.

Y causes Up Arrow/Back Tab to perform in reverse to
  Down Arrow/Tab - they will cycle backwards through all the
  input fields. Multi-value dependent fields will be skipped.
  The Esc key will cancel the current screen (return to the
  key field if one is present, or else exit the screen).    
 
N causes Up Arrow, Back Tab and Esc to function identically, -
  they will always return to the previous field input (not
  necessarily the previous input field on the screen).

Kind Regards
Keith Davison





From:   "Woodward, Bob" <Bob_Woodward@...>
To:     "SB Solutions" <sbsolutions@...>
Date:   07/02/2012 01:14
Subject:        Re: [SBS] ESC from subscreen
Sent by:        sbsolutions-bounces@...



It's character.  It will eventually be used as GUI but so far, only char
mode.

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of Kevin King
Sent: Monday, February 06, 2012 5:12 PM
To: SB Solutions
Subject: Re: [SBS] ESC from subscreen

Bob, is this screen character or GUI?
_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions
_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: ESC from subscreen

by David Wolverton :: Rate this Message:

| View Threaded | Show Only this Message

BTW -- we actually rename the "F2" key as "Accept" on SubScreens so users
realize their data is not 'saved' but that they are 'accepting' the changes
as they go.

Just our standard, but makes it easy to train!  Helps explain why Users
'lose' data when they F2 on a Sub, but then ESCape from the main screen.

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of Mike Maldon
Sent: Monday, February 06, 2012 7:19 PM
To: SB Solutions
Subject: Re: [SBS] ESC from subscreen

Another thought, Bob. Check the contents of @RECORD with @ORIG.REC to see if
there is a difference. Even a value mark or subvalue mark added into @RECORD
that is not in @ORIG.REC will cause a difference.

Mike Maldon

----- Original Message -----
From: "Woodward, Bob" <Bob_Woodward@...>
To: "SB Solutions" <sbsolutions@...>
Sent: Tuesday, February 07, 2012 12:14 PM
Subject: Re: [SBS] ESC from subscreen


> It's character.  It will eventually be used as GUI but so far, only
> char
> mode.
>
> -----Original Message-----
> From: sbsolutions-bounces@...
> [mailto:sbsolutions-bounces@...] On Behalf Of Kevin
> King
> Sent: Monday, February 06, 2012 5:12 PM
> To: SB Solutions
> Subject: Re: [SBS] ESC from subscreen
>
> Bob, is this screen character or GUI?
> _______________________________________________
> SBSolutions mailing list
> SBSolutions@...
> http://listserver.u2ug.org/mailman/listinfo/sbsolutions
> _______________________________________________
> SBSolutions mailing list
> SBSolutions@...
> http://listserver.u2ug.org/mailman/listinfo/sbsolutions
>


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: ESC from subscreen

by Woodward, Bob :: Rate this Message:

| View Threaded | Show Only this Message

SUCCESS!!!

Thank you, Kevin!!  We are on SB+ version 5.2.4 and this problem is
apparently fixed in later versions.  Kevin King figured out that because
I included the records actual key field and just flagged it as
non-input, the system was still doing some of the record read routines.
By making a copy of the key field then changing it to a derived field, I
could still get the key to display on my subscreen without the system
doing any else.  Now I can use the esc key and be able to do any
processing I need in the Proc After Esc process.
(On-top-of-dog-house-Snoopy-dance!)

Thanks everyone else for your assistance and suggestions!

BobW

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of Keith
Davison
Sent: Tuesday, February 07, 2012 3:05 AM
To: SB Solutions
Subject: Re: [SBS] ESC from subscreen

Bob,

Have you tried the SB+ Control Parameters. DMCONT SB.CONTROL <28,3> (SB+

Control Parameters)
Set it to "N". The default is "Y". Might be the solution for you.

Y causes Up Arrow/Back Tab to perform in reverse to
  Down Arrow/Tab - they will cycle backwards through all the
  input fields. Multi-value dependent fields will be skipped.
  The Esc key will cancel the current screen (return to the
  key field if one is present, or else exit the screen).    
 
N causes Up Arrow, Back Tab and Esc to function identically, -
  they will always return to the previous field input (not
  necessarily the previous input field on the screen).

Kind Regards
Keith Davison





From:   "Woodward, Bob" <Bob_Woodward@...>
To:     "SB Solutions" <sbsolutions@...>
Date:   07/02/2012 01:14
Subject:        Re: [SBS] ESC from subscreen
Sent by:        sbsolutions-bounces@...



It's character.  It will eventually be used as GUI but so far, only char
mode.

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of Kevin King
Sent: Monday, February 06, 2012 5:12 PM
To: SB Solutions
Subject: Re: [SBS] ESC from subscreen

Bob, is this screen character or GUI?
_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions
_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions
_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

default windows path

by Jorge Zamora :: Rate this Message:

| View Threaded | Show Only this Message

Hello folks,

I have this code:  B:UT.COMDLG.S,1,, in a given intuitive help slot Field.
Everything is good, when the user clicks on the "search magnifier icon" or
press F3 key, windows explorer comes up and the user search for the required
file (and windows path).

However, it would be great and save a lot of time If I could do something to
keep (as F3 default)   the last directory the user selected for a given
company, it means, I do not need to keep the last path the user browsed
(that already occurs) I need to keep, as the F3 default, the last folder
they browsed for a particular company.

In this screen the user register some data for different companies, they
capture in a field the  scanned document's path and file name. They already
have a different folder path for each company where they put those scanned
documents (on a server where sb+/universe are running -thanks God-). That's
the reason of my requirement.

Any advise, idea or suggestion will be appreciated

Sb+ 5.4 universe 10.3 winXP

Regards
JZam


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: default windows path

by David Wolverton :: Rate this Message:

| View Threaded | Show Only this Message

Ha!  Love it!

Please log this as a request to Rocket -- it is EERILY similar to one I made
already.

I asked that I be able to 'feed it' the starting directory instead of it
'choosing one' for me.

And as always -- the more that ask, the more likely it will get done!  We
too are 5.4/5.5 -- so hopefully this request can be 'back ported' to the
standard SB+

DW

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of Jorge Zamora
Sent: Wednesday, February 08, 2012 2:43 PM
To: 'SB Solutions'
Subject: [SBS] default windows path

Hello folks,

I have this code:  B:UT.COMDLG.S,1,, in a given intuitive help slot Field.
Everything is good, when the user clicks on the "search magnifier icon" or
press F3 key, windows explorer comes up and the user search for the required
file (and windows path).

However, it would be great and save a lot of time If I could do something to
keep (as F3 default)   the last directory the user selected for a given
company, it means, I do not need to keep the last path the user browsed
(that already occurs) I need to keep, as the F3 default, the last folder
they browsed for a particular company.

In this screen the user register some data for different companies, they
capture in a field the  scanned document's path and file name. They already
have a different folder path for each company where they put those scanned
documents (on a server where sb+/universe are running -thanks God-). That's
the reason of my requirement.

Any advise, idea or suggestion will be appreciated

Sb+ 5.4 universe 10.3 winXP

Regards
JZam


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: default windows path

by Jorge Zamora :: Rate this Message:

| View Threaded | Show Only this Message

It would be useful if we can know where does sb+ save the last browsed
directory (xxControl, xxDefn,  .FielName Dict, etc), so I can't overwrite it
with basic code before F3.. isn't?

JZam

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of David
Wolverton
Sent: Wednesday, February 08, 2012 12:57 PM
To: 'SB Solutions'
Subject: Re: [SBS] default windows path

Ha!  Love it!

Please log this as a request to Rocket -- it is EERILY similar to one I made
already.

I asked that I be able to 'feed it' the starting directory instead of it
'choosing one' for me.

And as always -- the more that ask, the more likely it will get done!  We
too are 5.4/5.5 -- so hopefully this request can be 'back ported' to the
standard SB+

DW

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of Jorge Zamora
Sent: Wednesday, February 08, 2012 2:43 PM
To: 'SB Solutions'
Subject: [SBS] default windows path

Hello folks,

I have this code:  B:UT.COMDLG.S,1,, in a given intuitive help slot Field.
Everything is good, when the user clicks on the "search magnifier icon" or
press F3 key, windows explorer comes up and the user search for the required
file (and windows path).

However, it would be great and save a lot of time If I could do something to
keep (as F3 default)   the last directory the user selected for a given
company, it means, I do not need to keep the last path the user browsed
(that already occurs) I need to keep, as the F3 default, the last folder
they browsed for a particular company.

In this screen the user register some data for different companies, they
capture in a field the  scanned document's path and file name. They already
have a different folder path for each company where they put those scanned
documents (on a server where sb+/universe are running -thanks God-). That's
the reason of my requirement.

Any advise, idea or suggestion will be appreciated

Sb+ 5.4 universe 10.3 winXP

Regards
JZam


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions


__________ Information from ESET Smart Security, version of virus signature
database 6869 (20120208) __________

The message was checked by ESET Smart Security.

http://www.eset.com



_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: default windows path

by David Wolverton :: Rate this Message:

| View Threaded | Show Only this Message

I believe it's stored at the 'SBClient' level - not at the Server -- that's
the challenge as I understand it.

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of Jorge Zamora
Sent: Wednesday, February 08, 2012 3:14 PM
To: 'SB Solutions'
Subject: Re: [SBS] default windows path

It would be useful if we can know where does sb+ save the last browsed
directory (xxControl, xxDefn,  .FielName Dict, etc), so I can't overwrite it
with basic code before F3.. isn't?

JZam

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of David
Wolverton
Sent: Wednesday, February 08, 2012 12:57 PM
To: 'SB Solutions'
Subject: Re: [SBS] default windows path

Ha!  Love it!

Please log this as a request to Rocket -- it is EERILY similar to one I made
already.

I asked that I be able to 'feed it' the starting directory instead of it
'choosing one' for me.

And as always -- the more that ask, the more likely it will get done!  We
too are 5.4/5.5 -- so hopefully this request can be 'back ported' to the
standard SB+

DW

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of Jorge Zamora
Sent: Wednesday, February 08, 2012 2:43 PM
To: 'SB Solutions'
Subject: [SBS] default windows path

Hello folks,

I have this code:  B:UT.COMDLG.S,1,, in a given intuitive help slot Field.
Everything is good, when the user clicks on the "search magnifier icon" or
press F3 key, windows explorer comes up and the user search for the required
file (and windows path).

However, it would be great and save a lot of time If I could do something to
keep (as F3 default)   the last directory the user selected for a given
company, it means, I do not need to keep the last path the user browsed
(that already occurs) I need to keep, as the F3 default, the last folder
they browsed for a particular company.

In this screen the user register some data for different companies, they
capture in a field the  scanned document's path and file name. They already
have a different folder path for each company where they put those scanned
documents (on a server where sb+/universe are running -thanks God-). That's
the reason of my requirement.

Any advise, idea or suggestion will be appreciated

Sb+ 5.4 universe 10.3 winXP

Regards
JZam


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions


__________ Information from ESET Smart Security, version of virus signature
database 6869 (20120208) __________

The message was checked by ESET Smart Security.

http://www.eset.com



_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: default windows path

by Jorge Zamora :: Rate this Message:

| View Threaded | Show Only this Message

I see.. that certainly complicates things.

JZam

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of David
Wolverton
Sent: Wednesday, February 08, 2012 2:17 PM
To: 'SB Solutions'
Subject: Re: [SBS] default windows path

I believe it's stored at the 'SBClient' level - not at the Server -- that's
the challenge as I understand it.

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of Jorge Zamora
Sent: Wednesday, February 08, 2012 3:14 PM
To: 'SB Solutions'
Subject: Re: [SBS] default windows path

It would be useful if we can know where does sb+ save the last browsed
directory (xxControl, xxDefn,  .FielName Dict, etc), so I can't overwrite it
with basic code before F3.. isn't?

JZam

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of David
Wolverton
Sent: Wednesday, February 08, 2012 12:57 PM
To: 'SB Solutions'
Subject: Re: [SBS] default windows path

Ha!  Love it!

Please log this as a request to Rocket -- it is EERILY similar to one I made
already.

I asked that I be able to 'feed it' the starting directory instead of it
'choosing one' for me.

And as always -- the more that ask, the more likely it will get done!  We
too are 5.4/5.5 -- so hopefully this request can be 'back ported' to the
standard SB+

DW

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of Jorge Zamora
Sent: Wednesday, February 08, 2012 2:43 PM
To: 'SB Solutions'
Subject: [SBS] default windows path

Hello folks,

I have this code:  B:UT.COMDLG.S,1,, in a given intuitive help slot Field.
Everything is good, when the user clicks on the "search magnifier icon" or
press F3 key, windows explorer comes up and the user search for the required
file (and windows path).

However, it would be great and save a lot of time If I could do something to
keep (as F3 default)   the last directory the user selected for a given
company, it means, I do not need to keep the last path the user browsed
(that already occurs) I need to keep, as the F3 default, the last folder
they browsed for a particular company.

In this screen the user register some data for different companies, they
capture in a field the  scanned document's path and file name. They already
have a different folder path for each company where they put those scanned
documents (on a server where sb+/universe are running -thanks God-). That's
the reason of my requirement.

Any advise, idea or suggestion will be appreciated

Sb+ 5.4 universe 10.3 winXP

Regards
JZam


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions


__________ Information from ESET Smart Security, version of virus signature
database 6869 (20120208) __________

The message was checked by ESET Smart Security.

http://www.eset.com



_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions


__________ Information from ESET Smart Security, version of virus signature
database 6869 (20120208) __________

The message was checked by ESET Smart Security.

http://www.eset.com



_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: default windows path

by Patrick O'Neal :: Rate this Message:

| View Threaded | Show Only this Message

Hi Jorge,

I have a couple of suggestions. That subroutine executes the standard Windows Open File dialog, which is really just Windows Explorer. You could create "Favorites" entries to represent each of your companies' paths. The user would then only have to click on the appropriate Favorites entry and go from there.

Or, replace UT.COMDLG.S with TU.FORM.OPENDOS which would allow you to pre-fill the path. Copied from the "SBClient Programmer's Guide":
~~~~~~~~~~~~~~~~
TU.FORM.OPENDOS(initialfilter, startpath, filetypes, returnpath, error)
Displays a Windows "Open DOS File" dialog box.
initialfilter
[P] The starting filter for the dialog window. This can be any DOS filter (for example, *.BMP,NEWFILE.DOC,*.*).
startpath
[P] The initial DOS path for the dialog window. If null, the dialog will use either the current directory, or, if the dialog has previously been invoked, the last path used by the dialog.
filetypes
[P] An SM delimited list of file types to be shown in the Types combo box. The format is:
description:SM:filter:SM:description:SM:filter .
For example, "Bitmaps":SM:"*.BMP":SM:"All Files":SM:"*.*"
returnpath
[R] The selected DOS file. This will be null if no file was selected.
error
[R] Indicates the success (zero) or failure (non-zero) of the subroutine.
~~~~~~~~~~~~~~~~
It looks like the "startpath" parameter allows you to pre-set the path for the dialog. The "returnpath" variable then contains the entire drive and path that the user selects.

________________________________
 
Pat O'Neal
Sr Programmer/Analyst
Phone: 626-960-6762 x439
Fax: 626-338-1630
Email: poneal@...
 

www.westinautomotive.com

-----Original Message-----
From: Jorge Zamora [mailto:jzamora@...]
Sent: Wednesday, February 08, 2012 12:43 PM
To: 'SB Solutions'
Subject: [SBS] default windows path

Hello folks,

I have this code:  B:UT.COMDLG.S,1,, in a given intuitive help slot Field.
Everything is good, when the user clicks on the "search magnifier icon" or
press F3 key, windows explorer comes up and the user search for the required
file (and windows path).

However, it would be great and save a lot of time If I could do something to
keep (as F3 default)   the last directory the user selected for a given
company, it means, I do not need to keep the last path the user browsed
(that already occurs) I need to keep, as the F3 default, the last folder
they browsed for a particular company.

In this screen the user register some data for different companies, they
capture in a field the  scanned document's path and file name. They already
have a different folder path for each company where they put those scanned
documents (on a server where sb+/universe are running -thanks God-). That's
the reason of my requirement.

Any advise, idea or suggestion will be appreciated

Sb+ 5.4 universe 10.3 winXP

Regards
JZam


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions
_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: default windows path

by David Wolverton :: Rate this Message:

| View Threaded | Show Only this Message

That is EXACTLY what I was looking for as well when we 'found' the
UT.COMDLG.S -- no one in support mentioned OPENDOS!  

I wonder why this is not an example in SBDEMO?  Perhaps it could be added?  

I know that we just 'tripped over' the UT.COMDLG.S as it *WAS* used to do
the 'file pick' function in SBDEMO.  Probably the same way others found it!
Had this OPENDOS been used, we would have tripped over it instead! <g>

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of Patrick O'Neal
Sent: Thursday, February 09, 2012 10:13 AM
To: 'SB Solutions'
Subject: Re: [SBS] default windows path

Hi Jorge,

I have a couple of suggestions. That subroutine executes the standard
Windows Open File dialog, which is really just Windows Explorer. You could
create "Favorites" entries to represent each of your companies' paths. The
user would then only have to click on the appropriate Favorites entry and go
from there.

Or, replace UT.COMDLG.S with TU.FORM.OPENDOS which would allow you to
pre-fill the path. Copied from the "SBClient Programmer's Guide":
~~~~~~~~~~~~~~~~
TU.FORM.OPENDOS(initialfilter, startpath, filetypes, returnpath, error)
Displays a Windows "Open DOS File" dialog box.
initialfilter
[P] The starting filter for the dialog window. This can be any DOS filter
(for example, *.BMP,NEWFILE.DOC,*.*).
startpath
[P] The initial DOS path for the dialog window. If null, the dialog will use
either the current directory, or, if the dialog has previously been invoked,
the last path used by the dialog.
filetypes
[P] An SM delimited list of file types to be shown in the Types combo box.
The format is:
description:SM:filter:SM:description:SM:filter .
For example, "Bitmaps":SM:"*.BMP":SM:"All Files":SM:"*.*"
returnpath
[R] The selected DOS file. This will be null if no file was selected.
error
[R] Indicates the success (zero) or failure (non-zero) of the subroutine.
~~~~~~~~~~~~~~~~
It looks like the "startpath" parameter allows you to pre-set the path for
the dialog. The "returnpath" variable then contains the entire drive and
path that the user selects.

________________________________
 
Pat O'Neal
Sr Programmer/Analyst
Phone: 626-960-6762 x439
Fax: 626-338-1630
Email: poneal@...
 

www.westinautomotive.com

-----Original Message-----
From: Jorge Zamora [mailto:jzamora@...]
Sent: Wednesday, February 08, 2012 12:43 PM
To: 'SB Solutions'
Subject: [SBS] default windows path

Hello folks,

I have this code:  B:UT.COMDLG.S,1,, in a given intuitive help slot Field.
Everything is good, when the user clicks on the "search magnifier icon" or
press F3 key, windows explorer comes up and the user search for the required
file (and windows path).

However, it would be great and save a lot of time If I could do something to
keep (as F3 default)   the last directory the user selected for a given
company, it means, I do not need to keep the last path the user browsed
(that already occurs) I need to keep, as the F3 default, the last folder
they browsed for a particular company.

In this screen the user register some data for different companies, they
capture in a field the  scanned document's path and file name. They already
have a different folder path for each company where they put those scanned
documents (on a server where sb+/universe are running -thanks God-). That's
the reason of my requirement.

Any advise, idea or suggestion will be appreciated

Sb+ 5.4 universe 10.3 winXP

Regards
JZam


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions
_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions

Re: default windows path

by Jorge Zamora :: Rate this Message:

| View Threaded | Show Only this Message

It just worked perfect, just as I need it.
 
Thank you Pat, en other folks for your contributions.
Jorge


-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of David
Wolverton
Sent: Thursday, February 09, 2012 8:21 AM
To: 'SB Solutions'
Subject: Re: [SBS] default windows path

That is EXACTLY what I was looking for as well when we 'found' the
UT.COMDLG.S -- no one in support mentioned OPENDOS!  

I wonder why this is not an example in SBDEMO?  Perhaps it could be added?  

I know that we just 'tripped over' the UT.COMDLG.S as it *WAS* used to do
the 'file pick' function in SBDEMO.  Probably the same way others found it!
Had this OPENDOS been used, we would have tripped over it instead! <g>

-----Original Message-----
From: sbsolutions-bounces@...
[mailto:sbsolutions-bounces@...] On Behalf Of Patrick O'Neal
Sent: Thursday, February 09, 2012 10:13 AM
To: 'SB Solutions'
Subject: Re: [SBS] default windows path

Hi Jorge,

I have a couple of suggestions. That subroutine executes the standard
Windows Open File dialog, which is really just Windows Explorer. You could
create "Favorites" entries to represent each of your companies' paths. The
user would then only have to click on the appropriate Favorites entry and go
from there.

Or, replace UT.COMDLG.S with TU.FORM.OPENDOS which would allow you to
pre-fill the path. Copied from the "SBClient Programmer's Guide":
~~~~~~~~~~~~~~~~
TU.FORM.OPENDOS(initialfilter, startpath, filetypes, returnpath, error)
Displays a Windows "Open DOS File" dialog box.
initialfilter
[P] The starting filter for the dialog window. This can be any DOS filter
(for example, *.BMP,NEWFILE.DOC,*.*).
startpath
[P] The initial DOS path for the dialog window. If null, the dialog will use
either the current directory, or, if the dialog has previously been invoked,
the last path used by the dialog.
filetypes
[P] An SM delimited list of file types to be shown in the Types combo box.
The format is:
description:SM:filter:SM:description:SM:filter .
For example, "Bitmaps":SM:"*.BMP":SM:"All Files":SM:"*.*"
returnpath
[R] The selected DOS file. This will be null if no file was selected.
error
[R] Indicates the success (zero) or failure (non-zero) of the subroutine.
~~~~~~~~~~~~~~~~
It looks like the "startpath" parameter allows you to pre-set the path for
the dialog. The "returnpath" variable then contains the entire drive and
path that the user selects.

________________________________
 
Pat O'Neal
Sr Programmer/Analyst
Phone: 626-960-6762 x439
Fax: 626-338-1630
Email: poneal@...
 

www.westinautomotive.com

-----Original Message-----
From: Jorge Zamora [mailto:jzamora@...]
Sent: Wednesday, February 08, 2012 12:43 PM
To: 'SB Solutions'
Subject: [SBS] default windows path

Hello folks,

I have this code:  B:UT.COMDLG.S,1,, in a given intuitive help slot Field.
Everything is good, when the user clicks on the "search magnifier icon" or
press F3 key, windows explorer comes up and the user search for the required
file (and windows path).

However, it would be great and save a lot of time If I could do something to
keep (as F3 default)   the last directory the user selected for a given
company, it means, I do not need to keep the last path the user browsed
(that already occurs) I need to keep, as the F3 default, the last folder
they browsed for a particular company.

In this screen the user register some data for different companies, they
capture in a field the  scanned document's path and file name. They already
have a different folder path for each company where they put those scanned
documents (on a server where sb+/universe are running -thanks God-). That's
the reason of my requirement.

Any advise, idea or suggestion will be appreciated

Sb+ 5.4 universe 10.3 winXP

Regards
JZam


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions
_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions


_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions


__________ Information from ESET Smart Security, version of virus signature
database 6871 (20120209) __________

The message was checked by ESET Smart Security.

http://www.eset.com



_______________________________________________
SBSolutions mailing list
SBSolutions@...
http://listserver.u2ug.org/mailman/listinfo/sbsolutions