Dealing with the 255-field limit

Hello,
In one of my AW DB — a file with which I keep track of my student records, like grades and absences — I have 3 x 60 fields to count the absences, in each of the trimesters and the number of 50-minute class could be close to 60.
The classes fields are labelled: '01', '02', ..., '60'; '2.01', '2.02', ..., '2.60' and '3.01', '3.02', ..., '3.60'.
The value fields of each of those fields are: “ “, “.” and “f”. The default is “.”.
The way for counting the absences of the 1st trimester, using 3 fields, i.e., the number of “f” is:
T1_Faltas1=
COUNT2("f",'01','02','03','04','05','06','07','08','09','10','11','12','13','14' ,'15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30' )
T1_Faltas2=
COUNT2("f",'31','32','33','34','35','36','37','38','39','40','41','42','43','44' ,'45','46','47','48','49','50', '51','52','53','54','55','56','57','58','59','60')
T1_F=
IF(OR('Situação1'="Regular",'Situação1'="Incluído"),'T1Faltas.1'+'T1Faltas.2',"")
This has been functioning well for some years.
The problem appeared now, because I am going to teach classes to 5th and 6th year of another State School and those grades have 5 Math classes a week — instead of 4 classes. Then, I would need around 15+ classes fields for each trimester.
But the real situation is that I can not create those extra fields because my DB has a limit of 255 fields and I already reached that number of fields.
I can resolve this by using a single class field for a day that has 2 classes, and the options would be: “ “, “..”, “ff”, “.f”, “f.”
Note: the option of a “ ” empty space or a double empty space are for the students that left that group; the options “.f”, “f.” are for students that were in one of the two classes of a day and the option “ff” is for the ones that were absents in both classes of a given day.
The problem would be to count the absences: I know how to do it, using a lot of fields — but the limitation of fields is the big problem — and I am writing you to get a better solution.
If I could create more fields, I would do the following for each of the trimester, say T.1:
1)T1f1=
COUNT2("f",'01','02','03','04','05','06','07','08','09','10','11','12','13','14' ,'15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30' )
2)T1f2=
COUNT2("f",'31','32','33','34','35','36','37','38','39','40','41','42','43','44' ,'45','46','47','48','49','50', '51','52','53','54','55','56','57','58','59','60')
3)T1.f1=
COUNT2(".f",'01','02','03','04','05','06','07','08','09','10','11','12','13','14 ','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30 ')
4)T1.f2=
COUNT2(".f",'31','32','33','34','35','36','37','38','39','40','41','42','43','44 ','45','46','47','48','49','50', '51','52','53','54','55','56','57','58','59','60')
5)T1f.1=
COUNT2("f.",'01','02','03','04','05','06','07','08','09','10','11','12','13','14 ','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30 ')
6)T1f.2=
COUNT2("f.",'31','32','33','34','35','36','37','38','39','40','41','42','43','44 ','45','46','47','48','49','50', '51','52','53','54','55','56','57','58','59','60')
7)T1ff1=
COUNT2("ff",'01','02','03','04','05','06','07','08','09','10','11','12','13','14 ','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30 ')
8)T1ff2=
COUNT2("ff",'31','32','33','34','35','36','37','38','39','40','41','42','43','44 ','45','46','47','48','49','50', '51','52','53','54','55','56','57','58','59','60')
At each trimester end, the total of absences would be something like this:
9)T1_F=
IF(OR('Situação1'="Regular",'Situação1'="Incluído"),'T1f_1’T1_f_2+T1_.f_1+T1_.f_2+T1_f._1+T1_f._2+2T1_ff_12T1_ff2,"")
So, using 9 fields — instead of 3 — for each trimester, I could do the task.
Maybe I can stay with this solution — depending on how many days that I will have 2 classes — using only one field — but I would like to see if I can come with a solution that counts the absences using less fields, say just counts how many ‘ f ‘ each student has.
Any help will be appreciated,
Jorge Lucas, the guy from Rio Grande do Sul

Yvan The Terrible,
I am not surprised that you were able to write this script for me; it did not completely solve the task but it did an important portion. This is not the first time you wrote a script for me.
Seeing the result, I thought that one could rewrite it the other way around, i.e.: with the fields and the field types of a given DB, one could write a script to build a new AW DB, with those fields. Of course, the first script to get those fields and field types should be deeper to extract the formulas of Calculations Fields and the options for the Value List Fields.
Since I have 180 Value List fields with exactly the same options, it would be very much easier to have those in a SS module, before recreate — or just create — the DB. Besides those, there are a number of calculations fields, that are pretty much alike, with some adaptations. It would be very easy to redesign the DB.
I am not asking you to do this, but I would not doubt that it is possible.
The only thing that would consume time would be designing the layouts, unless one could be able to do this given, at least, the sizes of the fields (imagine that you have the sizes of most of the fields, say 60, inserted in a customized layout, instead of 1 inch width!); this would be really difficult, but here one question is too important, in order to recreate an DB file:
*+Is there a way to import a layout from a DB file to another DB file with the same fields of this very layout?+*
About the origins of AW and FMP: several years ago I pass some time playing at the FMP 3.0; after I saw the version 6.0 and later the version 9.0 — +it looks like some time I will see the FileMaker Pro 12.+
I remember perfectly well that the creation of the fields in the FMP 3.0 was very much similar to ClarisWorks. After, I was able — seeing the templates — to create a relational DB with 6 to 8 files in the FMP 6.0. Of course, like Barry said, the learning curve is steeper.
But I felt at home.
It surprises me that both you, Yvan — on this forum — and Barry — on a direct message — said that they were created by different teams. My guess is that one copied the other.
Thanks for your time!
Best regards,
Jorge Lucas (the guy from Rio Grande do Sul)
P.S.: +if I ever grew up — I am only 55 — I wanna be like you: a terrific expert in building AppleScript scripts.+
Message was edited by: Jorge Lucas
Message was edited by: Jorge Lucas

Similar Messages

  • How you deal with the situation if the vendor/supplier is also a customer ?

    Dear All,
    Could you please help me with the idea on how to deal with the suppliers/vendors who also are customers to you in MM?
    Thanks in advance,
    Ranjan

    It depends what you are intentions are..
    However
    1. Create a customer master record for that vendor that is also a customer.
    2. Enter Vendor number in Vendor field in control data-customer master record.
    3. Enter customer number in Customer field in Control data- vendor master record
    Finally, Check "Clrg with vend." field or "Clrg with cust." field

  • Issues dealing with the Qualified tables

    Hi,
    I am facing below issues while dealing with the Qualified tables.
    Issue # 1. Trying to get the data from the Qualified table through the Main table. Qualified table is set as supporting ResultDefinition. I am able to get the value for only the non-qualifier fields but not the qualifier fields.
    Exception: com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Qualifier values are not part of a qualified lookup record
    Issue # 2. Need to define the search on the fields of a Qualified table with Main table in the ResultDefinition. I am able to define the search on qualifier fields but not the non-qualifier fields.
    Exception:com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Field not found
    I would like to know the standard ways to address these issues.
    Thanks,
    Surendra

    Hello,
    I was wondering if this issue is solved now. I'm still facing the problem when executing the RetrieveLimitedQualifierValuesCommand:
    com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Field not found
    Are there other ways to manipulate qualifier field values? Workarounds... alternatives...
    Is it related to the MDM Java API version?  If yes, is there a fix?
    Thanks a lot for your input!
    Regards,
    Pedro

  • I need a report with the following fields

    Hi All,
    I need a report with the following fields & G/L "Expenses" only.
    1)G/L Code.
    2) G/L Name.
    3) G/L Balance
    & Selection Criteria From Date, To Date , & Location(for me locations is PROFITCENTRE).
    Please some body suggest me an SQL Querry to fetch this result.
    Thanks in Advance,
    S. Mobin

    Hi!
    Individual G/L means i didn't understand
    check this for only Expence Acc
    Declare @FromDate Datetime
    Declare @ToDate Datetime
    Declare @Location nvarchar(20)
    set @FromDate = (Select min(S0.RefDate) from jdt1 s0 where s0.Refdate >='[%0]')
    set @ToDate = (Select max(S1.RefDate) from jdt1 s1 where s1.Refdate >='[%1]')
    set @Location = (Select max(s2.ProfitCode) from jdt1 s2 where s2.ProfitCode  = '[%2]')
    select
    J1.Account,
    max(A0.AcctName) as Name,
    j1.ProfitCode as Location,
    sum(J1.debit-j1.credit) as Balance
    From
    JDT1 J1,OACT A0
    Where
    J1.Account=A0.AcctCode and
    J1.RefDate >=@FromDate and
    J1.RefDate<= @ToDate and
    j1.ProfitCode=@Location and
    A0.GroupMask = 5
    Group By
    J1.Account,j1.ProfitCode

  • My brand new Macbook PRO crashed completely after it went through the iOS 10.7.4 update, I lost everything and Apple just wants to replace the HD and let me deal with the hassle.

    Last Thursday May 10th I received a prompt from the Automatic Update to update the iOS to Ver. 10.7.4, set the start and was watching the progress when it stopped with an error message saying that it was not able to update, right below there was a buttom "RESTART", pressed the buttom and waited to re-boot.....That was the end of my computer, somehow the update crashed my HD beyond recover, it would only show the gray screen with Apple logo in the center and kept beeping, BEEP BEEP BEEP.....PAUSE.....BEEP BEEP BEEP.....PAUSE.....on and on and on and it never past that.
    Friday May 11 I took it to a retailer where I received the bad news that the HD was crashed and the teck couldn't even try to copy anything from it as it couldn't locate it. I checked iCloud on a hope that all my stuff would be there but new surprise, iCloud didn't kept all of my stuff as it was programmed to.
    Now here is the funny part, the tech from the retailer informed me that the only thing they could do was to order a new HD for my 4 months old Macbook and that the time to have my computer back will be at least 15 days, now that is the funny part, I fail to understand why do I have to suffer the hassle of loosing all my data plus wait at least 15th days to have my computer back (meanwhile loose work) on a problem caused by Apple, PROBLEM, not machine defect, clearly my computer had no problem untill I followed the procedure to update.
    On Saturday May 12 I contacted Local Apple Support (I have failed to mention that I live in Brasil) and they informed me that what the dealer said was the only thing that could be done, too bad for me if I lost everything, going to loose several days of work and whenever I receive my computer back will have to re-construct all my life and deal with the forever lost data.....DEAL WITH IT
    After a couple of discussion with Apple Support and the Dealer, I made my decision to take the Macbook to the dealer today for repair and meanwhile I'm opening a case with the Brazilian Justice to have Apple honor with all the trouble and hassle that it is causing me, it's said that I have to take this type of action as I'm a very fan of Apple and it's products, have had several iPods, iPhones, Macbooks, Keyboards, Mouses, Apple TV, etc.....This i the first time I have a problem with a Apple product and got a taste of the "Apple Care", it seems like Apple is more concerned on seeling products then keeping long time customers happy.
    One last thing, today when I was at the dealer to drop my computer for repair, the Technician informed me that he also had a computer crashed and the HD erase on Sunday May 13th in the same way of mine, after the update everything was gone, also he said that we were not the only ones, iPads and iPhones were going trough the same situation, update causing complete breakdown.
    WORD OF ADVISE, BE 1000% SURE THAT YOU HAVE EVRYTHING BACKED UP BEFORE YOU GO THROUGH AN UPDATE.

    rvalezin wrote:
    If I need to back-up every hour of my life in order to be able to save everything from something like this I won´t do anything else.....at least we should be able to trust that Apple tests this updates so situations like this won´t happen.
    That's exactly what Time Machine does for you.  It backs up every hour, so you don't have to.  While it is backing up, you keep on working.  Time Macvhine came with your Mac and you chose not to use it.
    The 10.7.4 update did not cause your hard disk to fail.  Hard disk fail due to mechanical causes.  They are extremely reliable, but that doesn't mean every hard disk will last a long time.  Your mileage WILL vary!
    If you are dependent on your computer and the data stored on it, then you should make sure you have AT LEAST two copies of all data and probably three or four.  You should use at least two means of backing up in case the backup software has a problem.  And you should consider having a backup computer if you live in an area where replacement takes too long (whatever too long is for your business).
    Apple hardware and software is very, very good.  You have documented your experience of this.  But NO hardware or software is perfect.  You also have experience of this.
    It is YOUR responsibility to ensure that your system is set up to protect your data and availability of computing resources.

  • Is there a way to print the check register with the Text field

    Hi,
    Is there a way to print the check register with the Text field and also each item's Text field?"
    When we enter a invoice we enter a generic text on the Basic Data tab then enter a "+" on each individual line item which in turns defaults to the generic text. Just wanted to know if the check register could draw in the individual line item detail where we can enter text that relates to just that line item. Sort of like the MIR7 draws in the detail for each item.
    Kindly help me in full fill the above requirement.
    Thanks
    Sunitha

    Hi,
    Can any one help me on this issue?
    Thanks
    Sunitha

  • How can we handle browser settings while dealing with the security ?

    Hi ,
    how can we handle browser settings while dealing with the security ?When we configured security in web.xml , during the first request the container is asking for the authentication credentials once they are provided it go's on. but when the user gives a fresh request from the second window within the same browser that time it is not asking for authentication. How can we overcome this.Is there anything to do with server configurations?
    How can we make the container no to keep the things or act like session?

    Ya... I am taking a small example need not happen always but a kind of possibility i am thinking off.
    once the user sign out and just left without closing the browser and a friend (suppose not a good friend ... just kidding...) of that user may open the same jsp or file .This time the security is breached. If that feature or property exists....
    I know what you might say ... the user will log-out before leaving where a programer might invalidate the session at the time of log out.
    Consider the case of a bad Programing or just a programer might forget to invalidate,At that time as a application administrator how can he solve that issue.
    Thanks.......
    Edited by: user8483670 on Jun 6, 2011 1:08 AM
    Edited by: user8483670 on Jun 6, 2011 1:09 AM

  • How do I deal with the"new itunes library" fiasco

    how do I deal with the "new itunes library" fiasco...?

    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • How to deal with the rejected stock if it is rjected by QC

    Dear All,
    please let me know how to deal with the rejected  stock from Quality point of view.i.e., for incoming materails and Finished if returned from customer
    Regards,
    P.Vijaya

    hi
    if material is rejected for incoming material then you can create Notification for incoming material due to  you can return back material with print for that you have to record defects in result recording. in T-code QM02 if result is recorded with defects. or you can create with Qm01.against vendor
    if material is returned from costumer you can create inspection lot for that for that you have to maintained inspection type 06 in material master. you can result record for that you can create notification for that. or rework for this material as per quality check or can scrap
    if have any problem please come back
    regards
    Pravin

  • How to deal with the change in address of plant,

    how to deal with the change in address of plant,companycode,sales org etc.?

    Hi,
    Do you want to change the address of Company code, Plant and Sales org?
    Follow the menu path in SPRO.
    SPRO >> Enterprise structure >> Definition >> Financial accounting >> Define Company code >> Edit company code >> Click on address and change.
    .. Definition >> Sales and Distribution >>  Define ...sales org >> select the sales org and click on address and change.
    ... Definition >> Logistics - general >> Plant >>>> Click on address and change.
    Regards,
    K Bharathi

  • I would like to use Formcentral form data to populate a pdf with the same fields.  Is that possible?

    I would like to use Formcentral form data to populate a pdf with the same fields.  Is that possible?

    Randy,
    We have an application that I would like to have in Formscentral.  That application is also in a larger PDF file that once filled in populates all the other forms below it (lease, credit check form, ect).  If the Application on Formscentral keep the same field names as the pdf can I pull the data from formscentral and sill populate the old application pdf so that all the forms below it will be also populated. 
    Greg

  • Problems with the 'Comments' field in iTunes

    First, sorry for my english (I'm danish).
    I've read a lot of threads here and everywhere else, but can't find a solution for my exact problem. I use Windows Vista and the newest version of iTunes.
    Most of my mp3 songs (35.000) are put directly in album folders to the folder 'D:My Music from another computer via a USB drive and the songs already have id3 tag information on them.
    I then add the albums to iTunes and most of my tag information is now updated in iTunes. Names, Artists, Genre, Year, everything is okay. By the way the songs have ID3v2.3 tag information. I see that in my Mp3tag v.2.42 application.
    But the problem is with the 'Comments' field:
    Those tags (originally put to the songs directly in the proberties of the song in Windows Explorer) will simply not transfer to iTunes 'Comments' field. And if I write something in the iTunes 'Comments' field this will not show up in the fields properties in windows Explorer. It looks like the 'Comments' fields in iTunes and in the proberties in the song are not connected at all!?
    I then found out, I could let iTunes convert the ID3 codes, but nothing happens except from when using v. 1.0 or 1.1, because then the comments tag are transferres, but unfortunately all the tags will only show 30 characters!!!
    And there's also a different story:
    A few albums though are put directly on my computer by using iTunes to import the CD. These songs have ID3 v.2.2 tags, so I guess iTunes import files in that format?
    And here it's a little different story. If I put comment data directly to the file proberties in Windows Explorer (after the CD's been imported to iTunes), the comments will show up in iTunes, but only as several 0 and 1 digits! On the other hand, if I put information directly in iTunes 'Comments' field it wil show up correctly in the file proberties! But it's only a few songs/albums that are handled that way.
    Well, bottom's line, I want to see my comments tags (which are allready there in the song's proberties) when I browse my music in my folders in Windows Explorer and I want to see the exact same comments if I go to browse my music in iTunes. That should not be a problem ... but it is not ...
    Can I please get a solution or at least an explanation, and hopefully in not too tecnical terms.

    I, too, hope someone will answer this! I am hoping to catalog my entire CD collection in iTunes and I want to include the storage box number somehow, thinking that "comments" would be a good place to do so. If I cannot do that I'll try to find a program other than iTumes to do it. Does anyone have any suggestions on this topic? ...perhaps I need to open a new thread?
    THANKS!
    Doug

  • How to get a minus sign with the cost  field in ALV.

    Hi ,
    How to get a minus sign with the cost field in ALV.
    The Ouput will be displayed like  Rs -1500 instead of 1500-
    I can't use concatenate also as i may have to use the sum functionality of ALV .
    Cheers
    Sunny

    Hi sunny,
    1. The OTHER FIELD
       has to be character field of say length 15.
    2. Write the original numeric value to
       this character field (in a loop)
    3. But simply writing won't help.
    4. use this kind of logic.
    5.
    REPORT abc.
    DATA : m TYPE i.
    DATA : chr(15) TYPE c.
    m = -100.
    WRITE m TO chr.
    IF m < 0.
      SHIFT chr RIGHT BY 1 PLACES.
      CONDENSE chr.
      CONCATENATE '-' chr INTO chr.
    ENDIF.
    WRITE chr.
    regards,
    amit m.

  • What's the deal with the video format?

    Hello! What is the deal with the video format? Does it mean I have to code the videos for 640*480 ? It won't accept any other size? What size do I need to select for widescreen format?
    With Quicktime pro I've been able to encode videos with a very nice resolution and small size, then try to synch them to the ipod touch and then the error, it can't be played. I use the .mov format, I like it more but if I have to use .mp4 then I'll use it.
    Thanks for the help!

    According to Apple's Specification, these are your video choices
    H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per second, Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats.
    H.264 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Baseline Profile up to Level 3.0 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats.
    MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats.
    http://support.apple.com/kb/SP496

  • What's the deal with the CC menubar panel?

    What's the deal with the CC menubar panel? The tab to the apps are gone -- looks like it wants me to update the panel itself rather than list my installed apps. I've been on CC for about a month, is this common? Thankfully I can still open all apps normally, but the internet seems to think the "CC Way" is a horror show.
    Do you guys have trouble after updating the updater? All this talk of running "the cleaner" (a mafia term?) and reinstalling everything with each version bump is kinda scary. It could be that people only post online when things go wrong, and 95% of people update just fine. But since I'm new I guess I'd want some reassurance before committing to a night of Cleaning and Reinstalling...
    I'm one of those people who think app updates very 12 to 18 months was just fine (and stable). Would it be harmful to ignore updates for a few months? Lets see, I have a healing brush, smart objects, a blob tool, pretty good 3D in AE, ID seems to handle type pretty well… there's really no reason to update every month is there?
    -- Jim

    Has anyone had a normal non-cleaning install of this week's update?

Maybe you are looking for

  • Cisco AP 1252AG Cannot setup More than 54Mb/s speed in radio 0 (2.4G)

    /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in

  • Problems after EFI/airport update

    so did the EFI update, there was also a "AirPort Client Update 2009-002" there. and now to my delight i cant get on the internet thorough airport (Ethernet works) i know its not the router because my iphone can connect to it so my macbook should also

  • When to use ACR vs. PS?

    I really like some of the tools in ACR for changing image color. I'm confused as to when I should use tools in ACR vs. Photoshop for non raw format files. It seems that it is really easy to change temperature and make other adjustments to non raw fil

  • Brightness meter has no effect in Windows 8

    I upgraded to Windows 8, and now I can't change the screen brightness. The F1/F2 keys do alter the brightness meter in the Boot Camp Control Panel, but this level has no effect on the actual brightness of the screen.

  • Data architecture (Entry Level)

    I am using E Business Suite since last 2 years at the data entry level (customer details). How GL or AR or AP or OA process people are using the information which I input in the system. What is the architecture of it.