Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Data lookup

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Data lookup

    I asked this before but I still can't seem to get it to work.
    I want to type last name in my form field and go out to the dbf file and find the lastname if it exists, set a dialog box to ask if the diplayed person is correct and then fill the rest of the address data into my current form fields.
    I have set the field to collect a variable (vcLASTNAME) and used the search by key script on my form(people_search). I set the script to run after I leave the field so that I can type in the last name. But when I run it, I get an :the Object:people_search, does not exist
    It does exist and I can run it and enter records.
    There must be some steps I am missing to activate the forms but I am at a loss to find them.
    Any help would be appreciated
    Thanks

    #2
    RE: Data lookup

    d,

    It's certainly possible to design an input system such as you describe, but many would find the field rule table lookup routines to be much easier to implement.

    Using a table lookup in field rules, you'd define the lookup rule for the lastname field. You'd specify the pick list table (source of the last name field values) in the field rule. The same field rule could be used to automatically fill in other fields in the current record with related values from the same pick list (source) record. Some would argue that this approach is better than what you have in mind because picking the name off the list eliminates typing errors which otherwise could cause zero hit searches...

    -- tom

    Comment


      #3
      RE: Data lookup

      I did try to set that system up ( poppping up a list of names) but I have a data file that comprises now about 18,000 people. In my dbase prog, I just key in the phone number which is my unique field and the form is filled in and I prompt for correct customer. I guess if there was a way to filter the list then only one name would come up and I could select and enter that person. But that seems to me to be added keystrokes to acommplich the same thing.

      Comment


        #4
        RE: Data lookup

        Ok,

        Show us the OnDepart script you've written for the variable field that will contain the name. Please describe in detail any object names that are used in the script so we can know what it's talking about. (i.e. tablenames, field names, etc.)

        -- tom

        Comment


          #5
          RE: Data lookup

          You've got me confused:

          I just key in the phone number which is my unique field and the form is filled in and I prompt for correct customer.

          If the phone number is a unique field, why do you need to then prompt for the correct customer? Shouldn't the phone number identify the correct customer?

          There's a good chance I'm missing something important about the logic but it still sounds to me like you may be making a big job out of something that should be very simple.

          I also don't care if your database has 180,000 entries. If you type the first few letters of the name, number, or other identifying value, the list will jump directly to the closest match and you can just scroll down from there.

          Comment


            #6
            RE: Data lookup

            Thanks for the feedback Cal,
            I am not trying to search by phone number. That would be much easier and like you said I could use the field rules. The app is a contact database for a police dept. The officer tries to get as much info as possible for his incident report, but it is not always possible. He says he gets the address info and birthday almost always. When he gets back to the office and starts the incident report he wants to be able to type in the birthdate and the last name and have a list or the fields filled in if the person is already on file. Sometimes he gets more info and I suppose I could try keying in off other fields and I may do that but for now I am trying to get this part working.
            The only unique keys in this circumstance would be "lastname+firstname+bithdate" I think?
            I have tried to action script this but All I can seem to do is get the whole browse to come up and then I can select the nmae off it and fill the fields. But it looks bad. I have tried the combo edit field but I can only get the lastname to appear on the dropdown list and even if I select a name off the list, it won't populate the fields I want filled. I am sure once I figure this out I can use it anywhere. I will keep trying ;)
            I did this with an app I wrote in Dbase(dos) but I am totally new to working with A5 and have been putting it off because of the learning curve with other Windows prgs. But A5 seems like an excellent prg to make Windows apps. And I am extemely excited about developing applications with A5. Already have loggged 22 hours and I am getting the hang of it. Also I am very impressed with the help offered on this board. Everything I did with dbase was on my own and it was years literally to learn it. I am sure my questions on the board with decline as I learn more.
            Thanks to all on the board who have the patience to deal with newbies.

            Comment

            Working...
            X