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

Problem entering to a set

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

    Problem entering to a set

    Hi,
    I have a set, parent with two childs, both 1:1

    I have a form to enter new records, I want to enter a new record to each of the three tables.

    The form will enter a new record to the parent, and one of the childs. It will not enter records to the other child.

    On the default form of the set, the "problem" child table does not show any fields.
    It has two fields, each of which are actually duplicated by a corresponding field in the other tables, and maybe this is why it is not showing it's records?

    Any help will be appreciated.

    Brian.

    #2
    RE: Problem entering to a set

    Brian,

    If this happened to me, I'd reindex all tables, and then verify that the link definitions are correct and valid.

    If you want to post a working model here, we might be able to offer other ideas.

    -- tom

    Comment


      #3
      RE: Problem entering to a set

      Tom,
      Have tried to zip and attach the problem

      Comment


        #4
        RE: Problem entering to a set


        Brian,

        If this is the same database you mention in the other thread, don't bother to post it here until it's entirely located within one folder. We won't be able to work with it until then.

        -- tom

        Comment


          #5
          RE: Problem entering to a set

          Tom,
          Have tried to zip and attach the problem. Assuming that happened, I'll try to explain.

          Problem is when I try to enter a new record to a set. The set is Clifirmset2.
          Although the table "clifirmlink" is there on the form, it does act normally. Also does not appear on the default form. Have tried a different test set, with the same result, so I suppose the table is the problem. Have checked all indexes, links, etc, and they seem ok.

          I guess if it does not work on the default form, it will not work in the app. I want the app to enter the same autoincremented number to:-
          cli_no field of the cliname table,
          firm_no field of firmlist table,
          both fields of the clifirmlink table.

          I have an autoincrement on the cli_no field of cliname table
          I have a variable which is set from that, to enter to the other fields.

          On the app, started frm the control panel form, "Equipalugar start", then clientes, then entrar novo cliente,
          it will set the correct number in the field of clifirmlink, but when moved out of that field, the number is lost from the field. Have tried refresh), commit()

          Tom, regards a previous response frm you, the clinumbers, firmnumber are numeric. I tried them as characters, but the indexes did not let the set use normal number sequence then. I suppose could have got around that with functions, but it seems I was going to complicate everything when using finds, sets, etc.

          Any help will be appreciated.

          Brian

          Comment


            #6
            RE: Problem entering to a set

            Tom,
            Have tried to zip and attach the problem. Assuming that happened, I'll try to explain.

            Problem is when I try to enter a new record to a set. The set is Clifirmset2.
            Although the table "clifirmlink" is there on the form, it does act normally. Also does not appear on the default form. Have tried a different test set, with the same result, so I suppose the table is the problem. Have checked all indexes, links, etc, and they seem ok.

            I guess if it does not work on the default form, it will not work in the app. I want the app to enter the same autoincremented number to:-
            cli_no field of the cliname table,
            firm_no field of firmlist table,
            both fields of the clifirmlink table.

            I have an autoincrement on the cli_no field of cliname table
            I have a variable which is set from that, to enter to the other fields.

            On the app, started frm the control panel form, "Equipalugar start", then clientes, then entrar novo cliente,
            it will set the correct number in the field of clifirmlink, but when moved out of that field, the number is lost from the field. Have tried refresh), commit()

            Tom, regards a previous response frm you, the clinumbers, firmnumber are numeric. I tried them as characters, but the indexes did not let the set use normal number sequence then. I suppose could have got around that with functions, but it seems I was going to complicate everything when using finds, sets, etc.

            Any help will be appreciated.

            Brian

            Comment


              #7
              RE: Problem entering to a set

              Brian,

              we need to return to square one.

              In Alpha Five your database consists of the entire collection of files required to run the application.

              Please dig out your user's guide and refer to the glossary, because the terminology here is easy to confuse.

              You sent the ADB file, with your last message. The ADB file, by itself is useless.

              The ADB file is not the database. It's just one of the database dictionary files.

              Now refer to Appendix 3 of the User's Guide. These are the files which make up a database. A complete database inclues all files which end in the following extensions:

              DBF
              CDX
              FPT
              DDD
              DDM
              DDX

              Plus your single ADB, ALB, ALM, and ALX files.

              AND if you've defined any sets it also includes all the files that end in extensions:

              SET
              SEM
              SEX

              All of these should be in a single folder. Then you can easily zip them all into a single Zip file and attach it to a message here.

              Until this occurs, we cannot recreate your database on our own systems.

              I'd like to help but cannot.

              -- tom

              Comment


                #8
                RE: Problem entering to a set

                Tom,
                Thanks for your time, I'll get back after I have sorted out the files into a folder. I obviously need practise at zipping, etc.

                Thanks again,

                Brian.

                Comment


                  #9
                  RE: Problem entering to a set

                  No problem.

                  A good practice is to copy your zip file to another folder, unzip it there, and then see if you can run your database from the new location. If you can't do it there, we can't do it on our machines, either. (Just remember to delete the extra copy this creates on your machine once you've verified it's working ok)

                  -- tom

                  Comment


                    #10
                    RE: Problem entering to a set

                    Tom,
                    Thanks for your patience, I hope the attached works

                    Comment


                      #11
                      RE: Problem entering to a set

                      Trying again
                      Brian

                      Comment


                        #12
                        RE: Problem entering to a set

                        Trying again
                        Brian

                        Comment


                          #13
                          RE: Problem entering to a set

                          Trying again

                          Comment


                            #14
                            RE: Problem entering to a set

                            Trying again

                            I have the app in a zip file, but can�t get to attach the zip file to the message. Any help will be appreciated

                            Brian.

                            Comment


                              #15
                              RE: Problem entering to a set


                              Brian,

                              There's a 1 megabyte filesize limit for your zip file. If it's larger than 1 MB you cannot attach it, and you must trim it down. This can often be done by deleting a bunch of records.

                              If your filesize is ok, then you just need to check the 'Attach File' checkbox at the end of the message dialog box, before pressing the Send Message button; then you browse to the location of your zip file and select it; then wait for the upload, and press Continue to return to the message board. This last step is essential.

                              -- tom

                              Comment

                              Working...
                              X