Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6081121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:08:24+00:00 2026-05-23T11:08:24+00:00

Hey I am working on a password changer. User logs in ( successfully), loads

  • 0

Hey I am working on a password changer. User logs in ( successfully), loads a global var with user initials, then launch a password expired form. I try and use those initials on the password expired form to retrieve user info from DB.

vaUserLog.FieldValue("USERINIT") = UserInitials
vaUserLog.GetEqual
vaStat = vaUserLog.Status

vaStat keeps giving me an error of 4. I am using pervasive v9. Connection with VA looks like:

With vaUserLog
        .RefreshLocations = True
        .DdfPath = DataPath
        .TableName = "USERLOG"
        .Location = "USERLOG.MKD"
        .Open
        If .Status <> 0 Then
           ErrMsg = "Error Opening File " + .TableName + " - Status " + str$(.Status) + vbCrLf + "Contact IT Department"
        End If
    End With

In DB table, USERINIT is Char, 3. UserInitials is a String.

Probably missing something small but can’t think right now. Any help is appreciate. Lemme know if you require more info.

Cheers

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:08:25+00:00Added an answer on May 23, 2026 at 11:08 am

    Status 4 means that the record could not be found. In your case, it could be the case of the value being searched is wrong, there’s a different padding (spaces versus binary zero), or that the UserInitials value just isn’t in the data file.
    You can use MKDE Tracing to see what’s actually being passed to the PSQL engine. Once you’ve done that, make sure the value you’re using works through the Function Executor where you can open the file and perform a GetEqual.
    Here are my suggestions:
    – Make sure you’re pointing to the right data files.
    – Make sure you’re passing the right value into the GetEqual (by setting the FieldValue).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey guys i'm working on admin module for my project. When a person logs-in,
hey guys im working on a task to make my story's links like this
Hey, i am currently working on a django app for my studies, and came
Hey everyone, I'm working on a PHP application that needs to parse a .tpl
Hey everyone, I'm working on a widget for Apple's Dashboard and I've run into
Hey, I was working with a PHP function that takes multiple arguments and formats
hey everyone... so i'm working on a database design class for university. I've got
Hey guys, I'm working on a status-Updater. It works, there is just one problem,
Hey guys, I was working on a simple chat program to brush up on
Hey all. I'm working on an application that was originally intended for HTML, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.