Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


SBT Error in Close Period and Year

SBT Error in Close Period and Year

SBT Error in Close Period and Year

Good Day

Im Newbie of SBT 5.0i version

can you please help me

im trying to close period and year end but there is an error in GL in the system manager like this

" Error 1324: Subscript out of bounds
called from: L_CVTVAR Line Number:2227
Program Code Causing Error:

THATS The error im encountered

please help me how to fix it


RE: SBT Error in Close Period and Year

"Subscript out of bounds"
Usually means index problems.
Reindex all applications files, and system files.

Integrted Bar Code Systems, Inc.

RE: SBT Error in Close Period and Year

Hi sir edgar

Thank, i will do that later

RE: SBT Error in Close Period and Year

Hi sir

i also try to reindex sbt in system manager but it didnt work,

Please HELP!

M.I.S Head

RE: SBT Error in Close Period and Year

That line of code is from program SMPCLS.PRG. The program is checking to see if your system contains the PO, SO and MC modules but not the IC module. If this is true, SBT will not close the period and you will get a warning message to this effect. But this has nothing to do with GL period closing.

Here is the code:

*-- Check for PO, SO, or MC with no matching IC installed
SELECT a_sycdat
LOCATE FOR a_sycdat->applid $ "PO^SO^MC^" AND NOT ;
SEEK("IC" + a_sycdat->compid, "a_sycda2")

*-- If any records found
IF FOUND("a_sycdat")
*-- Display alert
DO g_dspalt WITH "Unable to close PO or SO if IC is not" + ;
gc_oseol + "installed for the same company.", 2

This code runs long before the program branches to the GL closing code. And it has nothing to do with SUBSCRIPT or function L_CVTVAR which is odd.

I'd re-compile SM\SMPCLS if you have a copy of Visual Foxpro 5.0 and try again. If you don't have a copy, I can do it for you.

If that fails, I'd put some debugging code into SMPCLS.PRG to see what is really happening. This is real work, not a simple task.

Your SBT Pro 5.0 is approximately 15 years old. The fact that it still runs at all is remarkable. You should not be too surprised if small things like this fail from time to time. If it is at all possible, I'd think about an upgrade.

Matthew Lefkowitz
Lefkowitz Systems, Inc.

RE: SBT Error in Close Period and Year

Thank you.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close