-
Posts
4,017 -
Joined
-
Last visited
-
Days Won
52
Community Answers
-
bruceR's post in Relationship or Value List...FM101 question was marked as the answer
This is a long standing issue with the difference in behavior between drop down lists and popup menus.
One approach is to change the control style of the field to be a pop-up menu.
However, you can't tab into a pop-up menu (on the Mac anyway)
-
bruceR's post in FM12 Bottom tool bar.. was marked as the answer
Nothing special required. Dialog mode not required. Just choose the new window script step with the "Advanced" options and turn off the zoom area.
Â
There is no special memo or secret handshake.
-
bruceR's post in Find < was marked as the answer
Though a calc field would work, and could be a good idea, you can do this with a standard find.
Â
Note that the @ character in find mode can be used to represent any single character.
Â
In my example, I have phone numbers formatted to use 12 characters:
Â
###-###-####
Â
Therefore, entering find mode, putting in 12 "@" characters, choosing omit, and performing the find, shows me all records which do NOT have 12 characters in the phone number field.
-
bruceR's post in Portal(?) not working was marked as the answer
No, you don't have to import. If you want the song value list to be based on the song table, then base the value list on the song table. Maybe this will help?
SwingamajigMusicB.fp7.zip
-
bruceR's post in Script to find matching fields and perform an action was marked as the answer
Not sure what you mean by nothing happens.
As written it is an endless loop that will do nothing after the first time through.
It looks like you forgot to put a go to next record, exit after last statement just before End Loop.
-
bruceR's post in Cannot edit fields in portal row, *sometimes* was marked as the answer
There are zero records in the table for the second layout.
Make a new record.
-
bruceR's post in This value list will not work because the field cannot be indexed error was marked as the answer
Set as stored field. Why do you perceive this as a problem?
-
bruceR's post in borders and shading not showing was marked as the answer
That is normal and is a new feature of 12.
It is controlled in Layout Setup, by whether you have set the checkbox "Delineate fields on current record only"
-
bruceR's post in Creating a new record in a different table using original data was marked as the answer
"So what would the script look like? I've tried some of the following but most won't allow them to be inputted, saying the table cannot be found"
There is no example in your file of a script where you try to set a field.
But now there is.
SOAP.zip
-
bruceR's post in Date Format in Calculation was marked as the answer
1. That function does not give the correct result. You want this:
MonthName (Date_Petition_Verified_1750_DAJ) & " " & Day (Date_Petition_Verified_1750_DAJ) & ", " & Year (Date_Petition_Verified_1750_DAJ
2. We would have to see more of your paragraph format. You may want to use let statements and substitution, for instance. Or - supposing the above calc is defined for the field LongDate then your paragraph would be something like:
Dear <<ClientName>>: Congratulations, our records shown that on <<LongDate>> you won the lottery again!
-
bruceR's post in view or print scripts all at once was marked as the answer
Or: in Script Manager, select all, print, choose print to PDF.
-
bruceR's post in FM12 Not performing 'mass' deletion? was marked as the answer
It isn't clear what you're doing or why; but you misunderstand the nature of global fields.
There is only one instance of a global field and that instance exists whether you have any records in the table or not.
You only need to use set field. Your script needs to do this for each field you wish to clear.
Set field [ gDate; ""]
Set field [ gSomethingElse; ""]
-
bruceR's post in No Import script menu in Script Manager (FMA 11) was marked as the answer
Check the bottom of the Script manager window, notice Import Script icon, positioned next to last bottom right.
-
bruceR's post in Viewing Portals in Tab Controls... was marked as the answer
For instance...
TabControlPlayground2.fmp12.zip
-
bruceR's post in Select Statement with Repeating fields was marked as the answer
"SELECT "Tab Names"[17] FROM T14_PREFERENCES"
-
bruceR's post in Limit the number of lines in the text field was marked as the answer
I agree completely with Lee; your structure needs to change.
However, you could use an auto-enter calc like this to prevent entry of more than two lines.
A user might enter a third line; but it won't be accepted.
LeftValues( Self; 2)