Multiple Field Read Problem
When I run the following query out of a CF script, no records
are returned:
<cfquery name="getTeams" datasource="#dsn#">
SELECT ID FROM teams
WHERE weight = #weight# AND division = '#division#'
</cfquery>
However, running the same query out of a MS ACCESS direct
query, the query returns the expected results. It appears to be
something with accessing more than one field at a time. Running the
following query works fine:
<cfquery name="getAllTeams" datasource="#dsn#">
SELECT ID
FROM teams
WHERE weight = #weight#
</cfquery>
Any help anyone can provide would be very much
appreciated!
then your problem isn't with multiple items in your WHERE
clause, your problem is that specific check.
Put the following code right before the <cfquery> to
verify what's in that division coldfusion variable:
<cfoutput>Division = -#division#-</cfoutput>
Note the dashes. Now copy and paste the contents in between
the dashes (including any leading/trailing spaces that may be
there) into your query in MS Access. Does that work? No? Why? are
there extra leading/trailing spaces that need to be removed? If so,
put #trim(division)# in there instead of just #division#.
Similar Messages
-
Hi Experts,
I am trying to create a LSMW for ROH type material to create materials for tcode MM01. I have 62 fields to upload but having a problem. When i am passing through step READ DATA i noticed that upto 50 fields it is getting read successfully but from 51th no field data is getting read from my .txt upload file. Let me discuss the problem in details. My 50th field is of size 3 characters. Now if i put value of size 3 characters for that field no data is getting read from 51 to 62 fields. But if i pass a value of say 1 character in the 50th field then, the first 2 characters of 51th field is getting read and the rest is blank. Can anyone explain this ? Please suggest me.
Thanks in advance.
Regards,
SuryaHi Jürgen L. ,
Thanks for your reply.
I have created the source structure using table maintenance. From recording i copied all the required fields and created the table maintenance.
The problem field is : Consumption period: forward and the technical fiieldname is VINT2.
The fields before the problem field are as follows :
MATNR C 18 Material Number
MBRSH C 1 Industry sector
MTART C 4 Material Type
KZSEL_01 C 1 Checkbox
KZSEL_02 C 1 Checkbox
KZSEL_04 C 1 Checkbox
KZSEL_05 C 1 Checkbox
KZSEL_06 C 1 Checkbox
KZSEL_07 C 1 Checkbox
KZSEL_08 C 1 Checkbox
KZSEL_09 C 1 Checkbox
KZSEL_10 C 1 Checkbox
KZSEL_11 C 1 Checkbox
KZSEL_12 C 1 Checkbox
KZSEL_13 C 1 Checkbox
KZSEL_14 C 1 Checkbox
KZSEL_15 C 1 Checkbox
KZSEL_17 C 1 Checkbox
KZSEL_03 C 1 Checkbox
WERKS C 4 Plant
LGORT C 4 Storage Location
VKORG C 4 Sales Organization
VTWEG C 2 Distribution Channel
MAKTX C 40 Material Description (Short Text)
MEINS C 3 Base Unit of Measure
MATKL C 9 Material Group
SPART C 2 Division
MTPOS_MARA C 4 General item category group
GEWEI C 3 Weight Unit
SKTOF C 1 Cash discount indicator
TAXKM_01 C 1 Tax classification material
TAXKM_02 C 1 Tax classification material
MTPOS C 4 Item category group from mate
MTVFP C 2 Checking Group for Availabili
TRAGR C 4 Transportation Group
LADGR C 4 Loading Group
PRCTR C 10 Profit Center
WEBAZ C 3 Goods Receipt Processing Time
DISMM C 2 MRP Type
DISPO C 3 MRP Controller (Materials Pla
DISLS C 2 Lot size (materials planning)
PLIFZ C 3 Planned Delivery Time in Days
FHORI C 3 Scheduling Margin Key for Flo
EISBE C 13 Safety Stock
EISLO C 13 Minimum Safety Stock
PERKZ C 1 Period Indicator
STRGR C 2 Planning strategy group
VRMOD C 1 Consumption mode
VINT1 C 3 Consumption period: backward
Fields after the problem field are as follows :
SBDKZ C 1 Dependent requirements ind
IPRKZ C 1 Period Indicator for Shelf Li
ART_01 C 8 Inspection Type
APA_01 C 1 Preferred Inspection Type
AKTIV_01 C 1 Inspection Type - Material Co
BWTTY C 1 Valuation Category
BKLAS C 4 Valuation Class
VPRSV C 1 Price control indicator
PEINH C 5 Price Unit
EKALR C 1 Material Is Costed with Quant
LOSGR C 13 Lot Size for Product Costing
Regards,
Surya -
Selecting Multiple fields from fillable form in Adobe Reader
I created a form in Adobe Pro, and want to be able to select multiple fields to cut and paste the results in other parts of the form.
Does anyone know of a way to do this?
I would appreciate any help! ThankyouGo to Form Edit mode, and then you can select multiple fields either in the Fields list, or on the page itself (using Ctrl), or by holding down the mouse and dragging the selection square over them. Then just Ctrl+C and Ctrl+V in the other page, and you'll get copies.
Edit: This can only be done in Acrobat, though. Your title talks about Reader but you post is about Acrobat... -
Problem with a recordset with multiple field
Ive a problem with Dreamweaver and SQL query.
This query works:
SELECT *
FROM table
WHERE table.field1 LIKE %MMColParam%
The MMColParam is a Request.Form("variable") from a previous
form in ASP page.
But if i try to extend to two or more fields the WHERE
function with OR, like the following query, i receive a syntax
error!
SELECT *
FROM table
WHERE table.field1 LIKE %MMColParam% OR table.field2 LIKE
%MMColParam%
Whats the right syntax format for this type of query?
Thanx a lotBen78,
If you are using the tabbed user form, then there is a <FormRef> to 'MissingFields'. This special form will build a text box and label for each Left-hand side schema attribute for every assigned resource, if that attribute is not already represented by a field on the form.... got all that?
So, if you create a new field on the form, Missing fields will not create a text box.
Check the sample/forms directory for examples of Multiselect fields. -
Indicator expression not reading multiple fields using 'OR'
Hey all, I'm using Report Builder 3.0 and I'm trying to use an indicator. I have multiple fields whose value I'm trying to determine for the indicator. For my indicator value I am trying to us 'or' statements to pick from any of these fields.
=(Fields!Interpersonal_Skills_Standard_Percentile.Value or Fields!Communication_Standard_Percentile.Value)
I would think that using this or the indicator should be looking for either the interpersonal skills or communication score. When I run my report, the indicator is only working based on the first score. If there is a value for communication that would trigger
the indicator, it does not show. So using 'OR' is not taking into account every variable, the indicator is only working based on the first variable. How can I craft this so that it's looking for all the fields that I need it to account for?
Thanks in advance,
BryanHi Bryan,
I am not very clearly about you issue, are you want to indicate the Interpersonal_Skills_Standard_Percentile and Communication_Standard_Percentile fields in one indicator? If in this case, nothing makes any sense. Because if the Interpersonal_Skills_Standard_Percentile
value is 56, Communication_Standard_Percentile value is 78. But you want the indicator to indicate the number less than 60 display red color. Then what color should the indicator show?
If you want to use indicator to indicate the Interpersonal_Skills_Standard_Percentile and Communication_Standard_Percentile field values, we can add two indicators. One for Interpersonal_Skills_Standard_Percentile field, another for Communication_Standard_Percentile
field. For more information about how to use indicator in Reporting Services, please see:
http://technet.microsoft.com/en-us/library/ee633651.aspx
If there are any misunderstanding, please elaborate the issue for further investigation.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Bind multiple fields to one node in data view
I have a need to have an interactive form where data from a single data source is displayed in multiple fields on the form. In addition these fields are open for input. I have bound the multiple fields on the form to one node in the data view. The data is being displayed in the multiple fields. This form is being routed thru workflow so various agents are updating the form. The problem that I am having is that the form only seems to allow input in the first field on the form but not the other fields that are tied to the same data source. For example, field A and field B are bound to node SUMMARY. I can add/change/delete data in field A but not in field B. After I have done some entry in field A, I can then sometimes make changes in field B. We have a requirement that field A be enabled for agent #1 but field B is invisible. Later in the workflow, agent #2 needs to make final changes on a "summary" page so agent #2 had field B enabled.
Does anyone have any idea how to correct this data entry issue so that data can be entered into either field that is tied to a single node?Having multiple fields in the backend is not an option. I will not go into the business reason in detail but the last page of the form contains a final version of data pulled from various locations on the form where the data on the other pages was input by multiple agents in the process flow. The last agent in the workflow needs to put the "finishing touches" to the data and should not have to search all over in the form to find the appropriate data fields.
I have found 2 possible solutions and would like to know if anyone can recommend one over the other.
First solution - bind multiple fields on the form to one node in the data view. This seems to work correctly on the form and data can be entered into either field, with the data being passed back to the webdynpro context in the one node in the data view (corresponding node in WD context).
Second solution - the node/attribue in the WD context must have the same name as a DDIC element. The node in the data view must have this same name. The field names on the form must also have the same name. Define the binding for the field names as Global. I have not validated that the data is passed back to the WD. -
Customised metadata - search for multiple fields?
Background: I'm logging a STACK of footage and attempting to arrange it all by a series of different keyword categories (the day the footage was shot, location, camera type, content type, key players, etc). Each category has multiple variables (ie: in the camera category the options are Sony FS700, Canon 5D, Canon 600D, GoPro). I'm adding custom fields via the PPr Project Metadata>Add Property function using a simple Boolean tickbox.
Question: Is there a way to sort and search the custom fields? For example if I wanted to pull up all the footage shot on day 5, with the Sony, that comprises of interview content with a particular person is there a way to search for all these fields? I've been able to search for one keyword if I tag the material but so far searching and organising by multiple fields has eluded me.
The long way round is to create multiple bins and/or sequences for each variable in each category by hand, but that's a little tedious and has the potential to bloat the project. Any ideas to solve the problem? I've come from FCP a few months ago so the metadata side of PPro is still something I'm getting my head around. Thanks for reading!
EDIT: I'm running PPro CC for reference and can install and use Prelude if it helped.For the time being I'm using a workaround employing titles above the footage to signify the relevant categories, and tagging significant moments in clips with markers, but it is perplexing.. Premiere seems to employ metadata in a phenomenal way - such that I haven't come across in any other mainstream editor - I just wish it had the functionality to sort and manage all that metadata it is producing beyond the search bar in the Project window.
Premiere gurus and Adobe affiniados: am I missing something obvious? -
Data merge - can you insert multiple fields at once?
Hi,
I'm using InDesign CS4.
I'm automating a series of reports using Data Merge from a CSV file. Each row in the CSV file holds the data for each individual report - 135 reports in total.
The thing is, each report contains a text comments from some research interviews - but some reports have maybe 10 or so comments, others have over 600! The fields are called comment001, comment002 ... right up to comment620 (or so).
InDesign only seems to let me insert fields from the Data Merge one at a time - it won't let me Shift-select a range of fields ... the alternative is to manually insert about 620 fields one click at a time!! Ouch...
Does anyone know of a way around this?
(Hope I've explained the problem properly!)
Cheers,
F13We see a few Adobe employees from time to time, notably Dov Isaacs and occasionally Matthew Laun (from the InDesign development team), but they are here on their own time and in an unofficial capacity, though they are extremely helpful when they do drop in. Employees are encouraged, at least on the ID team, to monitor the forums, but not necessarily to participate, so they probably do see most of the reported problems, but their jobs are to do development, not provide tech support, and I for one would rather they spend their time fixing bugs and developing new features than have them actively engaging in these threads.
And rest assured that Adobe appreciates the work that the user community is doing here. It's no secret that we are far better than the free telephone tech support, largely becasue we work with the programs every day while the suppot contractor only has relatively untrained folks reading from the knowledebase unless you can get escalated very high up the chain.
As for the feature request, by all means file it. I think you are correct that it would be nice, though I can see some issues, too, like how do you decide how multiple fields will be strung together (one after another would be the same as your concatenation problem and using separate lines might not be approprtiate in all cases, either). The place to file is Adobe - Feature Request/Bug Report Form -
Sending an Email with a cursor that returns multiple fields.
I was investigating about sending emails from apex, and I'd like to know if you can help me, I need to send an Email report with multiple fields, I m using this code :
DECLARE
CURSOR c1 is
select id,gk,creation_date,sr_count,issue_notes,sr_impacted,oldest_creation_date
from gk_report where id = (select max(id) from gk_report);
reg c1%ROWTYPE;
begin
IF (c1%ISOPEN = TRUE) THEN
CLOSE c1;
END IF;
OPEN c1;
FETCH c1 INTO reg;
CLOSE c1;
APEX_MAIL.send(
p_to => '[email protected]',
p_from => '[email protected]',
p_body => 'Hourly GK Log',
p_body_html =>
'GK: '||to_char(reg.gk)||'<br>
CREATION DATE: '||to_char(reg.CREATION_DATE,'DD-MON-YYYY HH24:MI:SS')||'<br>
SR COUNT: '||to_char(reg.SR_COUNT)||'<br>
ISSUE NOTES: '||to_char(reg.ISSUE_NOTES)||'<br>
SRs IMPACTED: '||to_char(reg.SR_IMPACTED)||'<br>
OLDEST CREATION DATE: '||to_char(reg.OLDEST_CREATION_DATE,'DD-MON-YYYY HH24:MI:SS'),
p_SUBJ => 'Hourly GK Log: ' || to_char(reg.CREATION_DATE,'DD-MON-YYYY HH24:MI:SS'),
p_cc => NULL,
p_bcc => NULL ,
p_replyto => NULL
end;
In this code there is a cursor that returns just one field, But what about if the cursor returns multiple fields, How can I insert a Loop into this code.?
Thanks,
Pablo.Hi,
DECLARE
p_collection_name VARCHAR2(9000) := 'Report_collection';
begin
IF (apex_collection.collection_exists(p_collection_name => p_collection_name)) THEN
apex_collection.delete_collection(p_collection_name => p_collection_name);
END IF;
apex_collection.create_collection_from_query(
p_collection_name => 'Report_collection',
p_query => 'SELECT DISTINCT AUD_SR AS SR, C.USER_NAME AS AUDITOR, F.ERROR_NAM , A.AUD_OBSERV AS AUDIT_OBS,D.FEEDBK_OBSERV AS FEEDBACK_OBS , E.ANALYSIS_OBS ,A.AUD_STATUS
FROM AUDIT_PROCESS A, MICC_AT_DATA B, MICC_AT_USER C, FEEDBACK_PROCESS D, MICC_AT_ANALISYS E, MICC_AT_ERROR F
WHERE B.DATA_MONTH = :P27_MONTH AND B.DATA_SR = A.AUD_SR AND C.ID = B.DATA_AUDITOR AND F.ERROR_ID = A.AUD_ERROR AND A.FEEDBACK_COD = D.FEEDBACK_COD AND D.FEEDBK_AGREE = 'N' AND E.COD_ANALYSIS = A.COD_ANALYSIS ORDER BY AUDITOR');
APEX_MAIL.send(
p_to => '[email protected]',
p_from => '[email protected]',
p_body => p_collection_name ,
p_body_html => '',
p_SUBJ => 'hi',
p_cc => NULL,
p_bcc => NULL ,
p_replyto => NULL
END;
Error
ORA-06550: line 18, column 176:
PLS-00103: Encountered the symbol " AND E.COD_ANALYSIS = A.COD_ANALYSIS ORDER BY AUDITOR" when expecting one of the following:
) , * & = - + < / > at in is mod remainder not rem
<> or != or ~= >= <= <> and or like like2
like4 likec between || multiset member submultiset
The symbol "," was substituted for " AND E.COD_ANALYSIS = A.COD_ANALYSIS ORDER BY AUDITOR" to continue.
1. DECLARE
2. p_collection_name VARCHAR2(9000) := 'Report_collection';
3. begin
I got out the 'N' quotes of the N :
DECLARE
p_collection_name VARCHAR2(9000) := 'Report_collection';
begin
IF (apex_collection.collection_exists(p_collection_name => p_collection_name)) THEN
apex_collection.delete_collection(p_collection_name => p_collection_name);
END IF;
apex_collection.create_collection_from_query(
p_collection_name => 'Report_collection',
p_query => 'SELECT DISTINCT AUD_SR AS SR, C.USER_NAME AS AUDITOR, F.ERROR_NAM , A.AUD_OBSERV AS AUDIT_OBS,D.FEEDBK_OBSERV AS FEEDBACK_OBS , E.ANALYSIS_OBS ,A.AUD_STATUS
FROM AUDIT_PROCESS A, MICC_AT_DATA B, MICC_AT_USER C, FEEDBACK_PROCESS D, MICC_AT_ANALISYS E, MICC_AT_ERROR F
WHERE B.DATA_MONTH = :P27_MONTH AND B.DATA_SR = A.AUD_SR AND C.ID = B.DATA_AUDITOR AND F.ERROR_ID = A.AUD_ERROR AND A.FEEDBACK_COD = D.FEEDBACK_COD AND D.FEEDBK_AGREE = N AND E.COD_ANALYSIS = A.COD_ANALYSIS ORDER BY AUDITOR');
APEX_MAIL.send(
p_to => '[email protected]',
p_from => '[email protected]',
p_body => p_collection_name ,
p_body_html => '',
p_SUBJ => 'hi',
p_cc => NULL,
p_bcc => NULL ,
p_replyto => NULL
END;
Error : ORA-20104: create_collection_from_query Error:ORA-20104: create_collection_from_query ParseErr:ORA-00904: "N": invalid identifier
If you can help me would be great, and if you see another mistake please let me know i have not may reach out the solution about it.
Thanks,
Pablo. -
[Forum FAQ] How to use multiple field terminators in BULK INSERT or BCP command line
Introduction
Some people want to know if we can have multiple field terminators in BULK INSERT or BCP commands, and how to implement multiple field terminators in BULK INSERT or BCP commands.
Solution
For character data fields, optional terminating characters allow you to mark the end of each field in a data file with a field terminator, as well as the end of each row with a row terminator. If a terminator character occurs within the data, it is interpreted
as a terminator, not as data, and the data after that character is interpreted and belongs to the next field or record. I have done a test, if you use BULK INSERT or BCP commands and set the multiple field terminators, you can refer to the following command.
In Windows command line,
bcp <Databasename.schema.tablename> out “<path>” –c –t –r –T
For example, you can export data from the Department table with bcp command and use the comma and colon (,:) as one field terminator.
bcp AdventureWorks.HumanResources.Department out C:\myDepartment.txt -c -t ,: -r \n –T
The txt file as follows:
However, if you want to bcp by using multiple field terminators the same as the following command, which will still use the last terminator defined by default.
bcp AdventureWorks.HumanResources.Department in C:\myDepartment.txt -c -t , -r \n -t: –T
The txt file as follows:
When multiple field terminators means multiple fields, you use the below comma separated format,
column1,,column2,,,column3
In this occasion, you only separate 3 fields (column1, column2 and column3). In fact, after testing, there will be 6 fields here. That is the significance of a field terminator (comma in this case).
Meanwhile, using BULK INSERT to import the data of the data file into the SQL table, if you specify terminator for BULK import, you can only set multiple characters as one terminator in the BULK INSERT statement.
USE <testdatabase>;
GO
BULK INSERT <your table> FROM ‘<Path>’
WITH (
DATAFILETYPE = ' char/native/ widechar /widenative',
FIELDTERMINATOR = ' field_terminator',
For example, using BULK INSERT to import the data of C:\myDepartment.txt data file into the DepartmentTest table, the field terminator (,:) must be declared in the statement.
In SQL Server Management Studio Query Editor:
BULK INSERT AdventureWorks.HumanResources.DepartmentTest FROM ‘C:\myDepartment.txt’
WITH (
DATAFILETYPE = ‘char',
FIELDTERMINATOR = ‘,:’,
The new table contains like as follows:
We could not declare multiple field terminators (, and :) in the Query statement, as the following format, a duplicate error will occur.
In SQL Server Management Studio Query Editor:
BULK INSERT AdventureWorks.HumanResources.DepartmentTest FROM ‘C:\myDepartment.txt’
WITH (
DATAFILETYPE = ‘char',
FIELDTERMINATOR = ‘,’,
FIELDTERMINATOR = ‘:’
However, if you want to use a data file with fewer or more fields, we can implement via setting extra field length to 0 for fewer fields or omitting or skipping more fields during the bulk copy procedure.
More Information
For more information about filed terminators, you can review the following article.
http://technet.microsoft.com/en-us/library/aa196735(v=sql.80).aspx
http://social.technet.microsoft.com/Forums/en-US/d2fa4b1e-3bd4-4379-bc30-389202a99ae2/multiple-field-terminators-in-bulk-insert-or-bcp?forum=sqlgetsta
http://technet.microsoft.com/en-us/library/ms191485.aspx
http://technet.microsoft.com/en-us/library/aa173858(v=sql.80).aspx
http://technet.microsoft.com/en-us/library/aa173842(v=sql.80).aspx
Applies to
SQL Server 2012
SQL Server 2008R2
SQL Server 2005
SQL Server 2000
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Thanks,
Is this a supported scenario, or does it use unsupported features?
For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
in a supported way?
Thanks! Josh -
How do you get a line with MULTIPLE fields to WRAP ?
How do you get a line with MULTIPLE fields to WRAP ?
Good afternoon everyone...
THE PROBLEM: Why doesn’t a line with multiple fields WRAP?
HYPOTHETICAL EXAMPLE/WHAT I”D LIKE TO SEE
If I have 2 fields on a line (this is now a hypothetical example and nothing to do with my actual report)….let’s call them field A and field B. And if field A has values of all ‘X’ and field B has values of all ‘Y’…then….the normal case would be (ignore dots – only for spacing):
A……………………… B
XXXXXXXXXXXXXXXXXX YYYYYYYYYYYYYYYYY
But what if A is too long? I would want to see B wrap onto the next line like this:
A……………………………………………………B
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX YYYYYY
YYYYYYYYYYYYY
And similarly….if B is extra long, can the line print as:
A………………………. B
XXXXXXXXXXXXXXXXXXX YYYYYYYYYYYYYYYYYYYYYYYYYYY
YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
I don’t want the case where B is long and I get:
A………………… …B…
XXXXXXXXXXXXXXXXX YYYYYYYYYYYYYYYYYYYYYY
………………………..YYYYYYYYYYYYYYYYYYYYY
I can see how you can wrap an individual field like that…but how can you WRAP a line of[b] fields within the frame so it wraps to the BEGINNING of the frame on next line?
My SPECIFIC CASE
I have a report that I have stripped down to a simple structure for the purposes of this explanation.
My DATA MODEL has the main QUERY (for plant family and species data). The columns of the query are divided into 2 groups. The 1st GROUP contains the family data. Below that is the rest of the species data in a 2nd GROUP.
Linking from the 2nd species group (above) is a new QUERY to extract REGION data based on the common key field. Under this 2nd query is another group with all the REGION columns.
The LAYOUT MODEL has a group frame (the main , base one)
On top of this is a repeating frame based on the 1st group (family data).
On top of this is another repeating frame for the 2nd group (species data).
On top of this is 2 Frames on the same line line. The 1st frame contains columns from the species group .
The 2nd frame on this line is a repeating frame. The PRINT DIRECTION for this frame is ACROSS/DOWN. It repeats details of the REGION where the species is found. These columns come from this group come from the REGION QUERY and GROUP.
All fields on the report line have variable horizontal elasticity.
The problem is that when there is too much data on the line, it does NOT WRAP to the 2nd line.. It TRUNCATES.
Can the line be made to WRAP????..
In my current report, 1 of 2 things is happening:
1) All fields print on the line until it hits the page boundary and then it just stops. Truncated!
2) All fields print on the current line, then Oracle Reports throws a new page to print the REMAINDER of the long, input line
But I would like a LONG line to continue printing onto the following line of the same page.
I have tried all combinations of the elasticity fields and the ‘ADVANCED LAYOUT’ properties.
I have been focussing my attention with this problem on the frames .
We are using REPORT BUILDER V 6.0.8.26.0
Thankyou to anyone who may offer assistance.
Tony Calabrese.Steve,
you gain 1 thing, but you lose something else!
This thing is SO frustrating!
Hey Steve! Good afternoon.
I've done as you suggested....I have a long text boilerplate item - the only 1 on the line...and it has all the column in it.
So it looks like:
&col1 &col2 &col3 &col4 &col5 etc etc etc
And the line expands nicely to each field's requirements.
And when it gets to the right page boundary...it WRAPS to the next line! Beautiful!!!
The only thing is that...when I had individual fields across the line I was able to create format triggers for those fields. And in doing so I was able to reduce the font and change the justification. I had to do that because some of the fields had to appear superscripted.
So I wanted something like (ignore the dots):
...................................ppppp
AAAA BBBB CCCCC DDDD EEEE FFFFFF
So the field of 'ppppp' appeared slightly higher on the line than the other fields...
I can't see how I can do this with a single TEXT field containing all the &COL values.
Have you ever come across anything like this?
Thankyou again,
Tony Calabrese 12/4/2007 -
How do I move multiple fields from the end of the document to another section?
For some reason when I click Cntrl+V, it pastes the multiple fields at the end of my form rather than at the point of paste within the document.
Select all of the fields that you wish to copy then use Ctrl-C. Scroll to the part of the form where you want to paste the copied fields. Select the field that you want the paste to occur after (ie, the pasted fields will appear after/below the selected field) and use Ctrl-V.
Jeff Canepa
Software Quality Engineer
Adobe Systems, Inc.
[email protected] -
How do I make multiple fields dependent on a checkbox?
I've got about 10 fields in an adobe form that I want to appear and be accessible if a checkbox is checked. If the checkbox isn't checked, then I don't want them accessible or visible. Is this possible?
Sure it is. The code can be made much simpler if you use hierarchical naming for the fields. For example, suppose all of the fields that you want to show/hide have a prefix of "group1.", (e.g., group1.name, group1.address, group1.state, etc.), then you can use the following code in the Mouse Up event of the check box:
// Get the value of this check box
var v = event.target.value;
// Show/Hide the group1 fields depending on the value of this check box
getField("group1").display = v === "Off" ? display.hidden : display.visible
It's often a good idea to reset the fields whenever they are hidden or shown, especially if the form data will be exported, so that the form data is consistent with the state of the form. If you want to do this, you could add this line to the beginning of the script:
// Reset the group1 fields
resetForm(["group1"]);
If you don't use such a naming system, the second line of code would have to be repeated for every field in the group, using the indivudual field names of course, and the resetForm statement would have to include multiple array elements for the names of the individual fields. -
How can I create a search plugin for multiple fields
There are a number of sites that have search capabilities but they require entries into multiple fields.
One such site is for instance the IBM Employee directory.
(http://www.ibm.com/contact/employees/servlets/lookup)
On this site - in order to get usable results - I have to enter both First name and Last name of the employee I'm looking for.
I created a search plugin for the site, however I wasn't able to split the entered text into two parts and provide them as separate fields for the form.
Is there a way to do this?
Regards,
ImreHi,
This is excellent. Not search-plugin though but but this is as good as a search-plugin. (Even better, as I haven't seen any solution with the plugins for the problem.)
I didn't know that it was possible to use javascript as bookmark location.
Thanks,
Imre -
How to make users to select the date from calendar control only, by my making the date text field read only (don't want to let users type the date) in date time control in external list in sharepoint 2010. I am looking for a solution which can
be done through sharepoint desginer / out of the box.
thanks.Congratulate you got the solution by yourself. I am new to a
WinForms calendar component, I feel so helpless on many problems even I'd read many tutorials. This question on the
calendar date selection did me a great favor. Cheers.
Maybe you are looking for
-
How do I remove images from Notes app?
How do I remove images from Notes app? I sometimes find that, when cutting and pasting text from the web, an image is also copied (pretty much at all times I try and avoid this, but sometimes the selection process doesn't allow for fine enough contro
-
My s5610f Slimline PC won't boot up or show video. The message from monitor, on start-up shows "no signal", and monitor goes to sleep. Any solutions?
-
Regarding GOS create attachment
Hi all, I have a issue in my program. I am trying to attach a .doc, .pdf document to a customs declaration document. CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = p_file TABLES data_tab = lt_doc_content. ENDCASE. I am usin
-
Dispatcher Running But no Server Connected---- Fluctuate
Hi All, I found a strange problem in my QA system. My QA system fluctuates most of the time. It Runs ok but just between 5-10 min after running successfully it suddenly goes down and the connection to the server is lost. The ABAP stack runs absolu
-
Files are going missing, im affraid i need to reformat
recently the computers been slowing down. then all of a sudden all my pictures dissappeared off the computer including the save folders for iphoto and photobooth. and i cannot save new folders in my picture folder. also i cannot open pdf files anymor